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
13 lines
572 B
Plaintext
13 lines
572 B
Plaintext
import type { SanitizedConfig } from '../config/types.js';
|
|
/**
|
|
* While the default ID is determined by the db adapter, it can still differ for a collection if they
|
|
* define a custom ID field. This builds a map of collection slugs to their ID field type.
|
|
* @param defaultIDType as defined by the database adapter
|
|
*/
|
|
export declare function getCollectionIDFieldTypes({ config, defaultIDType, }: {
|
|
config: SanitizedConfig;
|
|
defaultIDType: 'number' | 'text';
|
|
}): {
|
|
[key: string]: 'number' | 'string';
|
|
};
|
|
//# sourceMappingURL=getCollectionIDFieldTypes.d.ts.map |