Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 193x 193x 193x 193x 193x 193x 193x 11x 2x 1x 9x 7x 7x 2x 11x | import * as AppConfig from './app_configuration.js'; import * as Organisation from './organisation.js'; import * as User from './user.js'; export function listMetaEvents() { return ['META_SERVICE_LIFECYCLE', 'META_DEPLOYMENT_RESULT', 'META_SERVICE_MANAGEMENT', 'META_CREDITS']; } export async function getOwnerAndApp(org, useLinkedApp) { if (org != null) { return { ownerId: await Organisation.getId(org) }; } if (useLinkedApp) { return AppConfig.getAppDetails({}); } return { ownerId: await User.getCurrentId() }; } |