@xemahq/app-platform-internal-api-client 0.3.19 → 0.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/models/appDto.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export interface AppDto {
|
|
|
15
15
|
orgId: string;
|
|
16
16
|
/** @nullable */
|
|
17
17
|
projectId: string | null;
|
|
18
|
+
/** Canonical `xema://…` Space URI of the owner. TOTAL — every portal states its owner, and an org-owned portal reads `xema://orgs/<orgId>` rather than an absence, so one fact has exactly one representation. A PERSONAL portal is `xema://users/<id>`; it is visible to its owner by ownership and to nobody else until promoted via `POST /bff/portals/:id/rescope`. Ask THIS field, never `projectId`: an org-owned portal and a personal one both carry `projectId === null`. */
|
|
19
|
+
ownerSpaceUri: string;
|
|
18
20
|
/** Canonical XemaObjectRef computed from (orgId, projectId, App, slug). */
|
|
19
21
|
ref: string;
|
|
20
22
|
displayName: string;
|
|
@@ -12,6 +12,8 @@ import type { SurfaceKind } from './surfaceKind.js';
|
|
|
12
12
|
export interface CreateAppDto {
|
|
13
13
|
/** Stable slug unique within (orgId, projectId) for project apps, or (orgId) for portals. */
|
|
14
14
|
slug: string;
|
|
15
|
+
/** Canonical `xema://…` Space URI of the owner, when it is anything other than the organisation. OMITTED means the organisation owns it — an answer, not a gap, and the state every existing portal is in. A personal portal is `xema://users/<id>`. Refused (422) if the address does not parse or names a tier the `portal` resource kind does not admit; never silently defaulted to the organisation, which would be the widest possible reading of a malformed request. */
|
|
16
|
+
ownerSpaceUri?: string;
|
|
15
17
|
orgId: string;
|
|
16
18
|
/**
|
|
17
19
|
* Project id. Null or absent for org-scoped portals.
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* App Runtime API
|
|
4
4
|
* OpenAPI spec version: 0.1.2
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* Ownership tier (system | org | project | app | session | biome | user).
|
|
8
|
-
*/
|
|
9
6
|
export type SpaceKind = typeof SpaceKind[keyof typeof SpaceKind];
|
|
10
7
|
export declare const SpaceKind: {
|
|
11
8
|
readonly system: "system";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/app-platform-internal-api-client",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.21",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"service": "app-platform-api",
|
|
20
20
|
"biome": "app-platform",
|
|
21
21
|
"target": "server",
|
|
22
|
-
"generator": "@xemahq/api-client-generator@0.15.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@0.15.2",
|
|
23
23
|
"source": "openapi.internal.json"
|
|
24
24
|
},
|
|
25
25
|
"license": "LicenseRef-Xema-BSL-1.1",
|