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
1.1 KiB
Plaintext
18 lines
1.1 KiB
Plaintext
import type { IncomingAuthType, LoginWithUsernameOptions } from '../../auth/types.js';
|
|
import type { CollectionConfig } from './types.js';
|
|
/**
|
|
* @deprecated - remove in 4.0. This is error-prone, as mutating this object will affect any objects that use the defaults as a base.
|
|
*/
|
|
export declare const defaults: Partial<CollectionConfig>;
|
|
export declare const addDefaultsToCollectionConfig: (collection: CollectionConfig) => CollectionConfig;
|
|
/**
|
|
* @deprecated - remove in 4.0. This is error-prone, as mutating this object will affect any objects that use the defaults as a base.
|
|
*/
|
|
export declare const authDefaults: IncomingAuthType;
|
|
export declare const addDefaultsToAuthConfig: (auth: IncomingAuthType) => IncomingAuthType;
|
|
/**
|
|
* @deprecated - remove in 4.0. This is error-prone, as mutating this object will affect any objects that use the defaults as a base.
|
|
*/
|
|
export declare const loginWithUsernameDefaults: LoginWithUsernameOptions;
|
|
export declare const addDefaultsToLoginWithUsernameConfig: (loginWithUsername: LoginWithUsernameOptions) => LoginWithUsernameOptions;
|
|
//# sourceMappingURL=defaults.d.ts.map |