Files
klz-cables.com/.pnpm-store/v10/files/3a/7026994f8646b4f478e71200d3a396ef09eb79f7659b75080f63ef7ec6d0c0f1f18b03f4db0c1b92c066572775250ec1dfce497e737ac883469074e9ef968c
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

29 lines
1.5 KiB
Plaintext

import { DirectusVersion } from "../../../schema/version.js";
import { NestedPartial } from "../../../types/utils.js";
import { ApplyQueryFields } from "../../../types/output.js";
import { Query } from "../../../types/query.js";
import { RestCommand } from "../../types.js";
//#region src/rest/commands/create/versions.d.ts
type CreateContentVersionOutput<Schema, TQuery extends Query<Schema, Item>, Item extends object = DirectusVersion<Schema>> = ApplyQueryFields<Schema, Item, TQuery['fields']>;
/**
* Create multiple new Content Versions.
*
* @param items The Content Versions to create
* @param query Optional return data query
*
* @returns Returns the Content Version object for the created Content Versions.
*/
declare const createContentVersions: <Schema, const TQuery extends Query<Schema, DirectusVersion<Schema>>>(items: NestedPartial<DirectusVersion<Schema>>[], query?: TQuery) => RestCommand<CreateContentVersionOutput<Schema, TQuery>[], Schema>;
/**
* Create a new Content Version.
*
* @param item The Content Version to create
* @param query Optional return data query
*
* @returns Returns the Content Version object for the created Content Version.
*/
declare const createContentVersion: <Schema, const TQuery extends Query<Schema, DirectusVersion<Schema>>>(item: NestedPartial<DirectusVersion<Schema>>, query?: TQuery) => RestCommand<CreateContentVersionOutput<Schema, TQuery>, Schema>;
//#endregion
export { CreateContentVersionOutput, createContentVersion, createContentVersions };
//# sourceMappingURL=versions.d.ts.map