From b25a9f23da95104c4f31aa16973fc29031b92652 Mon Sep 17 00:00:00 2001 From: "lluis@protofy.xyz" Date: Thu, 31 Oct 2024 13:56:27 +0100 Subject: [PATCH] Add tokens bundles --- packages/protolib/src/bundles/coreApis.ts | 4 +++- packages/protolib/src/bundles/objects.ts | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/protolib/src/bundles/coreApis.ts b/packages/protolib/src/bundles/coreApis.ts index f0570615a..53a745bcb 100644 --- a/packages/protolib/src/bundles/coreApis.ts +++ b/packages/protolib/src/bundles/coreApis.ts @@ -17,6 +17,7 @@ import { AssistantAPI } from './assistant/assistantAPI'; import { MasksAPI } from './visualui/masksAPI'; import { LogsAPI } from './logs/logsAPI' import { ServicesAPI } from './services/servicesAPI' +import { TokensAPI } from './tokens/tokensAPI' import { StateMachinesDefinitionsApi } from './stateMachines/stateMachineDefinitions/stateMachineDefinitionApi' import { PackagesAPI } from './packages/packagesAPI' import { FlowAPI } from './flow/flowAPI'; @@ -43,7 +44,8 @@ export const AdminAPIBundles = (app, context) => { AssistantAPI(app, context) MasksAPI(app, context) LogsAPI(app, context) - ServicesAPI(app, context) + ServicesAPI(app, context) + TokensAPI(app, context) PackagesAPI(app, context) StateMachinesDefinitionsApi(app, context), FlowAPI(app, context), diff --git a/packages/protolib/src/bundles/objects.ts b/packages/protolib/src/bundles/objects.ts index c4434ab56..803d91337 100644 --- a/packages/protolib/src/bundles/objects.ts +++ b/packages/protolib/src/bundles/objects.ts @@ -6,6 +6,7 @@ import { ObjectModel } from './objects/objectsSchemas' import { WorkspaceModel } from './workspaces/WorkspaceModel' import { APIModel } from './apis/APISchemas' import { PageModel } from './pages/pagesSchemas' +import { TokenModel } from './tokens/tokensSchemas' export default { event: EventModel, @@ -16,4 +17,5 @@ export default { workspace: WorkspaceModel, api: APIModel, page: PageModel, + token: TokenModel } \ No newline at end of file