Files
klz-cables.com/.pnpm-store/v10/files/06/08b3d276e16f8b2035c7bacf8dda389ed97d9f93e355a8ba432a6b90b6681b4506ed9fc1b2ee53d7871d8572752dbef3594228fb5393362c573a7ad7131679
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

19 lines
833 B
Plaintext

import { DirectusRelation } from "../../../schema/relation.cjs";
import { NestedPartial } from "../../../types/utils.cjs";
import { ApplyQueryFields } from "../../../types/output.cjs";
import { RestCommand } from "../../types.cjs";
//#region src/rest/commands/create/relations.d.ts
type CreateRelationOutput<Schema, Item extends object = DirectusRelation<Schema>> = ApplyQueryFields<Schema, Item, '*'>;
/**
* Create a new relation.
*
* @param item The relation to create
* @param query Optional return data query
*
* @returns Returns the relation object for the created relation.
*/
declare const createRelation: <Schema>(item: NestedPartial<DirectusRelation<Schema>>) => RestCommand<CreateRelationOutput<Schema>, Schema>;
//#endregion
export { CreateRelationOutput, createRelation };
//# sourceMappingURL=relations.d.cts.map