@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
17 lines • 654 B
text/typescript
import { TableType } from "../schema/types.mjs";
import { ServiceResponse } from "../../../utils/services/types.mjs";
//#region src/libs/collection/helpers/build-table-name.d.ts
/**
* Builds out the table name based on its type and available keys
*/
declare const buildTableName: <R extends string>(type: TableType, keys: {
collection: string;
brick?: string;
fieldPath?: Array<string>;
}, tableNameByteLimit: number | null) => Awaited<ServiceResponse<{
/** The hashed table name */name: R; /** The raw, readable table name */
rawName: R;
}>>;
//#endregion
export { buildTableName as default };
//# sourceMappingURL=build-table-name.d.mts.map