d61511262e
* Add folder for api settings * Init create api key page * Update create api key page * Implement api call to create apiKey * Add create api key mutation * Get id when creating apiKey * Display created Api Key * Add delete api key button * Remove button from InputText * Update stuff * Add test for ApiDetail * Fix type * Use recoil instead of router state * Remane route paths * Remove online return * Move and test date util * Remove useless Component * Rename ApiKeys paths * Rename ApiKeys files * Add input text info testing * Rename hooks to webhooks * Remove console error * Add tests to reach minimum coverage
12 lines
296 B
TypeScript
12 lines
296 B
TypeScript
export const ExpirationDates: {
|
|
value: number;
|
|
label: string;
|
|
}[] = [
|
|
{ label: '15 days', value: 15 },
|
|
{ label: '30 days', value: 30 },
|
|
{ label: '90 days', value: 90 },
|
|
{ label: '1 year', value: 365 },
|
|
{ label: '2 years', value: 2 * 365 },
|
|
{ label: 'Never', value: 10 * 365 },
|
|
];
|