Files
klz-cables.com/.pnpm-store/v10/files/14/7b9b78d54cb5ff652b43d8182eaf7dcd79827b3ac614a2ae8099728eaaf16cf6e466ce391983ad1bf3e3a76a448b34c29e26da6bc77f09b42af8615a90041e
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.4 KiB
Plaintext

import { DirectusComment } from "../../../schema/comment.cjs";
import { NestedPartial } from "../../../types/utils.cjs";
import { ApplyQueryFields } from "../../../types/output.cjs";
import { Query } from "../../../types/query.cjs";
import { RestCommand } from "../../types.cjs";
//#region src/rest/commands/create/comments.d.ts
type CreateCommentOutput<Schema, TQuery extends Query<Schema, Item>, Item extends object = DirectusComment<Schema>> = ApplyQueryFields<Schema, Item, TQuery['fields']>;
/**
* Create multiple new comments.
*
* @param items The comments to create
* @param query Optional return data query
*
* @returns Returns the comment object for the created comment.
*/
declare const createComments: <Schema, const TQuery extends Query<Schema, DirectusComment<Schema>>>(items: NestedPartial<DirectusComment<Schema>>[], query?: TQuery) => RestCommand<CreateCommentOutput<Schema, TQuery>[], Schema>;
/**
* Create a new comment.
*
* @param item The comment to create
* @param query Optional return data query
*
* @returns Returns the comment object for the created comment.
*/
declare const createComment: <Schema, const TQuery extends Query<Schema, DirectusComment<Schema>>>(item: NestedPartial<DirectusComment<Schema>>, query?: TQuery) => RestCommand<CreateCommentOutput<Schema, TQuery>, Schema>;
//#endregion
export { CreateCommentOutput, createComment, createComments };
//# sourceMappingURL=comments.d.cts.map