diff --git a/.agents/skills/cli-compute/references/function-deployment.md b/.agents/skills/cli-compute/references/function-deployment.md index 7c2c6fcb0..c1ec3743d 100644 --- a/.agents/skills/cli-compute/references/function-deployment.md +++ b/.agents/skills/cli-compute/references/function-deployment.md @@ -12,8 +12,8 @@ csdk function-deployment list --where.. --orderBy csdk function-deployment list --limit 10 --after csdk function-deployment find-first --where.. csdk function-deployment get --id -csdk function-deployment create --databaseId --image --namespaceId [--annotations ] [--concurrency ] [--errorCount ] [--handlerName ] [--imageVersion ] [--labels ] [--lastError ] [--lastErrorAt ] [--resources ] [--revision ] [--scaleMax ] [--scaleMin ] [--serviceName ] [--serviceUrl ] [--status ] [--timeoutSeconds ] -csdk function-deployment update --id [--annotations ] [--concurrency ] [--databaseId ] [--errorCount ] [--handlerName ] [--image ] [--imageVersion ] [--labels ] [--lastError ] [--lastErrorAt ] [--namespaceId ] [--resources ] [--revision ] [--scaleMax ] [--scaleMin ] [--serviceName ] [--serviceUrl ] [--status ] [--timeoutSeconds ] +csdk function-deployment create --databaseId --image --namespaceId [--annotations ] [--concurrency ] [--errorCount ] [--handlerName ] [--imageVersion ] [--labels ] [--lastError ] [--lastErrorAt ] [--realm ] [--resources ] [--revision ] [--scaleMax ] [--scaleMin ] [--serviceName ] [--serviceUrl ] [--status ] [--timeoutSeconds ] +csdk function-deployment update --id [--annotations ] [--concurrency ] [--databaseId ] [--errorCount ] [--handlerName ] [--image ] [--imageVersion ] [--labels ] [--lastError ] [--lastErrorAt ] [--namespaceId ] [--realm ] [--resources ] [--revision ] [--scaleMax ] [--scaleMin ] [--serviceName ] [--serviceUrl ] [--status ] [--timeoutSeconds ] csdk function-deployment delete --id ``` @@ -58,7 +58,7 @@ csdk function-deployment list --where.id.equalTo --orderBy ID_ASC ### Create a functionDeployment ```bash -csdk function-deployment create --databaseId --image --namespaceId [--annotations ] [--concurrency ] [--errorCount ] [--handlerName ] [--imageVersion ] [--labels ] [--lastError ] [--lastErrorAt ] [--resources ] [--revision ] [--scaleMax ] [--scaleMin ] [--serviceName ] [--serviceUrl ] [--status ] [--timeoutSeconds ] +csdk function-deployment create --databaseId --image --namespaceId [--annotations ] [--concurrency ] [--errorCount ] [--handlerName ] [--imageVersion ] [--labels ] [--lastError ] [--lastErrorAt ] [--realm ] [--resources ] [--revision ] [--scaleMax ] [--scaleMin ] [--serviceName ] [--serviceUrl ] [--status ] [--timeoutSeconds ] ``` ### Get a functionDeployment by id diff --git a/.agents/skills/cli-compute/references/platform-function-deployment.md b/.agents/skills/cli-compute/references/platform-function-deployment.md index 2fecca87b..7b1950c34 100644 --- a/.agents/skills/cli-compute/references/platform-function-deployment.md +++ b/.agents/skills/cli-compute/references/platform-function-deployment.md @@ -12,8 +12,8 @@ csdk platform-function-deployment list --where.. --orderBy csdk platform-function-deployment find-first --where.. csdk platform-function-deployment get --id -csdk platform-function-deployment create --image --namespaceId [--annotations ] [--concurrency ] [--errorCount ] [--handlerName ] [--imageVersion ] [--labels ] [--lastError ] [--lastErrorAt ] [--resources ] [--revision ] [--scaleMax ] [--scaleMin ] [--serviceName ] [--serviceUrl ] [--status ] [--timeoutSeconds ] -csdk platform-function-deployment update --id [--annotations ] [--concurrency ] [--errorCount ] [--handlerName ] [--image ] [--imageVersion ] [--labels ] [--lastError ] [--lastErrorAt ] [--namespaceId ] [--resources ] [--revision ] [--scaleMax ] [--scaleMin ] [--serviceName ] [--serviceUrl ] [--status ] [--timeoutSeconds ] +csdk platform-function-deployment create --image --namespaceId [--annotations ] [--concurrency ] [--errorCount ] [--handlerName ] [--imageVersion ] [--labels ] [--lastError ] [--lastErrorAt ] [--realm ] [--resources ] [--revision ] [--scaleMax ] [--scaleMin ] [--serviceName ] [--serviceUrl ] [--status ] [--timeoutSeconds ] +csdk platform-function-deployment update --id [--annotations ] [--concurrency ] [--errorCount ] [--handlerName ] [--image ] [--imageVersion ] [--labels ] [--lastError ] [--lastErrorAt ] [--namespaceId ] [--realm ] [--resources ] [--revision ] [--scaleMax ] [--scaleMin ] [--serviceName ] [--serviceUrl ] [--status ] [--timeoutSeconds ] csdk platform-function-deployment delete --id ``` @@ -58,7 +58,7 @@ csdk platform-function-deployment list --where.id.equalTo --orderBy ID_A ### Create a platformFunctionDeployment ```bash -csdk platform-function-deployment create --image --namespaceId [--annotations ] [--concurrency ] [--errorCount ] [--handlerName ] [--imageVersion ] [--labels ] [--lastError ] [--lastErrorAt ] [--resources ] [--revision ] [--scaleMax ] [--scaleMin ] [--serviceName ] [--serviceUrl ] [--status ] [--timeoutSeconds ] +csdk platform-function-deployment create --image --namespaceId [--annotations ] [--concurrency ] [--errorCount ] [--handlerName ] [--imageVersion ] [--labels ] [--lastError ] [--lastErrorAt ] [--realm ] [--resources ] [--revision ] [--scaleMax ] [--scaleMin ] [--serviceName ] [--serviceUrl ] [--status ] [--timeoutSeconds ] ``` ### Get a platformFunctionDeployment by id diff --git a/.agents/skills/cli-modules/references/route-module.md b/.agents/skills/cli-modules/references/route-module.md index ee1a02a01..4669fd558 100644 --- a/.agents/skills/cli-modules/references/route-module.md +++ b/.agents/skills/cli-modules/references/route-module.md @@ -12,8 +12,8 @@ csdk route-module list --where.. --orderBy csdk route-module list --limit 10 --after csdk route-module find-first --where.. csdk route-module get --id -csdk route-module create --databaseId --scope [--apiName ] [--catalogModuleId ] [--defaultPermissions ] [--domainModuleId ] [--entityField ] [--entityTableId ] [--hostnameBindingsTableId ] [--hostnameBindingsTableName ] [--policies ] [--prefix ] [--privateApiName ] [--privateSchemaId ] [--privateSchemaName ] [--provisions ] [--publicSchemaName ] [--resolverFunctionName ] [--routeBindingsTableId ] [--routeBindingsTableName ] [--routesTableId ] [--routesTableName ] [--schemaId ] -csdk route-module update --id [--apiName ] [--catalogModuleId ] [--databaseId ] [--defaultPermissions ] [--domainModuleId ] [--entityField ] [--entityTableId ] [--hostnameBindingsTableId ] [--hostnameBindingsTableName ] [--policies ] [--prefix ] [--privateApiName ] [--privateSchemaId ] [--privateSchemaName ] [--provisions ] [--publicSchemaName ] [--resolverFunctionName ] [--routeBindingsTableId ] [--routeBindingsTableName ] [--routesTableId ] [--routesTableName ] [--schemaId ] [--scope ] +csdk route-module create --databaseId --scope [--apiName ] [--appLinksFunctionName ] [--catalogModuleId ] [--deepLinkFunctionName ] [--defaultPermissions ] [--domainModuleId ] [--entityField ] [--entityTableId ] [--hostnameBindingsTableId ] [--hostnameBindingsTableName ] [--policies ] [--prefix ] [--privateApiName ] [--privateSchemaId ] [--privateSchemaName ] [--provisions ] [--publicSchemaName ] [--resolverFunctionName ] [--routeBindingsTableId ] [--routeBindingsTableName ] [--routesTableId ] [--routesTableName ] [--schemaId ] +csdk route-module update --id [--apiName ] [--appLinksFunctionName ] [--catalogModuleId ] [--databaseId ] [--deepLinkFunctionName ] [--defaultPermissions ] [--domainModuleId ] [--entityField ] [--entityTableId ] [--hostnameBindingsTableId ] [--hostnameBindingsTableName ] [--policies ] [--prefix ] [--privateApiName ] [--privateSchemaId ] [--privateSchemaName ] [--provisions ] [--publicSchemaName ] [--resolverFunctionName ] [--routeBindingsTableId ] [--routeBindingsTableName ] [--routesTableId ] [--routesTableName ] [--schemaId ] [--scope ] csdk route-module delete --id ``` @@ -58,7 +58,7 @@ csdk route-module list --where.id.equalTo --orderBy ID_ASC ### Create a routeModule ```bash -csdk route-module create --databaseId --scope [--apiName ] [--catalogModuleId ] [--defaultPermissions ] [--domainModuleId ] [--entityField ] [--entityTableId ] [--hostnameBindingsTableId ] [--hostnameBindingsTableName ] [--policies ] [--prefix ] [--privateApiName ] [--privateSchemaId ] [--privateSchemaName ] [--provisions ] [--publicSchemaName ] [--resolverFunctionName ] [--routeBindingsTableId ] [--routeBindingsTableName ] [--routesTableId ] [--routesTableName ] [--schemaId ] +csdk route-module create --databaseId --scope [--apiName ] [--appLinksFunctionName ] [--catalogModuleId ] [--deepLinkFunctionName ] [--defaultPermissions ] [--domainModuleId ] [--entityField ] [--entityTableId ] [--hostnameBindingsTableId ] [--hostnameBindingsTableName ] [--policies ] [--prefix ] [--privateApiName ] [--privateSchemaId ] [--privateSchemaName ] [--provisions ] [--publicSchemaName ] [--resolverFunctionName ] [--routeBindingsTableId ] [--routeBindingsTableName ] [--routesTableId ] [--routesTableName ] [--schemaId ] ``` ### Get a routeModule by id diff --git a/.agents/skills/hooks-compute/references/function-deployment.md b/.agents/skills/hooks-compute/references/function-deployment.md index f983fea8c..d0ac57d72 100644 --- a/.agents/skills/hooks-compute/references/function-deployment.md +++ b/.agents/skills/hooks-compute/references/function-deployment.md @@ -7,8 +7,8 @@ Function deployment bindings — ties a handler image to a namespace for Knative ## Usage ```typescript -useFunctionDeploymentsQuery({ selection: { fields: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } } }) -useFunctionDeploymentQuery({ id: '', selection: { fields: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } } }) +useFunctionDeploymentsQuery({ selection: { fields: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } } }) +useFunctionDeploymentQuery({ id: '', selection: { fields: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } } }) useCreateFunctionDeploymentMutation({ selection: { fields: { id: true } } }) useUpdateFunctionDeploymentMutation({ selection: { fields: { id: true } } }) useDeleteFunctionDeploymentMutation({}) @@ -20,7 +20,7 @@ useDeleteFunctionDeploymentMutation({}) ```typescript const { data, isLoading } = useFunctionDeploymentsQuery({ - selection: { fields: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }, + selection: { fields: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useFunctionDeploymentsQuery({ const { mutate } = useCreateFunctionDeploymentMutation({ selection: { fields: { id: true } }, }); -mutate({ annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }); +mutate({ annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }); ``` diff --git a/.agents/skills/hooks-compute/references/platform-function-deployment.md b/.agents/skills/hooks-compute/references/platform-function-deployment.md index e968311f0..f263fc6ba 100644 --- a/.agents/skills/hooks-compute/references/platform-function-deployment.md +++ b/.agents/skills/hooks-compute/references/platform-function-deployment.md @@ -7,8 +7,8 @@ Function deployment bindings — ties a handler image to a namespace for Knative ## Usage ```typescript -usePlatformFunctionDeploymentsQuery({ selection: { fields: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } } }) -usePlatformFunctionDeploymentQuery({ id: '', selection: { fields: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } } }) +usePlatformFunctionDeploymentsQuery({ selection: { fields: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } } }) +usePlatformFunctionDeploymentQuery({ id: '', selection: { fields: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } } }) useCreatePlatformFunctionDeploymentMutation({ selection: { fields: { id: true } } }) useUpdatePlatformFunctionDeploymentMutation({ selection: { fields: { id: true } } }) useDeletePlatformFunctionDeploymentMutation({}) @@ -20,7 +20,7 @@ useDeletePlatformFunctionDeploymentMutation({}) ```typescript const { data, isLoading } = usePlatformFunctionDeploymentsQuery({ - selection: { fields: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }, + selection: { fields: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = usePlatformFunctionDeploymentsQuery({ const { mutate } = useCreatePlatformFunctionDeploymentMutation({ selection: { fields: { id: true } }, }); -mutate({ annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }); +mutate({ annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }); ``` diff --git a/.agents/skills/hooks-modules/references/route-module.md b/.agents/skills/hooks-modules/references/route-module.md index 9d8b50490..432d232ba 100644 --- a/.agents/skills/hooks-modules/references/route-module.md +++ b/.agents/skills/hooks-modules/references/route-module.md @@ -7,8 +7,8 @@ React Query hooks for RouteModule data operations ## Usage ```typescript -useRouteModulesQuery({ selection: { fields: { apiName: true, catalogModuleId: true, databaseId: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } } }) -useRouteModuleQuery({ id: '', selection: { fields: { apiName: true, catalogModuleId: true, databaseId: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } } }) +useRouteModulesQuery({ selection: { fields: { apiName: true, appLinksFunctionName: true, catalogModuleId: true, databaseId: true, deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } } }) +useRouteModuleQuery({ id: '', selection: { fields: { apiName: true, appLinksFunctionName: true, catalogModuleId: true, databaseId: true, deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } } }) useCreateRouteModuleMutation({ selection: { fields: { id: true } } }) useUpdateRouteModuleMutation({ selection: { fields: { id: true } } }) useDeleteRouteModuleMutation({}) @@ -20,7 +20,7 @@ useDeleteRouteModuleMutation({}) ```typescript const { data, isLoading } = useRouteModulesQuery({ - selection: { fields: { apiName: true, catalogModuleId: true, databaseId: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }, + selection: { fields: { apiName: true, appLinksFunctionName: true, catalogModuleId: true, databaseId: true, deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }, }); ``` @@ -30,5 +30,5 @@ const { data, isLoading } = useRouteModulesQuery({ const { mutate } = useCreateRouteModuleMutation({ selection: { fields: { id: true } }, }); -mutate({ apiName: '', catalogModuleId: '', databaseId: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }); +mutate({ apiName: '', appLinksFunctionName: '', catalogModuleId: '', databaseId: '', deepLinkFunctionName: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }); ``` diff --git a/.agents/skills/orm-compute/references/function-deployment.md b/.agents/skills/orm-compute/references/function-deployment.md index 8509eae49..d5261c127 100644 --- a/.agents/skills/orm-compute/references/function-deployment.md +++ b/.agents/skills/orm-compute/references/function-deployment.md @@ -9,7 +9,7 @@ Function deployment bindings — ties a handler image to a namespace for Knative ```typescript db.functionDeployment.findMany({ select: { id: true } }).execute() db.functionDeployment.findOne({ id: '', select: { id: true } }).execute() -db.functionDeployment.create({ data: { annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute() +db.functionDeployment.create({ data: { annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute() db.functionDeployment.update({ where: { id: '' }, data: { annotations: '' }, select: { id: true } }).execute() db.functionDeployment.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.functionDeployment.findMany({ ```typescript const item = await db.functionDeployment.create({ - data: { annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, + data: { annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); ``` diff --git a/.agents/skills/orm-compute/references/platform-function-deployment.md b/.agents/skills/orm-compute/references/platform-function-deployment.md index b0fc8d4fa..e0a3b7df4 100644 --- a/.agents/skills/orm-compute/references/platform-function-deployment.md +++ b/.agents/skills/orm-compute/references/platform-function-deployment.md @@ -9,7 +9,7 @@ Function deployment bindings — ties a handler image to a namespace for Knative ```typescript db.platformFunctionDeployment.findMany({ select: { id: true } }).execute() db.platformFunctionDeployment.findOne({ id: '', select: { id: true } }).execute() -db.platformFunctionDeployment.create({ data: { annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute() +db.platformFunctionDeployment.create({ data: { annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute() db.platformFunctionDeployment.update({ where: { id: '' }, data: { annotations: '' }, select: { id: true } }).execute() db.platformFunctionDeployment.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.platformFunctionDeployment.findMany({ ```typescript const item = await db.platformFunctionDeployment.create({ - data: { annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, + data: { annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); ``` diff --git a/.agents/skills/orm-modules/references/route-module.md b/.agents/skills/orm-modules/references/route-module.md index 7d7fc877a..31e1dcb20 100644 --- a/.agents/skills/orm-modules/references/route-module.md +++ b/.agents/skills/orm-modules/references/route-module.md @@ -9,7 +9,7 @@ ORM operations for RouteModule records ```typescript db.routeModule.findMany({ select: { id: true } }).execute() db.routeModule.findOne({ id: '', select: { id: true } }).execute() -db.routeModule.create({ data: { apiName: '', catalogModuleId: '', databaseId: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }, select: { id: true } }).execute() +db.routeModule.create({ data: { apiName: '', appLinksFunctionName: '', catalogModuleId: '', databaseId: '', deepLinkFunctionName: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }, select: { id: true } }).execute() db.routeModule.update({ where: { id: '' }, data: { apiName: '' }, select: { id: true } }).execute() db.routeModule.delete({ where: { id: '' } }).execute() ``` @@ -28,7 +28,7 @@ const items = await db.routeModule.findMany({ ```typescript const item = await db.routeModule.create({ - data: { apiName: '', catalogModuleId: '', databaseId: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }, + data: { apiName: '', appLinksFunctionName: '', catalogModuleId: '', databaseId: '', deepLinkFunctionName: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }, select: { id: true } }).execute(); ``` diff --git a/sdk/constructive-cli/src/compute/cli/README.md b/sdk/constructive-cli/src/compute/cli/README.md index ea957a8bd..1b65c3abc 100644 --- a/sdk/constructive-cli/src/compute/cli/README.md +++ b/sdk/constructive-cli/src/compute/cli/README.md @@ -354,6 +354,7 @@ CRUD operations for FunctionDeployment records. | `lastError` | String | | `lastErrorAt` | Datetime | | `namespaceId` | UUID | +| `realm` | String | | `resources` | JSON | | `revision` | Int | | `scaleMax` | Int | @@ -365,7 +366,7 @@ CRUD operations for FunctionDeployment records. | `updatedAt` | Datetime | **Required create fields:** `databaseId`, `image`, `namespaceId` -**Optional create fields (backend defaults):** `annotations`, `concurrency`, `errorCount`, `handlerName`, `imageVersion`, `labels`, `lastError`, `lastErrorAt`, `resources`, `revision`, `scaleMax`, `scaleMin`, `serviceName`, `serviceUrl`, `status`, `timeoutSeconds` +**Optional create fields (backend defaults):** `annotations`, `concurrency`, `errorCount`, `handlerName`, `imageVersion`, `labels`, `lastError`, `lastErrorAt`, `realm`, `resources`, `revision`, `scaleMax`, `scaleMin`, `serviceName`, `serviceUrl`, `status`, `timeoutSeconds` ### `function-deployment-event` @@ -1157,6 +1158,7 @@ CRUD operations for PlatformFunctionDeployment records. | `lastError` | String | | `lastErrorAt` | Datetime | | `namespaceId` | UUID | +| `realm` | String | | `resources` | JSON | | `revision` | Int | | `scaleMax` | Int | @@ -1168,7 +1170,7 @@ CRUD operations for PlatformFunctionDeployment records. | `updatedAt` | Datetime | **Required create fields:** `image`, `namespaceId` -**Optional create fields (backend defaults):** `annotations`, `concurrency`, `errorCount`, `handlerName`, `imageVersion`, `labels`, `lastError`, `lastErrorAt`, `resources`, `revision`, `scaleMax`, `scaleMin`, `serviceName`, `serviceUrl`, `status`, `timeoutSeconds` +**Optional create fields (backend defaults):** `annotations`, `concurrency`, `errorCount`, `handlerName`, `imageVersion`, `labels`, `lastError`, `lastErrorAt`, `realm`, `resources`, `revision`, `scaleMax`, `scaleMin`, `serviceName`, `serviceUrl`, `status`, `timeoutSeconds` ### `platform-function-deployment-event` diff --git a/sdk/constructive-cli/src/compute/cli/commands/function-deployment.ts b/sdk/constructive-cli/src/compute/cli/commands/function-deployment.ts index 3bd2cf156..ed01258b9 100644 --- a/sdk/constructive-cli/src/compute/cli/commands/function-deployment.ts +++ b/sdk/constructive-cli/src/compute/cli/commands/function-deployment.ts @@ -29,6 +29,7 @@ const fieldSchema: FieldSchema = { lastError: 'string', lastErrorAt: 'string', namespaceId: 'uuid', + realm: 'string', resources: 'json', revision: 'int', scaleMax: 'int', @@ -103,6 +104,7 @@ async function handleList(argv: Partial>, _prompter: Inq lastError: true, lastErrorAt: true, namespaceId: true, + realm: true, resources: true, revision: true, scaleMax: true, @@ -149,6 +151,7 @@ async function handleFindFirst(argv: Partial>, _prompter lastError: true, lastErrorAt: true, namespaceId: true, + realm: true, resources: true, revision: true, scaleMax: true, @@ -207,6 +210,7 @@ async function handleGet(argv: Partial>, prompter: Inqui lastError: true, lastErrorAt: true, namespaceId: true, + realm: true, resources: true, revision: true, scaleMax: true, @@ -305,6 +309,13 @@ async function handleCreate(argv: Partial>, prompter: In message: 'namespaceId', required: true, }, + { + type: 'text', + name: 'realm', + message: 'realm', + required: false, + skipPrompt: true, + }, { type: 'json', name: 'resources', @@ -382,6 +393,7 @@ async function handleCreate(argv: Partial>, prompter: In lastError: cleanedData.lastError, lastErrorAt: cleanedData.lastErrorAt, namespaceId: cleanedData.namespaceId, + realm: cleanedData.realm, resources: cleanedData.resources, revision: cleanedData.revision, scaleMax: cleanedData.scaleMax, @@ -405,6 +417,7 @@ async function handleCreate(argv: Partial>, prompter: In lastError: true, lastErrorAt: true, namespaceId: true, + realm: true, resources: true, revision: true, scaleMax: true, @@ -509,6 +522,13 @@ async function handleUpdate(argv: Partial>, prompter: In message: 'namespaceId', required: false, }, + { + type: 'text', + name: 'realm', + message: 'realm', + required: false, + skipPrompt: true, + }, { type: 'json', name: 'resources', @@ -586,6 +606,7 @@ async function handleUpdate(argv: Partial>, prompter: In lastError: cleanedData.lastError, lastErrorAt: cleanedData.lastErrorAt, namespaceId: cleanedData.namespaceId, + realm: cleanedData.realm, resources: cleanedData.resources, revision: cleanedData.revision, scaleMax: cleanedData.scaleMax, @@ -609,6 +630,7 @@ async function handleUpdate(argv: Partial>, prompter: In lastError: true, lastErrorAt: true, namespaceId: true, + realm: true, resources: true, revision: true, scaleMax: true, diff --git a/sdk/constructive-cli/src/compute/cli/commands/platform-function-deployment.ts b/sdk/constructive-cli/src/compute/cli/commands/platform-function-deployment.ts index 6041b82a6..5a3f02f60 100644 --- a/sdk/constructive-cli/src/compute/cli/commands/platform-function-deployment.ts +++ b/sdk/constructive-cli/src/compute/cli/commands/platform-function-deployment.ts @@ -28,6 +28,7 @@ const fieldSchema: FieldSchema = { lastError: 'string', lastErrorAt: 'string', namespaceId: 'uuid', + realm: 'string', resources: 'json', revision: 'int', scaleMax: 'int', @@ -101,6 +102,7 @@ async function handleList(argv: Partial>, _prompter: Inq lastError: true, lastErrorAt: true, namespaceId: true, + realm: true, resources: true, revision: true, scaleMax: true, @@ -146,6 +148,7 @@ async function handleFindFirst(argv: Partial>, _prompter lastError: true, lastErrorAt: true, namespaceId: true, + realm: true, resources: true, revision: true, scaleMax: true, @@ -203,6 +206,7 @@ async function handleGet(argv: Partial>, prompter: Inqui lastError: true, lastErrorAt: true, namespaceId: true, + realm: true, resources: true, revision: true, scaleMax: true, @@ -295,6 +299,13 @@ async function handleCreate(argv: Partial>, prompter: In message: 'namespaceId', required: true, }, + { + type: 'text', + name: 'realm', + message: 'realm', + required: false, + skipPrompt: true, + }, { type: 'json', name: 'resources', @@ -371,6 +382,7 @@ async function handleCreate(argv: Partial>, prompter: In lastError: cleanedData.lastError, lastErrorAt: cleanedData.lastErrorAt, namespaceId: cleanedData.namespaceId, + realm: cleanedData.realm, resources: cleanedData.resources, revision: cleanedData.revision, scaleMax: cleanedData.scaleMax, @@ -393,6 +405,7 @@ async function handleCreate(argv: Partial>, prompter: In lastError: true, lastErrorAt: true, namespaceId: true, + realm: true, resources: true, revision: true, scaleMax: true, @@ -491,6 +504,13 @@ async function handleUpdate(argv: Partial>, prompter: In message: 'namespaceId', required: false, }, + { + type: 'text', + name: 'realm', + message: 'realm', + required: false, + skipPrompt: true, + }, { type: 'json', name: 'resources', @@ -567,6 +587,7 @@ async function handleUpdate(argv: Partial>, prompter: In lastError: cleanedData.lastError, lastErrorAt: cleanedData.lastErrorAt, namespaceId: cleanedData.namespaceId, + realm: cleanedData.realm, resources: cleanedData.resources, revision: cleanedData.revision, scaleMax: cleanedData.scaleMax, @@ -589,6 +610,7 @@ async function handleUpdate(argv: Partial>, prompter: In lastError: true, lastErrorAt: true, namespaceId: true, + realm: true, resources: true, revision: true, scaleMax: true, diff --git a/sdk/constructive-cli/src/compute/orm/README.md b/sdk/constructive-cli/src/compute/orm/README.md index d1a03c4e9..7a54f515b 100644 --- a/sdk/constructive-cli/src/compute/orm/README.md +++ b/sdk/constructive-cli/src/compute/orm/README.md @@ -297,6 +297,7 @@ CRUD operations for FunctionDeployment records. | `lastError` | String | Yes | | `lastErrorAt` | Datetime | Yes | | `namespaceId` | UUID | Yes | +| `realm` | String | Yes | | `resources` | JSON | Yes | | `revision` | Int | Yes | | `scaleMax` | Int | Yes | @@ -311,13 +312,13 @@ CRUD operations for FunctionDeployment records. ```typescript // List all functionDeployment records -const items = await db.functionDeployment.findMany({ select: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); +const items = await db.functionDeployment.findMany({ select: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); // Get one by id -const item = await db.functionDeployment.findOne({ id: '', select: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); +const item = await db.functionDeployment.findOne({ id: '', select: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); // Create -const created = await db.functionDeployment.create({ data: { annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); +const created = await db.functionDeployment.create({ data: { annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); // Update const updated = await db.functionDeployment.update({ where: { id: '' }, data: { annotations: '' }, select: { id: true } }).execute(); @@ -1279,6 +1280,7 @@ CRUD operations for PlatformFunctionDeployment records. | `lastError` | String | Yes | | `lastErrorAt` | Datetime | Yes | | `namespaceId` | UUID | Yes | +| `realm` | String | Yes | | `resources` | JSON | Yes | | `revision` | Int | Yes | | `scaleMax` | Int | Yes | @@ -1293,13 +1295,13 @@ CRUD operations for PlatformFunctionDeployment records. ```typescript // List all platformFunctionDeployment records -const items = await db.platformFunctionDeployment.findMany({ select: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); +const items = await db.platformFunctionDeployment.findMany({ select: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); // Get one by id -const item = await db.platformFunctionDeployment.findOne({ id: '', select: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); +const item = await db.platformFunctionDeployment.findOne({ id: '', select: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); // Create -const created = await db.platformFunctionDeployment.create({ data: { annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); +const created = await db.platformFunctionDeployment.create({ data: { annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); // Update const updated = await db.platformFunctionDeployment.update({ where: { id: '' }, data: { annotations: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-cli/src/compute/orm/input-types.ts b/sdk/constructive-cli/src/compute/orm/input-types.ts index a13230558..f23af59b2 100644 --- a/sdk/constructive-cli/src/compute/orm/input-types.ts +++ b/sdk/constructive-cli/src/compute/orm/input-types.ts @@ -296,7 +296,7 @@ export interface FunctionCapabilityBinding { } /** Function definitions — registered cloud functions with routing, queue, and retry configuration */ export interface FunctionDefinition { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[] | null; /** Function task category (e.g. email, embed, chunk, custom) */ category?: string | null; @@ -406,6 +406,8 @@ export interface FunctionDeployment { lastErrorAt?: string | null; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId?: string | null; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string | null; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: Record | null; /** Deployment revision number (incremented on each redeployment) */ @@ -911,7 +913,7 @@ export interface PlatformFunctionCapabilityBinding { } /** Function definitions — registered cloud functions with routing, queue, and retry configuration */ export interface PlatformFunctionDefinition { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[] | null; /** Whether executions are metered through the invocation ledger and billing quota gate */ billable?: boolean | null; @@ -1021,6 +1023,8 @@ export interface PlatformFunctionDeployment { lastErrorAt?: string | null; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId?: string | null; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string | null; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: Record | null; /** Deployment revision number (incremented on each redeployment) */ @@ -2328,6 +2332,7 @@ export type FunctionDeploymentSelect = { lastError?: boolean; lastErrorAt?: boolean; namespaceId?: boolean; + realm?: boolean; resources?: boolean; revision?: boolean; scaleMax?: boolean; @@ -2744,6 +2749,7 @@ export type PlatformFunctionDeploymentSelect = { lastError?: boolean; lastErrorAt?: boolean; namespaceId?: boolean; + realm?: boolean; resources?: boolean; revision?: boolean; scaleMax?: boolean; @@ -3699,6 +3705,8 @@ export interface FunctionDeploymentFilter { not?: FunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: FunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ @@ -4507,6 +4515,8 @@ export interface PlatformFunctionDeploymentFilter { not?: PlatformFunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: PlatformFunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ @@ -6100,6 +6110,8 @@ export type FunctionDeploymentOrderBy = | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' + | 'REALM_ASC' + | 'REALM_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'REVISION_ASC' @@ -6764,6 +6776,8 @@ export type PlatformFunctionDeploymentOrderBy = | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' + | 'REALM_ASC' + | 'REALM_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'REVISION_ASC' @@ -8107,6 +8121,7 @@ export interface CreateFunctionDeploymentInput { lastError?: string; lastErrorAt?: string; namespaceId: string; + realm?: string; resources?: Record; revision?: number; scaleMax?: number; @@ -8129,6 +8144,7 @@ export interface FunctionDeploymentPatch { lastError?: string | null; lastErrorAt?: string | null; namespaceId?: string | null; + realm?: string | null; resources?: Record | null; revision?: number | null; scaleMax?: number | null; @@ -8967,6 +8983,7 @@ export interface CreatePlatformFunctionDeploymentInput { lastError?: string; lastErrorAt?: string; namespaceId: string; + realm?: string; resources?: Record; revision?: number; scaleMax?: number; @@ -8988,6 +9005,7 @@ export interface PlatformFunctionDeploymentPatch { lastError?: string | null; lastErrorAt?: string | null; namespaceId?: string | null; + realm?: string | null; resources?: Record | null; revision?: number | null; scaleMax?: number | null; @@ -11128,7 +11146,7 @@ export interface FunctionCapabilityBindingInput { } /** An input for mutations affecting `FunctionDefinition` */ export interface FunctionDefinitionInput { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[]; /** Function task category (e.g. email, embed, chunk, custom) */ category: string; @@ -11234,6 +11252,8 @@ export interface FunctionDeploymentInput { lastErrorAt?: string; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId: string; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: Record; /** Deployment revision number (incremented on each redeployment) */ @@ -11704,7 +11724,7 @@ export interface PlatformFunctionCapabilityBindingInput { } /** An input for mutations affecting `PlatformFunctionDefinition` */ export interface PlatformFunctionDefinitionInput { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[]; /** Whether executions are metered through the invocation ledger and billing quota gate */ billable?: boolean; @@ -11804,6 +11824,8 @@ export interface PlatformFunctionDeploymentInput { lastErrorAt?: string; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId: string; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: Record; /** Deployment revision number (incremented on each redeployment) */ @@ -12900,6 +12922,8 @@ export interface FunctionDeploymentFilter { not?: FunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: FunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ @@ -13282,6 +13306,8 @@ export interface PlatformFunctionDeploymentFilter { not?: PlatformFunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: PlatformFunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ diff --git a/sdk/constructive-cli/src/modules/cli/README.md b/sdk/constructive-cli/src/modules/cli/README.md index a3a3ac1bf..490526621 100644 --- a/sdk/constructive-cli/src/modules/cli/README.md +++ b/sdk/constructive-cli/src/modules/cli/README.md @@ -2594,8 +2594,10 @@ CRUD operations for RouteModule records. | Field | Type | |-------|------| | `apiName` | String | +| `appLinksFunctionName` | String | | `catalogModuleId` | UUID | | `databaseId` | UUID | +| `deepLinkFunctionName` | String | | `defaultPermissions` | String | | `domainModuleId` | UUID | | `entityField` | String | @@ -2619,7 +2621,7 @@ CRUD operations for RouteModule records. | `scope` | String | **Required create fields:** `databaseId`, `scope` -**Optional create fields (backend defaults):** `apiName`, `catalogModuleId`, `defaultPermissions`, `domainModuleId`, `entityField`, `entityTableId`, `hostnameBindingsTableId`, `hostnameBindingsTableName`, `policies`, `prefix`, `privateApiName`, `privateSchemaId`, `privateSchemaName`, `provisions`, `publicSchemaName`, `resolverFunctionName`, `routeBindingsTableId`, `routeBindingsTableName`, `routesTableId`, `routesTableName`, `schemaId` +**Optional create fields (backend defaults):** `apiName`, `appLinksFunctionName`, `catalogModuleId`, `deepLinkFunctionName`, `defaultPermissions`, `domainModuleId`, `entityField`, `entityTableId`, `hostnameBindingsTableId`, `hostnameBindingsTableName`, `policies`, `prefix`, `privateApiName`, `privateSchemaId`, `privateSchemaName`, `provisions`, `publicSchemaName`, `resolverFunctionName`, `routeBindingsTableId`, `routeBindingsTableName`, `routesTableId`, `routesTableName`, `schemaId` ### `secure-table-provision` diff --git a/sdk/constructive-cli/src/modules/cli/commands/route-module.ts b/sdk/constructive-cli/src/modules/cli/commands/route-module.ts index 695b24b67..ed2887ec2 100644 --- a/sdk/constructive-cli/src/modules/cli/commands/route-module.ts +++ b/sdk/constructive-cli/src/modules/cli/commands/route-module.ts @@ -17,8 +17,10 @@ import type { import type { FindManyArgs, FindFirstArgs } from '../../orm/select-types'; const fieldSchema: FieldSchema = { apiName: 'string', + appLinksFunctionName: 'string', catalogModuleId: 'uuid', databaseId: 'uuid', + deepLinkFunctionName: 'string', defaultPermissions: 'string', domainModuleId: 'uuid', entityField: 'string', @@ -93,8 +95,10 @@ async function handleList(argv: Partial>, _prompter: Inq try { const defaultSelect = { apiName: true, + appLinksFunctionName: true, catalogModuleId: true, databaseId: true, + deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, @@ -137,8 +141,10 @@ async function handleFindFirst(argv: Partial>, _prompter try { const defaultSelect = { apiName: true, + appLinksFunctionName: true, catalogModuleId: true, databaseId: true, + deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, @@ -193,8 +199,10 @@ async function handleGet(argv: Partial>, prompter: Inqui id: answers.id as string, select: { apiName: true, + appLinksFunctionName: true, catalogModuleId: true, databaseId: true, + deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, @@ -238,6 +246,13 @@ async function handleCreate(argv: Partial>, prompter: In required: false, skipPrompt: true, }, + { + type: 'text', + name: 'appLinksFunctionName', + message: 'appLinksFunctionName', + required: false, + skipPrompt: true, + }, { type: 'text', name: 'catalogModuleId', @@ -251,6 +266,13 @@ async function handleCreate(argv: Partial>, prompter: In message: 'databaseId', required: true, }, + { + type: 'text', + name: 'deepLinkFunctionName', + message: 'deepLinkFunctionName', + required: false, + skipPrompt: true, + }, { type: 'text', name: 'defaultPermissions', @@ -401,8 +423,10 @@ async function handleCreate(argv: Partial>, prompter: In .create({ data: { apiName: cleanedData.apiName, + appLinksFunctionName: cleanedData.appLinksFunctionName, catalogModuleId: cleanedData.catalogModuleId, databaseId: cleanedData.databaseId, + deepLinkFunctionName: cleanedData.deepLinkFunctionName, defaultPermissions: cleanedData.defaultPermissions, domainModuleId: cleanedData.domainModuleId, entityField: cleanedData.entityField, @@ -426,8 +450,10 @@ async function handleCreate(argv: Partial>, prompter: In }, select: { apiName: true, + appLinksFunctionName: true, catalogModuleId: true, databaseId: true, + deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, @@ -477,6 +503,13 @@ async function handleUpdate(argv: Partial>, prompter: In required: false, skipPrompt: true, }, + { + type: 'text', + name: 'appLinksFunctionName', + message: 'appLinksFunctionName', + required: false, + skipPrompt: true, + }, { type: 'text', name: 'catalogModuleId', @@ -490,6 +523,13 @@ async function handleUpdate(argv: Partial>, prompter: In message: 'databaseId', required: false, }, + { + type: 'text', + name: 'deepLinkFunctionName', + message: 'deepLinkFunctionName', + required: false, + skipPrompt: true, + }, { type: 'text', name: 'defaultPermissions', @@ -640,8 +680,10 @@ async function handleUpdate(argv: Partial>, prompter: In }, data: { apiName: cleanedData.apiName, + appLinksFunctionName: cleanedData.appLinksFunctionName, catalogModuleId: cleanedData.catalogModuleId, databaseId: cleanedData.databaseId, + deepLinkFunctionName: cleanedData.deepLinkFunctionName, defaultPermissions: cleanedData.defaultPermissions, domainModuleId: cleanedData.domainModuleId, entityField: cleanedData.entityField, @@ -665,8 +707,10 @@ async function handleUpdate(argv: Partial>, prompter: In }, select: { apiName: true, + appLinksFunctionName: true, catalogModuleId: true, databaseId: true, + deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, diff --git a/sdk/constructive-cli/src/modules/orm/README.md b/sdk/constructive-cli/src/modules/orm/README.md index 7982fe489..9aeca1c64 100644 --- a/sdk/constructive-cli/src/modules/orm/README.md +++ b/sdk/constructive-cli/src/modules/orm/README.md @@ -2947,8 +2947,10 @@ CRUD operations for RouteModule records. | Field | Type | Editable | |-------|------|----------| | `apiName` | String | Yes | +| `appLinksFunctionName` | String | Yes | | `catalogModuleId` | UUID | Yes | | `databaseId` | UUID | Yes | +| `deepLinkFunctionName` | String | Yes | | `defaultPermissions` | String | Yes | | `domainModuleId` | UUID | Yes | | `entityField` | String | Yes | @@ -2975,13 +2977,13 @@ CRUD operations for RouteModule records. ```typescript // List all routeModule records -const items = await db.routeModule.findMany({ select: { apiName: true, catalogModuleId: true, databaseId: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }).execute(); +const items = await db.routeModule.findMany({ select: { apiName: true, appLinksFunctionName: true, catalogModuleId: true, databaseId: true, deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }).execute(); // Get one by id -const item = await db.routeModule.findOne({ id: '', select: { apiName: true, catalogModuleId: true, databaseId: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }).execute(); +const item = await db.routeModule.findOne({ id: '', select: { apiName: true, appLinksFunctionName: true, catalogModuleId: true, databaseId: true, deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }).execute(); // Create -const created = await db.routeModule.create({ data: { apiName: '', catalogModuleId: '', databaseId: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }, select: { id: true } }).execute(); +const created = await db.routeModule.create({ data: { apiName: '', appLinksFunctionName: '', catalogModuleId: '', databaseId: '', deepLinkFunctionName: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }, select: { id: true } }).execute(); // Update const updated = await db.routeModule.update({ where: { id: '' }, data: { apiName: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-cli/src/modules/orm/input-types.ts b/sdk/constructive-cli/src/modules/orm/input-types.ts index ed552e481..53ac02d2c 100644 --- a/sdk/constructive-cli/src/modules/orm/input-types.ts +++ b/sdk/constructive-cli/src/modules/orm/input-types.ts @@ -1937,8 +1937,10 @@ export interface RlsModule { } export interface RouteModule { apiName?: string | null; + appLinksFunctionName?: string | null; catalogModuleId?: string | null; databaseId?: string | null; + deepLinkFunctionName?: string | null; defaultPermissions?: string[] | null; domainModuleId?: string | null; entityField?: string | null; @@ -3990,8 +3992,10 @@ export type RlsModuleSelect = { }; export type RouteModuleSelect = { apiName?: boolean; + appLinksFunctionName?: boolean; catalogModuleId?: boolean; databaseId?: boolean; + deepLinkFunctionName?: boolean; defaultPermissions?: boolean; domainModuleId?: boolean; entityField?: boolean; @@ -7279,6 +7283,8 @@ export interface RouteModuleFilter { and?: RouteModuleFilter[]; /** Filter by the object’s `apiName` field. */ apiName?: StringFilter; + /** Filter by the object’s `appLinksFunctionName` field. */ + appLinksFunctionName?: StringFilter; /** Filter by the object’s `catalogModule` relation. */ catalogModule?: CatalogModuleFilter; /** A related `catalogModule` exists. */ @@ -7287,6 +7293,8 @@ export interface RouteModuleFilter { catalogModuleId?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; + /** Filter by the object’s `deepLinkFunctionName` field. */ + deepLinkFunctionName?: StringFilter; /** Filter by the object’s `defaultPermissions` field. */ defaultPermissions?: StringListFilter; /** Filter by the object’s `domainModule` relation. */ @@ -10538,10 +10546,14 @@ export type RlsModuleOrderBy = export type RouteModuleOrderBy = | 'API_NAME_ASC' | 'API_NAME_DESC' + | 'APP_LINKS_FUNCTION_NAME_ASC' + | 'APP_LINKS_FUNCTION_NAME_DESC' | 'CATALOG_MODULE_ID_ASC' | 'CATALOG_MODULE_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' + | 'DEEP_LINK_FUNCTION_NAME_ASC' + | 'DEEP_LINK_FUNCTION_NAME_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC' | 'DOMAIN_MODULE_ID_ASC' @@ -14264,8 +14276,10 @@ export interface CreateRouteModuleInput { clientMutationId?: string; routeModule: { apiName?: string; + appLinksFunctionName?: string; catalogModuleId?: string; databaseId: string; + deepLinkFunctionName?: string; defaultPermissions?: string[]; domainModuleId?: string; entityField?: string; @@ -14290,8 +14304,10 @@ export interface CreateRouteModuleInput { } export interface RouteModulePatch { apiName?: string | null; + appLinksFunctionName?: string | null; catalogModuleId?: string | null; databaseId?: string | null; + deepLinkFunctionName?: string | null; defaultPermissions?: string[] | null; domainModuleId?: string | null; entityField?: string | null; @@ -17201,8 +17217,10 @@ export interface RlsModuleInput { /** An input for mutations affecting `RouteModule` */ export interface RouteModuleInput { apiName?: string; + appLinksFunctionName?: string; catalogModuleId?: string; databaseId: string; + deepLinkFunctionName?: string; defaultPermissions?: string[]; domainModuleId?: string; entityField?: string; @@ -17845,6 +17863,8 @@ export interface RouteModuleFilter { and?: RouteModuleFilter[]; /** Filter by the object’s `apiName` field. */ apiName?: StringFilter; + /** Filter by the object’s `appLinksFunctionName` field. */ + appLinksFunctionName?: StringFilter; /** Filter by the object’s `catalogModule` relation. */ catalogModule?: CatalogModuleFilter; /** A related `catalogModule` exists. */ @@ -17853,6 +17873,8 @@ export interface RouteModuleFilter { catalogModuleId?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; + /** Filter by the object’s `deepLinkFunctionName` field. */ + deepLinkFunctionName?: StringFilter; /** Filter by the object’s `defaultPermissions` field. */ defaultPermissions?: StringListFilter; /** Filter by the object’s `domainModule` relation. */ diff --git a/sdk/constructive-react/src/compute/hooks/README.md b/sdk/constructive-react/src/compute/hooks/README.md index b46fe2311..603af3884 100644 --- a/sdk/constructive-react/src/compute/hooks/README.md +++ b/sdk/constructive-react/src/compute/hooks/README.md @@ -468,20 +468,20 @@ create({ accessChannels: '', category: '', concurrency: '', ```typescript // List all functionDeployments const { data, isLoading } = useFunctionDeploymentsQuery({ - selection: { fields: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }, + selection: { fields: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }, }); // Get one functionDeployment const { data: item } = useFunctionDeploymentQuery({ id: '', - selection: { fields: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }, + selection: { fields: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }, }); // Create a functionDeployment const { mutate: create } = useCreateFunctionDeploymentMutation({ selection: { fields: { id: true } }, }); -create({ annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }); +create({ annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }); ``` ### FunctionDeploymentEvent @@ -981,20 +981,20 @@ create({ accessChannels: '', billable: '', category: '' ```typescript // List all platformFunctionDeployments const { data, isLoading } = usePlatformFunctionDeploymentsQuery({ - selection: { fields: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }, + selection: { fields: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }, }); // Get one platformFunctionDeployment const { data: item } = usePlatformFunctionDeploymentQuery({ id: '', - selection: { fields: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }, + selection: { fields: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }, }); // Create a platformFunctionDeployment const { mutate: create } = useCreatePlatformFunctionDeploymentMutation({ selection: { fields: { id: true } }, }); -create({ annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }); +create({ annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }); ``` ### PlatformFunctionDeploymentEvent diff --git a/sdk/constructive-react/src/compute/orm/README.md b/sdk/constructive-react/src/compute/orm/README.md index d1a03c4e9..7a54f515b 100644 --- a/sdk/constructive-react/src/compute/orm/README.md +++ b/sdk/constructive-react/src/compute/orm/README.md @@ -297,6 +297,7 @@ CRUD operations for FunctionDeployment records. | `lastError` | String | Yes | | `lastErrorAt` | Datetime | Yes | | `namespaceId` | UUID | Yes | +| `realm` | String | Yes | | `resources` | JSON | Yes | | `revision` | Int | Yes | | `scaleMax` | Int | Yes | @@ -311,13 +312,13 @@ CRUD operations for FunctionDeployment records. ```typescript // List all functionDeployment records -const items = await db.functionDeployment.findMany({ select: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); +const items = await db.functionDeployment.findMany({ select: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); // Get one by id -const item = await db.functionDeployment.findOne({ id: '', select: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); +const item = await db.functionDeployment.findOne({ id: '', select: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); // Create -const created = await db.functionDeployment.create({ data: { annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); +const created = await db.functionDeployment.create({ data: { annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); // Update const updated = await db.functionDeployment.update({ where: { id: '' }, data: { annotations: '' }, select: { id: true } }).execute(); @@ -1279,6 +1280,7 @@ CRUD operations for PlatformFunctionDeployment records. | `lastError` | String | Yes | | `lastErrorAt` | Datetime | Yes | | `namespaceId` | UUID | Yes | +| `realm` | String | Yes | | `resources` | JSON | Yes | | `revision` | Int | Yes | | `scaleMax` | Int | Yes | @@ -1293,13 +1295,13 @@ CRUD operations for PlatformFunctionDeployment records. ```typescript // List all platformFunctionDeployment records -const items = await db.platformFunctionDeployment.findMany({ select: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); +const items = await db.platformFunctionDeployment.findMany({ select: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); // Get one by id -const item = await db.platformFunctionDeployment.findOne({ id: '', select: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); +const item = await db.platformFunctionDeployment.findOne({ id: '', select: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); // Create -const created = await db.platformFunctionDeployment.create({ data: { annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); +const created = await db.platformFunctionDeployment.create({ data: { annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); // Update const updated = await db.platformFunctionDeployment.update({ where: { id: '' }, data: { annotations: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-react/src/compute/orm/input-types.ts b/sdk/constructive-react/src/compute/orm/input-types.ts index a13230558..f23af59b2 100644 --- a/sdk/constructive-react/src/compute/orm/input-types.ts +++ b/sdk/constructive-react/src/compute/orm/input-types.ts @@ -296,7 +296,7 @@ export interface FunctionCapabilityBinding { } /** Function definitions — registered cloud functions with routing, queue, and retry configuration */ export interface FunctionDefinition { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[] | null; /** Function task category (e.g. email, embed, chunk, custom) */ category?: string | null; @@ -406,6 +406,8 @@ export interface FunctionDeployment { lastErrorAt?: string | null; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId?: string | null; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string | null; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: Record | null; /** Deployment revision number (incremented on each redeployment) */ @@ -911,7 +913,7 @@ export interface PlatformFunctionCapabilityBinding { } /** Function definitions — registered cloud functions with routing, queue, and retry configuration */ export interface PlatformFunctionDefinition { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[] | null; /** Whether executions are metered through the invocation ledger and billing quota gate */ billable?: boolean | null; @@ -1021,6 +1023,8 @@ export interface PlatformFunctionDeployment { lastErrorAt?: string | null; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId?: string | null; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string | null; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: Record | null; /** Deployment revision number (incremented on each redeployment) */ @@ -2328,6 +2332,7 @@ export type FunctionDeploymentSelect = { lastError?: boolean; lastErrorAt?: boolean; namespaceId?: boolean; + realm?: boolean; resources?: boolean; revision?: boolean; scaleMax?: boolean; @@ -2744,6 +2749,7 @@ export type PlatformFunctionDeploymentSelect = { lastError?: boolean; lastErrorAt?: boolean; namespaceId?: boolean; + realm?: boolean; resources?: boolean; revision?: boolean; scaleMax?: boolean; @@ -3699,6 +3705,8 @@ export interface FunctionDeploymentFilter { not?: FunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: FunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ @@ -4507,6 +4515,8 @@ export interface PlatformFunctionDeploymentFilter { not?: PlatformFunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: PlatformFunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ @@ -6100,6 +6110,8 @@ export type FunctionDeploymentOrderBy = | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' + | 'REALM_ASC' + | 'REALM_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'REVISION_ASC' @@ -6764,6 +6776,8 @@ export type PlatformFunctionDeploymentOrderBy = | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' + | 'REALM_ASC' + | 'REALM_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'REVISION_ASC' @@ -8107,6 +8121,7 @@ export interface CreateFunctionDeploymentInput { lastError?: string; lastErrorAt?: string; namespaceId: string; + realm?: string; resources?: Record; revision?: number; scaleMax?: number; @@ -8129,6 +8144,7 @@ export interface FunctionDeploymentPatch { lastError?: string | null; lastErrorAt?: string | null; namespaceId?: string | null; + realm?: string | null; resources?: Record | null; revision?: number | null; scaleMax?: number | null; @@ -8967,6 +8983,7 @@ export interface CreatePlatformFunctionDeploymentInput { lastError?: string; lastErrorAt?: string; namespaceId: string; + realm?: string; resources?: Record; revision?: number; scaleMax?: number; @@ -8988,6 +9005,7 @@ export interface PlatformFunctionDeploymentPatch { lastError?: string | null; lastErrorAt?: string | null; namespaceId?: string | null; + realm?: string | null; resources?: Record | null; revision?: number | null; scaleMax?: number | null; @@ -11128,7 +11146,7 @@ export interface FunctionCapabilityBindingInput { } /** An input for mutations affecting `FunctionDefinition` */ export interface FunctionDefinitionInput { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[]; /** Function task category (e.g. email, embed, chunk, custom) */ category: string; @@ -11234,6 +11252,8 @@ export interface FunctionDeploymentInput { lastErrorAt?: string; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId: string; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: Record; /** Deployment revision number (incremented on each redeployment) */ @@ -11704,7 +11724,7 @@ export interface PlatformFunctionCapabilityBindingInput { } /** An input for mutations affecting `PlatformFunctionDefinition` */ export interface PlatformFunctionDefinitionInput { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[]; /** Whether executions are metered through the invocation ledger and billing quota gate */ billable?: boolean; @@ -11804,6 +11824,8 @@ export interface PlatformFunctionDeploymentInput { lastErrorAt?: string; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId: string; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: Record; /** Deployment revision number (incremented on each redeployment) */ @@ -12900,6 +12922,8 @@ export interface FunctionDeploymentFilter { not?: FunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: FunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ @@ -13282,6 +13306,8 @@ export interface PlatformFunctionDeploymentFilter { not?: PlatformFunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: PlatformFunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ diff --git a/sdk/constructive-react/src/compute/schema-types.ts b/sdk/constructive-react/src/compute/schema-types.ts index 0bf71d798..dae9da9ab 100644 --- a/sdk/constructive-react/src/compute/schema-types.ts +++ b/sdk/constructive-react/src/compute/schema-types.ts @@ -308,6 +308,8 @@ export type FunctionDeploymentOrderBy = | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' + | 'REALM_ASC' + | 'REALM_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'REVISION_ASC' @@ -977,6 +979,8 @@ export type PlatformFunctionDeploymentOrderBy = | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' + | 'REALM_ASC' + | 'REALM_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'REVISION_ASC' @@ -3166,7 +3170,7 @@ export interface FunctionDefinitionFilter { } /** An input for mutations affecting `FunctionDefinition` */ export interface FunctionDefinitionInput { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[]; /** Function task category (e.g. email, embed, chunk, custom) */ category: string; @@ -3242,7 +3246,7 @@ export interface FunctionDefinitionInput { } /** Represents an update to a `FunctionDefinition`. Fields that are set will be updated. */ export interface FunctionDefinitionPatch { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[]; /** Function task category (e.g. email, embed, chunk, custom) */ category?: string; @@ -3442,6 +3446,8 @@ export interface FunctionDeploymentFilter { not?: FunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: FunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ @@ -3487,6 +3493,8 @@ export interface FunctionDeploymentInput { lastErrorAt?: string; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId: string; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: unknown; /** Deployment revision number (incremented on each redeployment) */ @@ -3531,6 +3539,8 @@ export interface FunctionDeploymentPatch { lastErrorAt?: string; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId?: string; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: unknown; /** Deployment revision number (incremented on each redeployment) */ @@ -5349,7 +5359,7 @@ export interface PlatformFunctionDefinitionFilter { } /** An input for mutations affecting `PlatformFunctionDefinition` */ export interface PlatformFunctionDefinitionInput { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[]; /** Whether executions are metered through the invocation ledger and billing quota gate */ billable?: boolean; @@ -5427,7 +5437,7 @@ export interface PlatformFunctionDefinitionInput { } /** Represents an update to a `PlatformFunctionDefinition`. Fields that are set will be updated. */ export interface PlatformFunctionDefinitionPatch { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[]; /** Whether executions are metered through the invocation ledger and billing quota gate */ billable?: boolean; @@ -5621,6 +5631,8 @@ export interface PlatformFunctionDeploymentFilter { not?: PlatformFunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: PlatformFunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ @@ -5664,6 +5676,8 @@ export interface PlatformFunctionDeploymentInput { lastErrorAt?: string; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId: string; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: unknown; /** Deployment revision number (incremented on each redeployment) */ @@ -5706,6 +5720,8 @@ export interface PlatformFunctionDeploymentPatch { lastErrorAt?: string; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId?: string; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: unknown; /** Deployment revision number (incremented on each redeployment) */ diff --git a/sdk/constructive-react/src/compute/types.ts b/sdk/constructive-react/src/compute/types.ts index 808fcda5a..2e0087cd5 100644 --- a/sdk/constructive-react/src/compute/types.ts +++ b/sdk/constructive-react/src/compute/types.ts @@ -99,6 +99,7 @@ export interface FunctionDeployment { lastError: string | null; lastErrorAt: string | null; namespaceId: string | null; + realm: string | null; resources: unknown | null; revision: number | null; scaleMax: number | null; @@ -431,6 +432,7 @@ export interface PlatformFunctionDeployment { lastError: string | null; lastErrorAt: string | null; namespaceId: string | null; + realm: string | null; resources: unknown | null; revision: number | null; scaleMax: number | null; diff --git a/sdk/constructive-react/src/modules/hooks/README.md b/sdk/constructive-react/src/modules/hooks/README.md index d9c19b58b..3d3e9e7f1 100644 --- a/sdk/constructive-react/src/modules/hooks/README.md +++ b/sdk/constructive-react/src/modules/hooks/README.md @@ -1835,20 +1835,20 @@ create({ apiName: '', authenticate: '', authenticateStrict: '', - selection: { fields: { apiName: true, catalogModuleId: true, databaseId: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }, + selection: { fields: { apiName: true, appLinksFunctionName: true, catalogModuleId: true, databaseId: true, deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }, }); // Create a routeModule const { mutate: create } = useCreateRouteModuleMutation({ selection: { fields: { id: true } }, }); -create({ apiName: '', catalogModuleId: '', databaseId: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }); +create({ apiName: '', appLinksFunctionName: '', catalogModuleId: '', databaseId: '', deepLinkFunctionName: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }); ``` ### SecureTableProvision diff --git a/sdk/constructive-react/src/modules/orm/README.md b/sdk/constructive-react/src/modules/orm/README.md index 7982fe489..9aeca1c64 100644 --- a/sdk/constructive-react/src/modules/orm/README.md +++ b/sdk/constructive-react/src/modules/orm/README.md @@ -2947,8 +2947,10 @@ CRUD operations for RouteModule records. | Field | Type | Editable | |-------|------|----------| | `apiName` | String | Yes | +| `appLinksFunctionName` | String | Yes | | `catalogModuleId` | UUID | Yes | | `databaseId` | UUID | Yes | +| `deepLinkFunctionName` | String | Yes | | `defaultPermissions` | String | Yes | | `domainModuleId` | UUID | Yes | | `entityField` | String | Yes | @@ -2975,13 +2977,13 @@ CRUD operations for RouteModule records. ```typescript // List all routeModule records -const items = await db.routeModule.findMany({ select: { apiName: true, catalogModuleId: true, databaseId: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }).execute(); +const items = await db.routeModule.findMany({ select: { apiName: true, appLinksFunctionName: true, catalogModuleId: true, databaseId: true, deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }).execute(); // Get one by id -const item = await db.routeModule.findOne({ id: '', select: { apiName: true, catalogModuleId: true, databaseId: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }).execute(); +const item = await db.routeModule.findOne({ id: '', select: { apiName: true, appLinksFunctionName: true, catalogModuleId: true, databaseId: true, deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }).execute(); // Create -const created = await db.routeModule.create({ data: { apiName: '', catalogModuleId: '', databaseId: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }, select: { id: true } }).execute(); +const created = await db.routeModule.create({ data: { apiName: '', appLinksFunctionName: '', catalogModuleId: '', databaseId: '', deepLinkFunctionName: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }, select: { id: true } }).execute(); // Update const updated = await db.routeModule.update({ where: { id: '' }, data: { apiName: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-react/src/modules/orm/input-types.ts b/sdk/constructive-react/src/modules/orm/input-types.ts index ed552e481..53ac02d2c 100644 --- a/sdk/constructive-react/src/modules/orm/input-types.ts +++ b/sdk/constructive-react/src/modules/orm/input-types.ts @@ -1937,8 +1937,10 @@ export interface RlsModule { } export interface RouteModule { apiName?: string | null; + appLinksFunctionName?: string | null; catalogModuleId?: string | null; databaseId?: string | null; + deepLinkFunctionName?: string | null; defaultPermissions?: string[] | null; domainModuleId?: string | null; entityField?: string | null; @@ -3990,8 +3992,10 @@ export type RlsModuleSelect = { }; export type RouteModuleSelect = { apiName?: boolean; + appLinksFunctionName?: boolean; catalogModuleId?: boolean; databaseId?: boolean; + deepLinkFunctionName?: boolean; defaultPermissions?: boolean; domainModuleId?: boolean; entityField?: boolean; @@ -7279,6 +7283,8 @@ export interface RouteModuleFilter { and?: RouteModuleFilter[]; /** Filter by the object’s `apiName` field. */ apiName?: StringFilter; + /** Filter by the object’s `appLinksFunctionName` field. */ + appLinksFunctionName?: StringFilter; /** Filter by the object’s `catalogModule` relation. */ catalogModule?: CatalogModuleFilter; /** A related `catalogModule` exists. */ @@ -7287,6 +7293,8 @@ export interface RouteModuleFilter { catalogModuleId?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; + /** Filter by the object’s `deepLinkFunctionName` field. */ + deepLinkFunctionName?: StringFilter; /** Filter by the object’s `defaultPermissions` field. */ defaultPermissions?: StringListFilter; /** Filter by the object’s `domainModule` relation. */ @@ -10538,10 +10546,14 @@ export type RlsModuleOrderBy = export type RouteModuleOrderBy = | 'API_NAME_ASC' | 'API_NAME_DESC' + | 'APP_LINKS_FUNCTION_NAME_ASC' + | 'APP_LINKS_FUNCTION_NAME_DESC' | 'CATALOG_MODULE_ID_ASC' | 'CATALOG_MODULE_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' + | 'DEEP_LINK_FUNCTION_NAME_ASC' + | 'DEEP_LINK_FUNCTION_NAME_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC' | 'DOMAIN_MODULE_ID_ASC' @@ -14264,8 +14276,10 @@ export interface CreateRouteModuleInput { clientMutationId?: string; routeModule: { apiName?: string; + appLinksFunctionName?: string; catalogModuleId?: string; databaseId: string; + deepLinkFunctionName?: string; defaultPermissions?: string[]; domainModuleId?: string; entityField?: string; @@ -14290,8 +14304,10 @@ export interface CreateRouteModuleInput { } export interface RouteModulePatch { apiName?: string | null; + appLinksFunctionName?: string | null; catalogModuleId?: string | null; databaseId?: string | null; + deepLinkFunctionName?: string | null; defaultPermissions?: string[] | null; domainModuleId?: string | null; entityField?: string | null; @@ -17201,8 +17217,10 @@ export interface RlsModuleInput { /** An input for mutations affecting `RouteModule` */ export interface RouteModuleInput { apiName?: string; + appLinksFunctionName?: string; catalogModuleId?: string; databaseId: string; + deepLinkFunctionName?: string; defaultPermissions?: string[]; domainModuleId?: string; entityField?: string; @@ -17845,6 +17863,8 @@ export interface RouteModuleFilter { and?: RouteModuleFilter[]; /** Filter by the object’s `apiName` field. */ apiName?: StringFilter; + /** Filter by the object’s `appLinksFunctionName` field. */ + appLinksFunctionName?: StringFilter; /** Filter by the object’s `catalogModule` relation. */ catalogModule?: CatalogModuleFilter; /** A related `catalogModule` exists. */ @@ -17853,6 +17873,8 @@ export interface RouteModuleFilter { catalogModuleId?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; + /** Filter by the object’s `deepLinkFunctionName` field. */ + deepLinkFunctionName?: StringFilter; /** Filter by the object’s `defaultPermissions` field. */ defaultPermissions?: StringListFilter; /** Filter by the object’s `domainModule` relation. */ diff --git a/sdk/constructive-react/src/modules/schema-types.ts b/sdk/constructive-react/src/modules/schema-types.ts index 4332cbba3..60131e2ea 100644 --- a/sdk/constructive-react/src/modules/schema-types.ts +++ b/sdk/constructive-react/src/modules/schema-types.ts @@ -2719,10 +2719,14 @@ export type RlsModuleOrderBy = export type RouteModuleOrderBy = | 'API_NAME_ASC' | 'API_NAME_DESC' + | 'APP_LINKS_FUNCTION_NAME_ASC' + | 'APP_LINKS_FUNCTION_NAME_DESC' | 'CATALOG_MODULE_ID_ASC' | 'CATALOG_MODULE_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' + | 'DEEP_LINK_FUNCTION_NAME_ASC' + | 'DEEP_LINK_FUNCTION_NAME_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC' | 'DOMAIN_MODULE_ID_ASC' @@ -10858,6 +10862,8 @@ export interface RouteModuleFilter { and?: RouteModuleFilter[]; /** Filter by the object’s `apiName` field. */ apiName?: StringFilter; + /** Filter by the object’s `appLinksFunctionName` field. */ + appLinksFunctionName?: StringFilter; /** Filter by the object’s `catalogModule` relation. */ catalogModule?: CatalogModuleFilter; /** A related `catalogModule` exists. */ @@ -10866,6 +10872,8 @@ export interface RouteModuleFilter { catalogModuleId?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; + /** Filter by the object’s `deepLinkFunctionName` field. */ + deepLinkFunctionName?: StringFilter; /** Filter by the object’s `defaultPermissions` field. */ defaultPermissions?: StringListFilter; /** Filter by the object’s `domainModule` relation. */ @@ -10920,8 +10928,10 @@ export interface RouteModuleFilter { /** An input for mutations affecting `RouteModule` */ export interface RouteModuleInput { apiName?: string; + appLinksFunctionName?: string; catalogModuleId?: string; databaseId: string; + deepLinkFunctionName?: string; defaultPermissions?: string[]; domainModuleId?: string; entityField?: string; @@ -10947,8 +10957,10 @@ export interface RouteModuleInput { /** Represents an update to a `RouteModule`. Fields that are set will be updated. */ export interface RouteModulePatch { apiName?: string; + appLinksFunctionName?: string; catalogModuleId?: string; databaseId?: string; + deepLinkFunctionName?: string; defaultPermissions?: string[]; domainModuleId?: string; entityField?: string; diff --git a/sdk/constructive-react/src/modules/types.ts b/sdk/constructive-react/src/modules/types.ts index 48928cdb8..21a2170d7 100644 --- a/sdk/constructive-react/src/modules/types.ts +++ b/sdk/constructive-react/src/modules/types.ts @@ -1283,8 +1283,10 @@ export interface RlsModule { } export interface RouteModule { apiName: string | null; + appLinksFunctionName: string | null; catalogModuleId: string | null; databaseId: string | null; + deepLinkFunctionName: string | null; defaultPermissions: string[] | null; domainModuleId: string | null; entityField: string | null; diff --git a/sdk/constructive-sdk/schemas/compute.graphql b/sdk/constructive-sdk/schemas/compute.graphql index 9b31ae0f4..916a0aed0 100644 --- a/sdk/constructive-sdk/schemas/compute.graphql +++ b/sdk/constructive-sdk/schemas/compute.graphql @@ -5154,7 +5154,7 @@ Function definitions — registered cloud functions with routing, queue, and ret """ type FunctionDefinition { """ - Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. + Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. """ accessChannels: [String]! @@ -5612,7 +5612,7 @@ input FunctionDefinitionFilter { """An input for mutations affecting `FunctionDefinition`""" input FunctionDefinitionInput { """ - Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. + Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. """ accessChannels: [String] @@ -5866,7 +5866,7 @@ Represents an update to a `FunctionDefinition`. Fields that are set will be upda """ input FunctionDefinitionPatch { """ - Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. + Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. """ accessChannels: [String] @@ -6112,6 +6112,11 @@ type FunctionDeployment { """Target namespace for this deployment (maps to a K8s namespace)""" namespaceId: UUID! + """ + Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). + """ + realm: String + """ K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} """ @@ -6413,6 +6418,9 @@ input FunctionDeploymentFilter { """Checks for any expressions in this list.""" or: [FunctionDeploymentFilter!] + """Filter by the object’s `realm` field.""" + realm: StringFilter + """Filter by the object’s `resources` field.""" resources: JSONFilter @@ -6482,6 +6490,11 @@ input FunctionDeploymentInput { """Target namespace for this deployment (maps to a K8s namespace)""" namespaceId: UUID! + """ + Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). + """ + realm: String + """ K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} """ @@ -6551,6 +6564,8 @@ enum FunctionDeploymentOrderBy { NATURAL PRIMARY_KEY_ASC PRIMARY_KEY_DESC + REALM_ASC + REALM_DESC RESOURCES_ASC RESOURCES_DESC REVISION_ASC @@ -6614,6 +6629,11 @@ input FunctionDeploymentPatch { """Target namespace for this deployment (maps to a K8s namespace)""" namespaceId: UUID + """ + Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). + """ + realm: String + """ K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} """ @@ -13624,7 +13644,7 @@ Function definitions — registered cloud functions with routing, queue, and ret """ type PlatformFunctionDefinition { """ - Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. + Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. """ accessChannels: [String]! @@ -14111,7 +14131,7 @@ input PlatformFunctionDefinitionFilter { """An input for mutations affecting `PlatformFunctionDefinition`""" input PlatformFunctionDefinitionInput { """ - Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. + Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. """ accessChannels: [String] @@ -14374,7 +14394,7 @@ Represents an update to a `PlatformFunctionDefinition`. Fields that are set will """ input PlatformFunctionDefinitionPatch { """ - Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. + Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. """ accessChannels: [String] @@ -14624,6 +14644,11 @@ type PlatformFunctionDeployment { """Target namespace for this deployment (maps to a K8s namespace)""" namespaceId: UUID! + """ + Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). + """ + realm: String + """ K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} """ @@ -14908,6 +14933,9 @@ input PlatformFunctionDeploymentFilter { """Checks for any expressions in this list.""" or: [PlatformFunctionDeploymentFilter!] + """Filter by the object’s `realm` field.""" + realm: StringFilter + """Filter by the object’s `resources` field.""" resources: JSONFilter @@ -14974,6 +15002,11 @@ input PlatformFunctionDeploymentInput { """Target namespace for this deployment (maps to a K8s namespace)""" namespaceId: UUID! + """ + Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). + """ + realm: String + """ K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} """ @@ -15041,6 +15074,8 @@ enum PlatformFunctionDeploymentOrderBy { NATURAL PRIMARY_KEY_ASC PRIMARY_KEY_DESC + REALM_ASC + REALM_DESC RESOURCES_ASC RESOURCES_DESC REVISION_ASC @@ -15101,6 +15136,11 @@ input PlatformFunctionDeploymentPatch { """Target namespace for this deployment (maps to a K8s namespace)""" namespaceId: UUID + """ + Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). + """ + realm: String + """ K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} """ diff --git a/sdk/constructive-sdk/schemas/modules.graphql b/sdk/constructive-sdk/schemas/modules.graphql index f2eb2bbb5..8c1ad1fce 100644 --- a/sdk/constructive-sdk/schemas/modules.graphql +++ b/sdk/constructive-sdk/schemas/modules.graphql @@ -26568,11 +26568,13 @@ input RlsModulePatch { type RouteModule { apiName: String + appLinksFunctionName: String """Reads a single `CatalogModule` that is related to this `RouteModule`.""" catalogModule: CatalogModule catalogModuleId: UUID databaseId: UUID! + deepLinkFunctionName: String defaultPermissions: [String] """Reads a single `DomainModule` that is related to this `RouteModule`.""" @@ -26635,6 +26637,9 @@ input RouteModuleFilter { """Filter by the object’s `apiName` field.""" apiName: StringFilter + """Filter by the object’s `appLinksFunctionName` field.""" + appLinksFunctionName: StringFilter + """Filter by the object’s `catalogModule` relation.""" catalogModule: CatalogModuleFilter @@ -26647,6 +26652,9 @@ input RouteModuleFilter { """Filter by the object’s `databaseId` field.""" databaseId: UUIDFilter + """Filter by the object’s `deepLinkFunctionName` field.""" + deepLinkFunctionName: StringFilter + """Filter by the object’s `defaultPermissions` field.""" defaultPermissions: StringListFilter @@ -26726,8 +26734,10 @@ input RouteModuleFilter { """An input for mutations affecting `RouteModule`""" input RouteModuleInput { apiName: String + appLinksFunctionName: String catalogModuleId: UUID databaseId: UUID! + deepLinkFunctionName: String defaultPermissions: [String] domainModuleId: UUID entityField: String @@ -26755,10 +26765,14 @@ input RouteModuleInput { enum RouteModuleOrderBy { API_NAME_ASC API_NAME_DESC + APP_LINKS_FUNCTION_NAME_ASC + APP_LINKS_FUNCTION_NAME_DESC CATALOG_MODULE_ID_ASC CATALOG_MODULE_ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC + DEEP_LINK_FUNCTION_NAME_ASC + DEEP_LINK_FUNCTION_NAME_DESC DEFAULT_PERMISSIONS_ASC DEFAULT_PERMISSIONS_DESC DOMAIN_MODULE_ID_ASC @@ -26811,8 +26825,10 @@ Represents an update to a `RouteModule`. Fields that are set will be updated. """ input RouteModulePatch { apiName: String + appLinksFunctionName: String catalogModuleId: UUID databaseId: UUID + deepLinkFunctionName: String defaultPermissions: [String] domainModuleId: UUID entityField: String diff --git a/sdk/constructive-sdk/src/compute/orm/README.md b/sdk/constructive-sdk/src/compute/orm/README.md index d1a03c4e9..7a54f515b 100644 --- a/sdk/constructive-sdk/src/compute/orm/README.md +++ b/sdk/constructive-sdk/src/compute/orm/README.md @@ -297,6 +297,7 @@ CRUD operations for FunctionDeployment records. | `lastError` | String | Yes | | `lastErrorAt` | Datetime | Yes | | `namespaceId` | UUID | Yes | +| `realm` | String | Yes | | `resources` | JSON | Yes | | `revision` | Int | Yes | | `scaleMax` | Int | Yes | @@ -311,13 +312,13 @@ CRUD operations for FunctionDeployment records. ```typescript // List all functionDeployment records -const items = await db.functionDeployment.findMany({ select: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); +const items = await db.functionDeployment.findMany({ select: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); // Get one by id -const item = await db.functionDeployment.findOne({ id: '', select: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); +const item = await db.functionDeployment.findOne({ id: '', select: { annotations: true, concurrency: true, createdAt: true, databaseId: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); // Create -const created = await db.functionDeployment.create({ data: { annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); +const created = await db.functionDeployment.create({ data: { annotations: '', concurrency: '', databaseId: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); // Update const updated = await db.functionDeployment.update({ where: { id: '' }, data: { annotations: '' }, select: { id: true } }).execute(); @@ -1279,6 +1280,7 @@ CRUD operations for PlatformFunctionDeployment records. | `lastError` | String | Yes | | `lastErrorAt` | Datetime | Yes | | `namespaceId` | UUID | Yes | +| `realm` | String | Yes | | `resources` | JSON | Yes | | `revision` | Int | Yes | | `scaleMax` | Int | Yes | @@ -1293,13 +1295,13 @@ CRUD operations for PlatformFunctionDeployment records. ```typescript // List all platformFunctionDeployment records -const items = await db.platformFunctionDeployment.findMany({ select: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); +const items = await db.platformFunctionDeployment.findMany({ select: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); // Get one by id -const item = await db.platformFunctionDeployment.findOne({ id: '', select: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); +const item = await db.platformFunctionDeployment.findOne({ id: '', select: { annotations: true, concurrency: true, createdAt: true, errorCount: true, handlerName: true, id: true, image: true, imageVersion: true, labels: true, lastError: true, lastErrorAt: true, namespaceId: true, realm: true, resources: true, revision: true, scaleMax: true, scaleMin: true, serviceName: true, serviceUrl: true, status: true, timeoutSeconds: true, updatedAt: true } }).execute(); // Create -const created = await db.platformFunctionDeployment.create({ data: { annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); +const created = await db.platformFunctionDeployment.create({ data: { annotations: '', concurrency: '', errorCount: '', handlerName: '', image: '', imageVersion: '', labels: '', lastError: '', lastErrorAt: '', namespaceId: '', realm: '', resources: '', revision: '', scaleMax: '', scaleMin: '', serviceName: '', serviceUrl: '', status: '', timeoutSeconds: '' }, select: { id: true } }).execute(); // Update const updated = await db.platformFunctionDeployment.update({ where: { id: '' }, data: { annotations: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-sdk/src/compute/orm/input-types.ts b/sdk/constructive-sdk/src/compute/orm/input-types.ts index a13230558..f23af59b2 100644 --- a/sdk/constructive-sdk/src/compute/orm/input-types.ts +++ b/sdk/constructive-sdk/src/compute/orm/input-types.ts @@ -296,7 +296,7 @@ export interface FunctionCapabilityBinding { } /** Function definitions — registered cloud functions with routing, queue, and retry configuration */ export interface FunctionDefinition { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[] | null; /** Function task category (e.g. email, embed, chunk, custom) */ category?: string | null; @@ -406,6 +406,8 @@ export interface FunctionDeployment { lastErrorAt?: string | null; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId?: string | null; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string | null; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: Record | null; /** Deployment revision number (incremented on each redeployment) */ @@ -911,7 +913,7 @@ export interface PlatformFunctionCapabilityBinding { } /** Function definitions — registered cloud functions with routing, queue, and retry configuration */ export interface PlatformFunctionDefinition { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[] | null; /** Whether executions are metered through the invocation ledger and billing quota gate */ billable?: boolean | null; @@ -1021,6 +1023,8 @@ export interface PlatformFunctionDeployment { lastErrorAt?: string | null; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId?: string | null; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string | null; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: Record | null; /** Deployment revision number (incremented on each redeployment) */ @@ -2328,6 +2332,7 @@ export type FunctionDeploymentSelect = { lastError?: boolean; lastErrorAt?: boolean; namespaceId?: boolean; + realm?: boolean; resources?: boolean; revision?: boolean; scaleMax?: boolean; @@ -2744,6 +2749,7 @@ export type PlatformFunctionDeploymentSelect = { lastError?: boolean; lastErrorAt?: boolean; namespaceId?: boolean; + realm?: boolean; resources?: boolean; revision?: boolean; scaleMax?: boolean; @@ -3699,6 +3705,8 @@ export interface FunctionDeploymentFilter { not?: FunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: FunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ @@ -4507,6 +4515,8 @@ export interface PlatformFunctionDeploymentFilter { not?: PlatformFunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: PlatformFunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ @@ -6100,6 +6110,8 @@ export type FunctionDeploymentOrderBy = | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' + | 'REALM_ASC' + | 'REALM_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'REVISION_ASC' @@ -6764,6 +6776,8 @@ export type PlatformFunctionDeploymentOrderBy = | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' + | 'REALM_ASC' + | 'REALM_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'REVISION_ASC' @@ -8107,6 +8121,7 @@ export interface CreateFunctionDeploymentInput { lastError?: string; lastErrorAt?: string; namespaceId: string; + realm?: string; resources?: Record; revision?: number; scaleMax?: number; @@ -8129,6 +8144,7 @@ export interface FunctionDeploymentPatch { lastError?: string | null; lastErrorAt?: string | null; namespaceId?: string | null; + realm?: string | null; resources?: Record | null; revision?: number | null; scaleMax?: number | null; @@ -8967,6 +8983,7 @@ export interface CreatePlatformFunctionDeploymentInput { lastError?: string; lastErrorAt?: string; namespaceId: string; + realm?: string; resources?: Record; revision?: number; scaleMax?: number; @@ -8988,6 +9005,7 @@ export interface PlatformFunctionDeploymentPatch { lastError?: string | null; lastErrorAt?: string | null; namespaceId?: string | null; + realm?: string | null; resources?: Record | null; revision?: number | null; scaleMax?: number | null; @@ -11128,7 +11146,7 @@ export interface FunctionCapabilityBindingInput { } /** An input for mutations affecting `FunctionDefinition` */ export interface FunctionDefinitionInput { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[]; /** Function task category (e.g. email, embed, chunk, custom) */ category: string; @@ -11234,6 +11252,8 @@ export interface FunctionDeploymentInput { lastErrorAt?: string; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId: string; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: Record; /** Deployment revision number (incremented on each redeployment) */ @@ -11704,7 +11724,7 @@ export interface PlatformFunctionCapabilityBindingInput { } /** An input for mutations affecting `PlatformFunctionDefinition` */ export interface PlatformFunctionDefinitionInput { - /** Invocation channels this function may be exposed through (api, graph, cron, sync, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ + /** Invocation channels this function may be exposed through (api, graph, cron, sync, page, webhook). Internal worker dispatch is implicit and never listed. Default [] = worker only. */ accessChannels?: string[]; /** Whether executions are metered through the invocation ledger and billing quota gate */ billable?: boolean; @@ -11804,6 +11824,8 @@ export interface PlatformFunctionDeploymentInput { lastErrorAt?: string; /** Target namespace for this deployment (maps to a K8s namespace) */ namespaceId: string; + /** Config/secret realm this deployment resolves required keys against. Per key, the realm-specific atom wins over the NULL-realm default. NULL = the default lane (or a runtime-query worker that fetches per-item realms on demand). */ + realm?: string; /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */ resources?: Record; /** Deployment revision number (incremented on each redeployment) */ @@ -12900,6 +12922,8 @@ export interface FunctionDeploymentFilter { not?: FunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: FunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ @@ -13282,6 +13306,8 @@ export interface PlatformFunctionDeploymentFilter { not?: PlatformFunctionDeploymentFilter; /** Checks for any expressions in this list. */ or?: PlatformFunctionDeploymentFilter[]; + /** Filter by the object’s `realm` field. */ + realm?: StringFilter; /** Filter by the object’s `resources` field. */ resources?: JSONFilter; /** Filter by the object’s `revision` field. */ diff --git a/sdk/constructive-sdk/src/modules/orm/README.md b/sdk/constructive-sdk/src/modules/orm/README.md index 7982fe489..9aeca1c64 100644 --- a/sdk/constructive-sdk/src/modules/orm/README.md +++ b/sdk/constructive-sdk/src/modules/orm/README.md @@ -2947,8 +2947,10 @@ CRUD operations for RouteModule records. | Field | Type | Editable | |-------|------|----------| | `apiName` | String | Yes | +| `appLinksFunctionName` | String | Yes | | `catalogModuleId` | UUID | Yes | | `databaseId` | UUID | Yes | +| `deepLinkFunctionName` | String | Yes | | `defaultPermissions` | String | Yes | | `domainModuleId` | UUID | Yes | | `entityField` | String | Yes | @@ -2975,13 +2977,13 @@ CRUD operations for RouteModule records. ```typescript // List all routeModule records -const items = await db.routeModule.findMany({ select: { apiName: true, catalogModuleId: true, databaseId: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }).execute(); +const items = await db.routeModule.findMany({ select: { apiName: true, appLinksFunctionName: true, catalogModuleId: true, databaseId: true, deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }).execute(); // Get one by id -const item = await db.routeModule.findOne({ id: '', select: { apiName: true, catalogModuleId: true, databaseId: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }).execute(); +const item = await db.routeModule.findOne({ id: '', select: { apiName: true, appLinksFunctionName: true, catalogModuleId: true, databaseId: true, deepLinkFunctionName: true, defaultPermissions: true, domainModuleId: true, entityField: true, entityTableId: true, hostnameBindingsTableId: true, hostnameBindingsTableName: true, id: true, policies: true, prefix: true, privateApiName: true, privateSchemaId: true, privateSchemaName: true, provisions: true, publicSchemaName: true, resolverFunctionName: true, routeBindingsTableId: true, routeBindingsTableName: true, routesTableId: true, routesTableName: true, schemaId: true, scope: true } }).execute(); // Create -const created = await db.routeModule.create({ data: { apiName: '', catalogModuleId: '', databaseId: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }, select: { id: true } }).execute(); +const created = await db.routeModule.create({ data: { apiName: '', appLinksFunctionName: '', catalogModuleId: '', databaseId: '', deepLinkFunctionName: '', defaultPermissions: '', domainModuleId: '', entityField: '', entityTableId: '', hostnameBindingsTableId: '', hostnameBindingsTableName: '', policies: '', prefix: '', privateApiName: '', privateSchemaId: '', privateSchemaName: '', provisions: '', publicSchemaName: '', resolverFunctionName: '', routeBindingsTableId: '', routeBindingsTableName: '', routesTableId: '', routesTableName: '', schemaId: '', scope: '' }, select: { id: true } }).execute(); // Update const updated = await db.routeModule.update({ where: { id: '' }, data: { apiName: '' }, select: { id: true } }).execute(); diff --git a/sdk/constructive-sdk/src/modules/orm/input-types.ts b/sdk/constructive-sdk/src/modules/orm/input-types.ts index ed552e481..53ac02d2c 100644 --- a/sdk/constructive-sdk/src/modules/orm/input-types.ts +++ b/sdk/constructive-sdk/src/modules/orm/input-types.ts @@ -1937,8 +1937,10 @@ export interface RlsModule { } export interface RouteModule { apiName?: string | null; + appLinksFunctionName?: string | null; catalogModuleId?: string | null; databaseId?: string | null; + deepLinkFunctionName?: string | null; defaultPermissions?: string[] | null; domainModuleId?: string | null; entityField?: string | null; @@ -3990,8 +3992,10 @@ export type RlsModuleSelect = { }; export type RouteModuleSelect = { apiName?: boolean; + appLinksFunctionName?: boolean; catalogModuleId?: boolean; databaseId?: boolean; + deepLinkFunctionName?: boolean; defaultPermissions?: boolean; domainModuleId?: boolean; entityField?: boolean; @@ -7279,6 +7283,8 @@ export interface RouteModuleFilter { and?: RouteModuleFilter[]; /** Filter by the object’s `apiName` field. */ apiName?: StringFilter; + /** Filter by the object’s `appLinksFunctionName` field. */ + appLinksFunctionName?: StringFilter; /** Filter by the object’s `catalogModule` relation. */ catalogModule?: CatalogModuleFilter; /** A related `catalogModule` exists. */ @@ -7287,6 +7293,8 @@ export interface RouteModuleFilter { catalogModuleId?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; + /** Filter by the object’s `deepLinkFunctionName` field. */ + deepLinkFunctionName?: StringFilter; /** Filter by the object’s `defaultPermissions` field. */ defaultPermissions?: StringListFilter; /** Filter by the object’s `domainModule` relation. */ @@ -10538,10 +10546,14 @@ export type RlsModuleOrderBy = export type RouteModuleOrderBy = | 'API_NAME_ASC' | 'API_NAME_DESC' + | 'APP_LINKS_FUNCTION_NAME_ASC' + | 'APP_LINKS_FUNCTION_NAME_DESC' | 'CATALOG_MODULE_ID_ASC' | 'CATALOG_MODULE_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' + | 'DEEP_LINK_FUNCTION_NAME_ASC' + | 'DEEP_LINK_FUNCTION_NAME_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC' | 'DOMAIN_MODULE_ID_ASC' @@ -14264,8 +14276,10 @@ export interface CreateRouteModuleInput { clientMutationId?: string; routeModule: { apiName?: string; + appLinksFunctionName?: string; catalogModuleId?: string; databaseId: string; + deepLinkFunctionName?: string; defaultPermissions?: string[]; domainModuleId?: string; entityField?: string; @@ -14290,8 +14304,10 @@ export interface CreateRouteModuleInput { } export interface RouteModulePatch { apiName?: string | null; + appLinksFunctionName?: string | null; catalogModuleId?: string | null; databaseId?: string | null; + deepLinkFunctionName?: string | null; defaultPermissions?: string[] | null; domainModuleId?: string | null; entityField?: string | null; @@ -17201,8 +17217,10 @@ export interface RlsModuleInput { /** An input for mutations affecting `RouteModule` */ export interface RouteModuleInput { apiName?: string; + appLinksFunctionName?: string; catalogModuleId?: string; databaseId: string; + deepLinkFunctionName?: string; defaultPermissions?: string[]; domainModuleId?: string; entityField?: string; @@ -17845,6 +17863,8 @@ export interface RouteModuleFilter { and?: RouteModuleFilter[]; /** Filter by the object’s `apiName` field. */ apiName?: StringFilter; + /** Filter by the object’s `appLinksFunctionName` field. */ + appLinksFunctionName?: StringFilter; /** Filter by the object’s `catalogModule` relation. */ catalogModule?: CatalogModuleFilter; /** A related `catalogModule` exists. */ @@ -17853,6 +17873,8 @@ export interface RouteModuleFilter { catalogModuleId?: UUIDFilter; /** Filter by the object’s `databaseId` field. */ databaseId?: UUIDFilter; + /** Filter by the object’s `deepLinkFunctionName` field. */ + deepLinkFunctionName?: StringFilter; /** Filter by the object’s `defaultPermissions` field. */ defaultPermissions?: StringListFilter; /** Filter by the object’s `domainModule` relation. */