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
16 lines
495 B
Plaintext
16 lines
495 B
Plaintext
import { DirectusClient } from "../types/client.cjs";
|
|
import { StaticTokenClient } from "./types.cjs";
|
|
|
|
//#region src/auth/static.d.ts
|
|
|
|
/**
|
|
* Creates a client to authenticate with Directus using a static token.
|
|
*
|
|
* @param token static token.
|
|
*
|
|
* @returns A Directus static token client.
|
|
*/
|
|
declare const staticToken: (access_token: string) => <Schema>(_client: DirectusClient<Schema>) => StaticTokenClient<Schema>;
|
|
//#endregion
|
|
export { staticToken };
|
|
//# sourceMappingURL=static.d.cts.map |