7f1e69740a
First PR to implement application tokens - add new application role in twenty-server - move duplicated constants and types to twenty-shared - will add role configuration utils into twenty-sdk in another PR
15 lines
399 B
TypeScript
15 lines
399 B
TypeScript
import { type SyncableEntityOptions } from '@/application/syncable-entity-options.type';
|
|
|
|
type ApplicationVariable = SyncableEntityOptions & {
|
|
value?: string;
|
|
description?: string;
|
|
isSecret?: boolean;
|
|
};
|
|
|
|
export type ApplicationConfig = SyncableEntityOptions & {
|
|
displayName?: string;
|
|
description?: string;
|
|
icon?: string;
|
|
applicationVariables?: Record<string, ApplicationVariable>;
|
|
};
|