@smartspace/api-client 0.1.0-pr.1348.bbd394e → 0.1.0-pr.1349.a65b34e

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.
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ /**
8
+ * A change topic: a resource (models), a row (models:<id>), a view of a row (models:<id>:deployment) or a resource under a parent row (workspaces:<id>/messageThreads). The resource and view names are those of ChangeTags.ChangeTag and ChangeTags.ChangeTagView.
9
+ * @pattern ^(?<resource>[a-z][A-Za-z]*)(?::(?<id>[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})(?::(?<view>[a-z]+(?:-[a-z]+)*)|/(?<child>[a-z][A-Za-z]*))?)?$
10
+ */
11
+ export type ChangeTagsTopic = string;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -77,6 +77,7 @@ export * from './blocksStateInterfaceMetadata';
77
77
  export * from './blocksUsedInRef';
78
78
  export * from './changeTagsChangeTag';
79
79
  export * from './changeTagsChangeTagView';
80
+ export * from './changeTagsTopic';
80
81
  export * from './configApiControllersAuthDiscoveryControllerAuthDiscovery';
81
82
  export * from './configApiFlowRunIdentityMapRequest';
82
83
  export * from './configApiRunFlowRequest';
@@ -93,6 +93,7 @@ __exportStar(require("./blocksStateInterfaceMetadata"), exports);
93
93
  __exportStar(require("./blocksUsedInRef"), exports);
94
94
  __exportStar(require("./changeTagsChangeTag"), exports);
95
95
  __exportStar(require("./changeTagsChangeTagView"), exports);
96
+ __exportStar(require("./changeTagsTopic"), exports);
96
97
  __exportStar(require("./configApiControllersAuthDiscoveryControllerAuthDiscovery"), exports);
97
98
  __exportStar(require("./configApiFlowRunIdentityMapRequest"), exports);
98
99
  __exportStar(require("./configApiRunFlowRequest"), exports);
@@ -26,12 +26,13 @@ export type IConfigHubInvoker = {
26
26
  leaveGroup(groupName: string): Promise<void>;
27
27
  /**
28
28
  * Joins a change topic (models, models:<id>, models:<id>:deployment,
29
- * workspaces:<id>/messageThreads). Refused with a hub error when the caller may not read
30
- * what the topic names.
29
+ * workspaces:<id>/messageThreads). Answers true once joined, and false when the join is
30
+ * refused: the topic is malformed, or the caller may not read what it names. A refusal is an
31
+ * answer, not an error, so a client can tell it from a call that failed and may be asked again.
31
32
  * @param topic Transpiled from string
32
- * @returns Transpiled from System.Threading.Tasks.Task
33
+ * @returns Transpiled from System.Threading.Tasks.Task<bool>
33
34
  */
34
- joinTopic(topic: string): Promise<void>;
35
+ joinTopic(topic: string): Promise<boolean>;
35
36
  /**
36
37
  * @param topic Transpiled from string
37
38
  * @returns Transpiled from System.Threading.Tasks.Task
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartspace/api-client",
3
- "version": "0.1.0-pr.1348.bbd394e",
3
+ "version": "0.1.0-pr.1349.a65b34e",
4
4
  "description": "Generated TypeScript client for SmartSpace APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -53,5 +53,5 @@
53
53
  "url": "https://github.com/Smartspace-ai/Smartspace-app-api.git",
54
54
  "directory": "tools/sdk-package"
55
55
  },
56
- "smartspaceContentHash": "29f0a92a42081f58540184609773f4aebf53279f5b45311b5f5cb595630440f5"
56
+ "smartspaceContentHash": "5c610beed12dcc68061d5382c9377467928f00352c47f99114b1c00ae7cdf050"
57
57
  }