The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
type ApiKeyDataSeed = {
id: string;
name: string;
expiresAt: Date;
};
export const API_KEY_DATA_SEED_COLUMNS: (keyof ApiKeyDataSeed)[] = [
'id',
'name',
'expiresAt',
];
export const API_KEY_DATA_SEED_IDS = {
ID_1: '20202020-f401-4d8a-a731-64d007c27bad',
};
export const API_KEY_DATA_SEEDS: ApiKeyDataSeed[] = [
{
id: API_KEY_DATA_SEED_IDS.ID_1,
name: 'My api key',
expiresAt: new Date(
new Date().getTime() + 1000 * 60 * 60 * 24 * 365 * 100, // 100 years from now
),
},
];