119014f86d
- simplify the base application template - remove --exhaustive option and replace by a --example option like in next.js https://nextjs.org/docs/app/api-reference/cli - Fix some bugs and logs - add a post-card app in twenty-apps/examples/
31 lines
939 B
TypeScript
31 lines
939 B
TypeScript
import { defineApplication } from 'twenty-sdk';
|
|
import { DEFAULT_ROLE_UNIVERSAL_IDENTIFIER } from './src/roles/default-function.role';
|
|
|
|
export default defineApplication({
|
|
universalIdentifier: '4ec0391d-18d5-411c-b2f3-266ddc1c3ef7',
|
|
displayName: 'Rich App',
|
|
description: 'A simple rich app',
|
|
icon: 'IconWorld',
|
|
applicationVariables: {
|
|
DEFAULT_RECIPIENT_NAME: {
|
|
universalIdentifier: '19e94e59-d4fe-4251-8981-b96d0a9f74de',
|
|
description: 'Default recipient name for postcards',
|
|
value: 'Alex Karp',
|
|
isSecret: false,
|
|
},
|
|
},
|
|
serverVariables: {
|
|
POSTCARD_API_KEY: {
|
|
description: 'API key for the postcard printing service',
|
|
isSecret: true,
|
|
isRequired: true,
|
|
},
|
|
POSTCARD_SENDER_NAME: {
|
|
description: 'Default sender name on postcards',
|
|
isSecret: false,
|
|
isRequired: false,
|
|
},
|
|
},
|
|
defaultRoleUniversalIdentifier: DEFAULT_ROLE_UNIVERSAL_IDENTIFIER,
|
|
});
|