UNPKG

@appsemble/lang-sdk

Version:

Language SDK for Appsemble

11 lines 382 B
import { schemas } from './index.js'; const [, kinds] = schemas.ActionDefinition.allOf; export const allActions = new Set(kinds.anyOf .map(({ $ref }) => { const ref = $ref.split('/').at(-1); const action = schemas[ref]; const name = (action.properties?.type).enum?.[0]; return name; }) .filter((x) => x !== undefined)); //# sourceMappingURL=allActions.js.map