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
18 lines
823 B
Plaintext
18 lines
823 B
Plaintext
import { DirectusSettings } from "../../../schema/settings.cjs";
|
|
import { ApplyQueryFields } from "../../../types/output.cjs";
|
|
import { Query } from "../../../types/query.cjs";
|
|
import { RestCommand } from "../../types.cjs";
|
|
|
|
//#region src/rest/commands/read/settings.d.ts
|
|
type ReadSettingOutput<Schema, TQuery extends Query<Schema, Item>, Item extends object = DirectusSettings<Schema>> = ApplyQueryFields<Schema, Item, TQuery['fields']>;
|
|
/**
|
|
* Retrieve Settings.
|
|
*
|
|
* @param query The query parameters
|
|
*
|
|
* @returns Returns the settings object.
|
|
*/
|
|
declare const readSettings: <Schema, const TQuery extends Query<Schema, DirectusSettings<Schema>>>(query?: TQuery) => RestCommand<ReadSettingOutput<Schema, TQuery>, Schema>;
|
|
//#endregion
|
|
export { ReadSettingOutput, readSettings };
|
|
//# sourceMappingURL=settings.d.cts.map |