@smartspace/api-client 0.1.0-main.bc2778a → 0.1.0-main.bfa37bc
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/generated/chat/api.d.ts +52 -47
- package/dist/generated/chat/api.js +148 -141
- package/dist/generated/chat/api.msw.d.ts +3 -1
- package/dist/generated/chat/api.msw.js +33 -14
- package/dist/generated/chat/models/changeTagsTopic.d.ts +11 -0
- package/dist/generated/chat/models/changeTagsTopic.js +8 -0
- package/dist/generated/chat/models/errorCode.d.ts +182 -0
- package/dist/generated/chat/models/errorCode.js +186 -0
- package/dist/generated/chat/models/index.d.ts +6 -0
- package/dist/generated/chat/models/index.js +6 -0
- package/dist/generated/chat/models/messagesMessageError.d.ts +3 -1
- package/dist/generated/chat/models/messagesMessageErrorErrorCode.d.ts +11 -0
- package/dist/generated/chat/models/messagesMessageErrorErrorCode.js +2 -0
- package/dist/generated/chat/models/microsoftAspNetCoreMvcProblemDetails.d.ts +2 -1
- package/dist/generated/chat/models/microsoftAspNetCoreMvcProblemDetails.js +0 -6
- package/dist/generated/chat/models/notificationGetParams.d.ts +6 -4
- package/dist/generated/chat/models/openAPIGetOpenApiDocument200One.d.ts +9 -0
- package/dist/generated/chat/models/openAPIGetOpenApiDocument200One.js +8 -0
- package/dist/generated/chat/models/openAPIGetOpenApiDocument200Three.d.ts +9 -0
- package/dist/generated/chat/models/openAPIGetOpenApiDocument200Three.js +8 -0
- package/dist/generated/chat/models/openAPIGetOpenApiDocument200Two.d.ts +9 -0
- package/dist/generated/chat/models/openAPIGetOpenApiDocument200Two.js +8 -0
- package/dist/generated/chat/models/workSpacesGetAccessParams.d.ts +10 -2
- package/dist/generated/chat/models/workSpacesGetGetParams.d.ts +10 -2
- package/dist/generated/chat/operation-tags.d.ts +2 -2
- package/dist/generated/chat/operation-tags.js +2 -2
- package/dist/generated/chat/zod.d.ts +23 -10
- package/dist/generated/chat/zod.js +51 -38
- package/dist/generated/config/api.d.ts +220 -210
- package/dist/generated/config/api.js +453 -421
- package/dist/generated/config/api.msw.d.ts +20 -7
- package/dist/generated/config/api.msw.js +141 -35
- package/dist/generated/config/models/accessGetGroupsParams.d.ts +8 -0
- package/dist/generated/config/models/accessGetUsersInRoleRolesRoleIdUsersParams.d.ts +9 -1
- package/dist/generated/config/models/accessGetUsersInRoleUsersParams.d.ts +10 -2
- package/dist/generated/config/models/accessSearchGroupsParams.d.ts +8 -0
- package/dist/generated/config/models/accessSearchServicePrincipalsParams.d.ts +8 -0
- package/dist/generated/config/models/accessSearchUsersParams.d.ts +8 -0
- package/dist/generated/config/models/changeTagsTopic.d.ts +11 -0
- package/dist/generated/config/models/changeTagsTopic.js +8 -0
- package/dist/generated/config/models/containerDataSets.d.ts +12 -0
- package/dist/generated/config/models/containerDataSets.js +2 -0
- package/dist/generated/config/models/dataSetsGetItemsParams.d.ts +8 -0
- package/dist/generated/config/models/dataSetsGetParams.d.ts +10 -2
- package/dist/generated/config/models/dataSourcesContainerSchema200One.d.ts +9 -0
- package/dist/generated/config/models/dataSourcesContainerSchema200One.js +8 -0
- package/dist/generated/config/models/dataSourcesContainerSchema200Three.d.ts +9 -0
- package/dist/generated/config/models/dataSourcesContainerSchema200Three.js +8 -0
- package/dist/generated/config/models/dataSourcesContainerSchema200Two.d.ts +9 -0
- package/dist/generated/config/models/dataSourcesContainerSchema200Two.js +8 -0
- package/dist/generated/config/models/dataSourcesGetParams.d.ts +10 -2
- package/dist/generated/config/models/dataSpacesGetDataSetsParams.d.ts +10 -2
- package/dist/generated/config/models/dataSpacesGetParams.d.ts +10 -2
- package/dist/generated/config/models/errorCode.d.ts +182 -0
- package/dist/generated/config/models/errorCode.js +186 -0
- package/dist/generated/config/models/flowRunsGetStepExecutionsParams.d.ts +1 -1
- package/dist/generated/config/models/flowsFlowRun.d.ts +3 -2
- package/dist/generated/config/models/flowsFlowRunDataSet.d.ts +11 -0
- package/dist/generated/config/models/flowsFlowRunDataSet.js +2 -0
- package/dist/generated/config/models/index.d.ts +14 -0
- package/dist/generated/config/models/index.js +14 -0
- package/dist/generated/config/models/messagesMessageError.d.ts +3 -1
- package/dist/generated/config/models/messagesMessageErrorErrorCode.d.ts +11 -0
- package/dist/generated/config/models/messagesMessageErrorErrorCode.js +2 -0
- package/dist/generated/config/models/microsoftAspNetCoreMvcProblemDetails.d.ts +2 -1
- package/dist/generated/config/models/microsoftAspNetCoreMvcProblemDetails.js +0 -6
- package/dist/generated/config/models/notificationGetParams.d.ts +6 -4
- package/dist/generated/config/models/openAPIGetOpenApiDocument200One.d.ts +9 -0
- package/dist/generated/config/models/openAPIGetOpenApiDocument200One.js +8 -0
- package/dist/generated/config/models/openAPIGetOpenApiDocument200Three.d.ts +9 -0
- package/dist/generated/config/models/openAPIGetOpenApiDocument200Three.js +8 -0
- package/dist/generated/config/models/openAPIGetOpenApiDocument200Two.d.ts +9 -0
- package/dist/generated/config/models/openAPIGetOpenApiDocument200Two.js +8 -0
- package/dist/generated/config/models/restoresRestoreExecution.d.ts +14 -0
- package/dist/generated/config/models/restoresRestoreExecution.js +8 -0
- package/dist/generated/config/models/restoresRestoreStarted.d.ts +9 -0
- package/dist/generated/config/models/restoresRestoreStarted.js +8 -0
- package/dist/generated/config/models/restoresStartRestore.d.ts +12 -0
- package/dist/generated/config/models/restoresStartRestore.js +8 -0
- package/dist/generated/config/models/servicePrincipalsGetServicePrincipalsParams.d.ts +9 -1
- package/dist/generated/config/models/usersGetAccessWorkSpacesParams.d.ts +4 -2
- package/dist/generated/config/models/usersGetUsersParams.d.ts +8 -0
- package/dist/generated/config/models/workSpaceTemplatesGetParams.d.ts +6 -7
- package/dist/generated/config/models/workSpacesGetGetParams.d.ts +10 -2
- package/dist/generated/config/models/workSpacesGetWorkspaceFilesParams.d.ts +9 -1
- package/dist/generated/config/operation-tags.d.ts +8 -2
- package/dist/generated/config/operation-tags.js +8 -2
- package/dist/generated/config/zod.d.ts +351 -34
- package/dist/generated/config/zod.js +394 -90
- package/dist/generated/error-codes.d.ts +24 -0
- package/dist/generated/error-codes.js +164 -0
- package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +25 -4
- package/dist/generated/signalr/TypedSignalR.Client/index.js +10 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +10 -1
- package/dist/instance.d.ts +14 -3
- package/dist/instance.js +29 -3
- package/dist/problem.d.ts +26 -6
- package/dist/problem.js +22 -11
- package/dist/type-checks.d.ts +1 -0
- package/dist/type-checks.js +5 -0
- package/package.json +3 -3
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated from the `ErrorCode` schema's `x-error-code-info` by scripts/error-codes.js.
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
*/
|
|
5
|
+
import type { ErrorCodeKnown } from './chat/models';
|
|
6
|
+
/** The category app-api raises a code in; it decides the status. */
|
|
7
|
+
export type ErrorCodeCategory = 'Conflict' | 'Dependency' | 'Error' | 'NotFound' | 'Security' | 'Validation';
|
|
8
|
+
/**
|
|
9
|
+
* What a code answers with, for planning text before a failure happens. The response a client
|
|
10
|
+
* gets always wins: read its own status and `retryable` when you have them.
|
|
11
|
+
*
|
|
12
|
+
* `retryable` means the same request may succeed if repeated. Sending a chat message again runs
|
|
13
|
+
* its flow again, so offer a Retry for it rather than resending automatically.
|
|
14
|
+
*/
|
|
15
|
+
export interface ErrorCodeInfo {
|
|
16
|
+
readonly category: ErrorCodeCategory;
|
|
17
|
+
/** Absent for a code with no single status, such as one only ever on a failed message. */
|
|
18
|
+
readonly status?: number;
|
|
19
|
+
readonly retryable: boolean;
|
|
20
|
+
}
|
|
21
|
+
/** Per known code. A code with no entry has no single or no published answer; go by the response. */
|
|
22
|
+
export declare const errorCodeInfo: {
|
|
23
|
+
readonly [K in ErrorCodeKnown]?: ErrorCodeInfo;
|
|
24
|
+
};
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.errorCodeInfo = void 0;
|
|
4
|
+
/** Per known code. A code with no entry has no single or no published answer; go by the response. */
|
|
5
|
+
exports.errorCodeInfo = {
|
|
6
|
+
'access.denied': { category: 'Security', status: 403, retryable: false },
|
|
7
|
+
'access.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
8
|
+
'access.platform_admin_required': { category: 'Security', status: 403, retryable: false },
|
|
9
|
+
'agent.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
10
|
+
'ai_api.conflict': { category: 'Conflict', status: 409, retryable: false },
|
|
11
|
+
'ai_api.error': { category: 'Error', status: 500, retryable: false },
|
|
12
|
+
'ai_api.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
13
|
+
'ai_api.stream_broken': { category: 'Dependency', retryable: true },
|
|
14
|
+
'ai_api.unauthorized': { category: 'Dependency', status: 503, retryable: false },
|
|
15
|
+
'ai_api.unavailable': { category: 'Dependency', status: 503, retryable: true },
|
|
16
|
+
'ai_api.validation': { category: 'Validation', status: 400, retryable: false },
|
|
17
|
+
'ai_service.failed': { category: 'Error', status: 500, retryable: false },
|
|
18
|
+
'app_role.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
19
|
+
'auth.invalid_key': { category: 'Dependency', status: 503, retryable: false },
|
|
20
|
+
'auth.no_principal': { category: 'Error', status: 500, retryable: false },
|
|
21
|
+
'block.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
22
|
+
'block.source_invalid': { category: 'Validation', status: 400, retryable: false },
|
|
23
|
+
'block.source_unavailable': { category: 'NotFound', status: 404, retryable: false },
|
|
24
|
+
'block.version_invalid': { category: 'Validation', status: 400, retryable: false },
|
|
25
|
+
'block_set.in_use': { category: 'Conflict', status: 409, retryable: false },
|
|
26
|
+
'block_set.name_taken': { category: 'Conflict', status: 409, retryable: false },
|
|
27
|
+
'block_set.native_block_name': { category: 'Validation', status: 400, retryable: false },
|
|
28
|
+
'block_set.publish_needs_confirmation': { category: 'Conflict', status: 409, retryable: false },
|
|
29
|
+
'block_set.storage_unavailable': { category: 'Dependency', status: 503, retryable: true },
|
|
30
|
+
'chat.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
31
|
+
'chat_message.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
32
|
+
'comment.invalid': { category: 'Validation', status: 400, retryable: false },
|
|
33
|
+
'comment.target_required': { category: 'Validation', status: 400, retryable: false },
|
|
34
|
+
'config_api.error': { category: 'Dependency', status: 503, retryable: false },
|
|
35
|
+
'config_api.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
36
|
+
'config_api.rejected': { category: 'Dependency', status: 503, retryable: false },
|
|
37
|
+
'config_api.unauthorized': { category: 'Dependency', status: 503, retryable: false },
|
|
38
|
+
'config_api.unavailable': { category: 'Dependency', status: 503, retryable: true },
|
|
39
|
+
'config_api.unreachable': { category: 'Dependency', status: 503, retryable: true },
|
|
40
|
+
'conflict': { category: 'Conflict', status: 409, retryable: false },
|
|
41
|
+
'connector.invalid': { category: 'Validation', status: 400, retryable: false },
|
|
42
|
+
'connector.not_attached': { category: 'Security', status: 403, retryable: false },
|
|
43
|
+
'connector.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
44
|
+
'container.multiple_runs': { category: 'Validation', status: 400, retryable: false },
|
|
45
|
+
'container_item.container_missing': { category: 'Dependency', status: 503, retryable: false },
|
|
46
|
+
'container_item.deleted_at_source': { category: 'Conflict', status: 409, retryable: false },
|
|
47
|
+
'container_item.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
48
|
+
'cosmos.throttled': { category: 'Dependency', status: 503, retryable: true },
|
|
49
|
+
'credential.invalid': { category: 'Validation', status: 400, retryable: false },
|
|
50
|
+
'dataset.export_failed': { category: 'Error', status: 500, retryable: false },
|
|
51
|
+
'dataset.filter_invalid': { category: 'Validation', status: 400, retryable: false },
|
|
52
|
+
'dataset.invalid': { category: 'Validation', status: 400, retryable: false },
|
|
53
|
+
'dataset.name_taken': { category: 'Conflict', status: 409, retryable: false },
|
|
54
|
+
'dataset.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
55
|
+
'dataset.property_name_invalid': { category: 'Validation', status: 400, retryable: false },
|
|
56
|
+
'dataset.too_many_data_types': { category: 'Validation', status: 400, retryable: false },
|
|
57
|
+
'dataset_item.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
58
|
+
'datasource.admin_required': { category: 'Security', status: 403, retryable: false },
|
|
59
|
+
'datasource.assigned': { category: 'Validation', status: 400, retryable: false },
|
|
60
|
+
'datasource.connection_failed': { category: 'Dependency', status: 503, retryable: true },
|
|
61
|
+
'datasource.connection_rejected': { category: 'Validation', status: 400, retryable: false },
|
|
62
|
+
'datasource.invalid': { category: 'Validation', status: 400, retryable: false },
|
|
63
|
+
'datasource.name_taken': { category: 'Conflict', status: 409, retryable: false },
|
|
64
|
+
'datasource.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
65
|
+
'datasource.not_searchable': { category: 'Validation', status: 400, retryable: false },
|
|
66
|
+
'datasource_container.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
67
|
+
'datasource_type.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
68
|
+
'dataspace.admin_required': { category: 'Security', status: 403, retryable: false },
|
|
69
|
+
'dataspace.invalid': { category: 'Validation', status: 400, retryable: false },
|
|
70
|
+
'dataspace.name_taken': { category: 'Conflict', status: 409, retryable: false },
|
|
71
|
+
'dataspace.name_too_long': { category: 'Validation', status: 400, retryable: false },
|
|
72
|
+
'dataspace.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
73
|
+
'directory.service_principal_not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
74
|
+
'directory.user_not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
75
|
+
'draft.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
76
|
+
'draft.not_publishable': { category: 'Validation', status: 400, retryable: false },
|
|
77
|
+
'draft.row_version_stale': { category: 'Conflict', status: 409, retryable: false },
|
|
78
|
+
'embeddings.model_not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
79
|
+
'favourite.user_required': { category: 'Validation', status: 400, retryable: false },
|
|
80
|
+
'file.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
81
|
+
'file.scope_mismatch': { category: 'Security', status: 403, retryable: false },
|
|
82
|
+
'file.storage_unavailable': { category: 'Dependency', status: 503, retryable: true },
|
|
83
|
+
'file.upload_invalid': { category: 'Validation', status: 400, retryable: false },
|
|
84
|
+
'flow.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
85
|
+
'flow.trigger_input_missing': { category: 'Conflict', status: 409, retryable: false },
|
|
86
|
+
'flow_definition.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
87
|
+
'flow_run.already_finished': { category: 'Conflict', status: 409, retryable: false },
|
|
88
|
+
'flow_run.execution_not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
89
|
+
'flow_run.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
90
|
+
'flow_run.value_not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
91
|
+
'flow_variable.not_editable': { category: 'Validation', status: 400, retryable: false },
|
|
92
|
+
'flow_variable.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
93
|
+
'gone': { category: 'Error', status: 500, retryable: false },
|
|
94
|
+
'group.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
95
|
+
'ingest_queue.unavailable': { category: 'Dependency', status: 503, retryable: true },
|
|
96
|
+
'install.config_unavailable': { category: 'Error', status: 500, retryable: false },
|
|
97
|
+
'install.no_version_history': { category: 'NotFound', status: 404, retryable: false },
|
|
98
|
+
'install_parameter.value_required': { category: 'Validation', status: 400, retryable: false },
|
|
99
|
+
'llm.auth_failed': { category: 'Dependency', status: 503, retryable: false },
|
|
100
|
+
'llm.content_policy': { category: 'Validation', status: 400, retryable: false },
|
|
101
|
+
'llm.context_window': { category: 'Validation', status: 400, retryable: false },
|
|
102
|
+
'llm.invalid_request': { category: 'Validation', status: 400, retryable: false },
|
|
103
|
+
'llm.not_found': { category: 'Dependency', status: 503, retryable: false },
|
|
104
|
+
'llm.provider_error': { category: 'Dependency', status: 503, retryable: false },
|
|
105
|
+
'llm.rate_limit': { category: 'Dependency', status: 503, retryable: true },
|
|
106
|
+
'llm.schema_validation': { category: 'Dependency', status: 503, retryable: false },
|
|
107
|
+
'llm.timeout': { category: 'Dependency', status: 503, retryable: true },
|
|
108
|
+
'llm.transient_connection': { category: 'Dependency', status: 503, retryable: true },
|
|
109
|
+
'llm.unsupported_modality': { category: 'Validation', status: 400, retryable: false },
|
|
110
|
+
'llm.unsupported_tools': { category: 'Validation', status: 400, retryable: false },
|
|
111
|
+
'llm.upstream_error': { category: 'Dependency', status: 503, retryable: true },
|
|
112
|
+
'message.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
113
|
+
'method_not_allowed': { category: 'Error', status: 500, retryable: false },
|
|
114
|
+
'model.invalid': { category: 'Validation', status: 400, retryable: false },
|
|
115
|
+
'model.no_deployment': { category: 'Validation', status: 400, retryable: false },
|
|
116
|
+
'model.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
117
|
+
'model_catalog.credentials_invalid': { category: 'Validation', status: 400, retryable: false },
|
|
118
|
+
'model_catalog.unreachable': { category: 'Dependency', status: 503, retryable: true },
|
|
119
|
+
'model_deployment.failed': { category: 'Error', status: 500, retryable: false },
|
|
120
|
+
'model_deployment.invalid': { category: 'Validation', status: 400, retryable: false },
|
|
121
|
+
'model_deployment.misconfigured': { category: 'Validation', status: 400, retryable: false },
|
|
122
|
+
'model_deployment.no_provider': { category: 'Validation', status: 400, retryable: false },
|
|
123
|
+
'model_deployment.no_region': { category: 'Validation', status: 400, retryable: false },
|
|
124
|
+
'model_deployment.no_url': { category: 'Validation', status: 400, retryable: false },
|
|
125
|
+
'model_deployment.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
126
|
+
'model_deployment.script_failed': { category: 'Error', status: 500, retryable: false },
|
|
127
|
+
'model_deployment_provider.invalid': { category: 'Validation', status: 400, retryable: false },
|
|
128
|
+
'model_deployment_provider.not_allowed': { category: 'Validation', status: 400, retryable: false },
|
|
129
|
+
'model_deployment_provider.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
130
|
+
'not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
131
|
+
'notification.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
132
|
+
'plan.invalid': { category: 'Validation', status: 400, retryable: false },
|
|
133
|
+
'report.parameters_invalid': { category: 'Validation', status: 400, retryable: false },
|
|
134
|
+
'restore.already_running': { category: 'Conflict', status: 409, retryable: false },
|
|
135
|
+
'restore.timestamp_not_past': { category: 'Validation', status: 400, retryable: false },
|
|
136
|
+
'restore.unknown_store': { category: 'Validation', status: 400, retryable: false },
|
|
137
|
+
'secret.invalid': { category: 'Validation', status: 400, retryable: false },
|
|
138
|
+
'secret.mode_mismatch': { category: 'Conflict', status: 409, retryable: false },
|
|
139
|
+
'secret.name_taken': { category: 'Conflict', status: 409, retryable: false },
|
|
140
|
+
'secret.no_user': { category: 'Security', status: 403, retryable: false },
|
|
141
|
+
'secret.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
142
|
+
'secret.run_has_no_user': { category: 'Validation', status: 400, retryable: false },
|
|
143
|
+
'secret.run_required': { category: 'Validation', status: 400, retryable: false },
|
|
144
|
+
'secret.user_mismatch': { category: 'Security', status: 403, retryable: false },
|
|
145
|
+
'secret.user_value_not_set': { category: 'NotFound', status: 404, retryable: false },
|
|
146
|
+
'speech.identity_misconfigured': { category: 'Error', status: 500, retryable: false },
|
|
147
|
+
'speech.token_unavailable': { category: 'Dependency', status: 503, retryable: true },
|
|
148
|
+
'sync.container_in_use': { category: 'Conflict', status: 409, retryable: false },
|
|
149
|
+
'thread.already_exists': { category: 'Conflict', status: 409, retryable: false },
|
|
150
|
+
'thread.already_running': { category: 'Conflict', status: 409, retryable: false },
|
|
151
|
+
'thread.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
152
|
+
'thread.user_not_member': { category: 'Validation', status: 400, retryable: false },
|
|
153
|
+
'unavailable': { category: 'Dependency', status: 503, retryable: true },
|
|
154
|
+
'user.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
155
|
+
'validation': { category: 'Validation', status: 400, retryable: false },
|
|
156
|
+
'workspace.admin_required': { category: 'Security', status: 403, retryable: false },
|
|
157
|
+
'workspace.files_dataspace_locked': { category: 'Validation', status: 400, retryable: false },
|
|
158
|
+
'workspace.id_invalid': { category: 'Validation', status: 400, retryable: false },
|
|
159
|
+
'workspace.invalid': { category: 'Validation', status: 400, retryable: false },
|
|
160
|
+
'workspace.name_taken': { category: 'Conflict', status: 409, retryable: false },
|
|
161
|
+
'workspace.no_active_flow': { category: 'Conflict', status: 409, retryable: false },
|
|
162
|
+
'workspace.not_found': { category: 'NotFound', status: 404, retryable: false },
|
|
163
|
+
'workspace_admin.user_lacks_permission': { category: 'Validation', status: 400, retryable: false },
|
|
164
|
+
};
|
package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts
CHANGED
|
@@ -12,6 +12,18 @@ export type IChatHubInvoker = {
|
|
|
12
12
|
* @returns Transpiled from System.Threading.Tasks.Task
|
|
13
13
|
*/
|
|
14
14
|
leaveGroup(groupName: string): Promise<void>;
|
|
15
|
+
/**
|
|
16
|
+
* Joins a change topic, as on the config hub (): true once
|
|
17
|
+
* joined, false when the topic is malformed or the caller may not read what it names.
|
|
18
|
+
* @param topic Transpiled from string
|
|
19
|
+
* @returns Transpiled from System.Threading.Tasks.Task<bool>
|
|
20
|
+
*/
|
|
21
|
+
joinTopic(topic: string): Promise<boolean>;
|
|
22
|
+
/**
|
|
23
|
+
* @param topic Transpiled from string
|
|
24
|
+
* @returns Transpiled from System.Threading.Tasks.Task
|
|
25
|
+
*/
|
|
26
|
+
leaveTopic(topic: string): Promise<void>;
|
|
15
27
|
};
|
|
16
28
|
export type IConfigHubInvoker = {
|
|
17
29
|
/**
|
|
@@ -26,12 +38,13 @@ export type IConfigHubInvoker = {
|
|
|
26
38
|
leaveGroup(groupName: string): Promise<void>;
|
|
27
39
|
/**
|
|
28
40
|
* Joins a change topic (models, models:<id>, models:<id>:deployment,
|
|
29
|
-
* workspaces:<id>/messageThreads).
|
|
30
|
-
*
|
|
41
|
+
* workspaces:<id>/messageThreads). Answers true once joined, and false when the join is
|
|
42
|
+
* refused: the topic is malformed, or the caller may not read what it names. A refusal is an
|
|
43
|
+
* answer, not an error, so a client can tell it from a call that failed and may be asked again.
|
|
31
44
|
* @param topic Transpiled from string
|
|
32
|
-
* @returns Transpiled from System.Threading.Tasks.Task
|
|
45
|
+
* @returns Transpiled from System.Threading.Tasks.Task<bool>
|
|
33
46
|
*/
|
|
34
|
-
joinTopic(topic: string): Promise<
|
|
47
|
+
joinTopic(topic: string): Promise<boolean>;
|
|
35
48
|
/**
|
|
36
49
|
* @param topic Transpiled from string
|
|
37
50
|
* @returns Transpiled from System.Threading.Tasks.Task
|
|
@@ -65,6 +78,14 @@ export type IChatReceiver = {
|
|
|
65
78
|
* @returns Transpiled from System.Threading.Tasks.Task
|
|
66
79
|
*/
|
|
67
80
|
receiveCommentsUpdate(comment: CommentSummary): Promise<void>;
|
|
81
|
+
/**
|
|
82
|
+
* Something the caller subscribed to changed, as on the config hub
|
|
83
|
+
* (): one change tag per call, sent after the change committed.
|
|
84
|
+
* @param tags Transpiled from string[]
|
|
85
|
+
* @param actorUserId Transpiled from string
|
|
86
|
+
* @returns Transpiled from System.Threading.Tasks.Task
|
|
87
|
+
*/
|
|
88
|
+
receiveChanges(tags: string[], actorUserId: string): Promise<void>;
|
|
68
89
|
};
|
|
69
90
|
export type IConfigReceiver = {
|
|
70
91
|
/**
|
|
@@ -46,6 +46,12 @@ class IChatHubInvoker_HubProxy {
|
|
|
46
46
|
this.leaveGroup = async (groupName) => {
|
|
47
47
|
return await this.connection.invoke("LeaveGroup", groupName);
|
|
48
48
|
};
|
|
49
|
+
this.joinTopic = async (topic) => {
|
|
50
|
+
return await this.connection.invoke("JoinTopic", topic);
|
|
51
|
+
};
|
|
52
|
+
this.leaveTopic = async (topic) => {
|
|
53
|
+
return await this.connection.invoke("LeaveTopic", topic);
|
|
54
|
+
};
|
|
49
55
|
}
|
|
50
56
|
}
|
|
51
57
|
class IConfigHubInvoker_HubProxyFactory {
|
|
@@ -82,17 +88,20 @@ class IChatReceiver_Binder {
|
|
|
82
88
|
const __receiveThreadUpdate = (...args) => receiver.receiveThreadUpdate(...args);
|
|
83
89
|
const __receiveThreadDeleted = (...args) => receiver.receiveThreadDeleted(...args);
|
|
84
90
|
const __receiveCommentsUpdate = (...args) => receiver.receiveCommentsUpdate(...args);
|
|
91
|
+
const __receiveChanges = (...args) => receiver.receiveChanges(...args);
|
|
85
92
|
connection.on("ReceiveMessage", __receiveMessage);
|
|
86
93
|
connection.on("ReceiveNotification", __receiveNotification);
|
|
87
94
|
connection.on("ReceiveThreadUpdate", __receiveThreadUpdate);
|
|
88
95
|
connection.on("ReceiveThreadDeleted", __receiveThreadDeleted);
|
|
89
96
|
connection.on("ReceiveCommentsUpdate", __receiveCommentsUpdate);
|
|
97
|
+
connection.on("ReceiveChanges", __receiveChanges);
|
|
90
98
|
const methodList = [
|
|
91
99
|
{ methodName: "ReceiveMessage", method: __receiveMessage },
|
|
92
100
|
{ methodName: "ReceiveNotification", method: __receiveNotification },
|
|
93
101
|
{ methodName: "ReceiveThreadUpdate", method: __receiveThreadUpdate },
|
|
94
102
|
{ methodName: "ReceiveThreadDeleted", method: __receiveThreadDeleted },
|
|
95
|
-
{ methodName: "ReceiveCommentsUpdate", method: __receiveCommentsUpdate }
|
|
103
|
+
{ methodName: "ReceiveCommentsUpdate", method: __receiveCommentsUpdate },
|
|
104
|
+
{ methodName: "ReceiveChanges", method: __receiveChanges }
|
|
96
105
|
];
|
|
97
106
|
return new ReceiverMethodSubscription(connection, methodList);
|
|
98
107
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,10 @@ export * as ConfigApi from './generated/config/api';
|
|
|
5
5
|
export * as ConfigModels from './generated/config/models';
|
|
6
6
|
export * as ConfigZod from './generated/config/zod';
|
|
7
7
|
export * as SignalR from './signalr';
|
|
8
|
-
export { AXIOS_INSTANCE } from './instance';
|
|
9
|
-
export { isApiProblem, type ApiProblem } from './problem';
|
|
8
|
+
export { AXIOS_INSTANCE, getChatAxiosInstance, setChatAxiosInstance } from './instance';
|
|
9
|
+
export { isApiProblem, errorCodeInfoFor, type ApiProblem, type ApiProblemError } from './problem';
|
|
10
|
+
export { ErrorCode, isKnownErrorCode, type ErrorCodeKnown } from './generated/chat/models';
|
|
11
|
+
export { errorCodeInfo, type ErrorCodeInfo, type ErrorCodeCategory } from './generated/error-codes';
|
|
10
12
|
export * from './generated/config/change-tags';
|
|
11
13
|
export { OperationTags as ConfigOperationTags } from './generated/config/operation-tags';
|
|
12
14
|
export { OperationTags as ChatOperationTags } from './generated/chat/operation-tags';
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ChatOperationTags = exports.ConfigOperationTags = exports.isApiProblem = exports.AXIOS_INSTANCE = exports.SignalR = exports.ConfigZod = exports.ConfigModels = exports.ConfigApi = exports.ChatZod = exports.ChatModels = exports.ChatApi = void 0;
|
|
39
|
+
exports.ChatOperationTags = exports.ConfigOperationTags = exports.errorCodeInfo = exports.isKnownErrorCode = exports.ErrorCode = exports.errorCodeInfoFor = exports.isApiProblem = exports.setChatAxiosInstance = exports.getChatAxiosInstance = exports.AXIOS_INSTANCE = exports.SignalR = exports.ConfigZod = exports.ConfigModels = exports.ConfigApi = exports.ChatZod = exports.ChatModels = exports.ChatApi = void 0;
|
|
40
40
|
exports.ChatApi = __importStar(require("./generated/chat/api"));
|
|
41
41
|
exports.ChatModels = __importStar(require("./generated/chat/models"));
|
|
42
42
|
exports.ChatZod = __importStar(require("./generated/chat/zod"));
|
|
@@ -46,8 +46,17 @@ exports.ConfigZod = __importStar(require("./generated/config/zod"));
|
|
|
46
46
|
exports.SignalR = __importStar(require("./signalr"));
|
|
47
47
|
var instance_1 = require("./instance");
|
|
48
48
|
Object.defineProperty(exports, "AXIOS_INSTANCE", { enumerable: true, get: function () { return instance_1.AXIOS_INSTANCE; } });
|
|
49
|
+
Object.defineProperty(exports, "getChatAxiosInstance", { enumerable: true, get: function () { return instance_1.getChatAxiosInstance; } });
|
|
50
|
+
Object.defineProperty(exports, "setChatAxiosInstance", { enumerable: true, get: function () { return instance_1.setChatAxiosInstance; } });
|
|
49
51
|
var problem_1 = require("./problem");
|
|
50
52
|
Object.defineProperty(exports, "isApiProblem", { enumerable: true, get: function () { return problem_1.isApiProblem; } });
|
|
53
|
+
Object.defineProperty(exports, "errorCodeInfoFor", { enumerable: true, get: function () { return problem_1.errorCodeInfoFor; } });
|
|
54
|
+
// The same list in both clients (ChatModels.ErrorCode and ConfigModels.ErrorCode); one name for it.
|
|
55
|
+
var models_1 = require("./generated/chat/models");
|
|
56
|
+
Object.defineProperty(exports, "ErrorCode", { enumerable: true, get: function () { return models_1.ErrorCode; } });
|
|
57
|
+
Object.defineProperty(exports, "isKnownErrorCode", { enumerable: true, get: function () { return models_1.isKnownErrorCode; } });
|
|
58
|
+
var error_codes_1 = require("./generated/error-codes");
|
|
59
|
+
Object.defineProperty(exports, "errorCodeInfo", { enumerable: true, get: function () { return error_codes_1.errorCodeInfo; } });
|
|
51
60
|
__exportStar(require("./generated/config/change-tags"), exports);
|
|
52
61
|
var operation_tags_1 = require("./generated/config/operation-tags");
|
|
53
62
|
Object.defineProperty(exports, "ConfigOperationTags", { enumerable: true, get: function () { return operation_tags_1.OperationTags; } });
|
package/dist/instance.d.ts
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
export declare const AXIOS_INSTANCE:
|
|
3
|
-
|
|
1
|
+
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
+
export declare const AXIOS_INSTANCE: AxiosInstance;
|
|
3
|
+
/**
|
|
4
|
+
* Gives the generated chat client (`ChatApi`) its own axios instance. For an app that calls both
|
|
5
|
+
* APIs: they have different base URLs and take differently scoped tokens, so one shared instance
|
|
6
|
+
* can only be right for one of them. Call it once at startup, before any `ChatApi` request; the
|
|
7
|
+
* config client (`ConfigApi`) stays on `AXIOS_INSTANCE`.
|
|
8
|
+
*/
|
|
9
|
+
export declare const setChatAxiosInstance: (instance: AxiosInstance) => void;
|
|
10
|
+
/** The instance the chat client sends through: `AXIOS_INSTANCE` unless one was set. */
|
|
11
|
+
export declare const getChatAxiosInstance: () => AxiosInstance;
|
|
12
|
+
export declare const customInstance: <T>(config: AxiosRequestConfig, options?: AxiosRequestConfig) => Promise<AxiosResponse<T>>;
|
|
13
|
+
/** The chat client's mutator. Read at call time, so an instance set after import is honoured. */
|
|
14
|
+
export declare const customChatInstance: <T>(config: AxiosRequestConfig, options?: AxiosRequestConfig) => Promise<AxiosResponse<T>>;
|
|
4
15
|
export default customInstance;
|
package/dist/instance.js
CHANGED
|
@@ -3,11 +3,37 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.customInstance = exports.AXIOS_INSTANCE = void 0;
|
|
6
|
+
exports.customChatInstance = exports.customInstance = exports.getChatAxiosInstance = exports.setChatAxiosInstance = exports.AXIOS_INSTANCE = void 0;
|
|
7
7
|
const axios_1 = __importDefault(require("axios"));
|
|
8
8
|
exports.AXIOS_INSTANCE = axios_1.default.create();
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
// The chat client sends through AXIOS_INSTANCE until an app gives it an instance of its own, so
|
|
10
|
+
// an app that talks to one API (configure AXIOS_INSTANCE, use either client) is unaffected.
|
|
11
|
+
let chatInstance = exports.AXIOS_INSTANCE;
|
|
12
|
+
/**
|
|
13
|
+
* Gives the generated chat client (`ChatApi`) its own axios instance. For an app that calls both
|
|
14
|
+
* APIs: they have different base URLs and take differently scoped tokens, so one shared instance
|
|
15
|
+
* can only be right for one of them. Call it once at startup, before any `ChatApi` request; the
|
|
16
|
+
* config client (`ConfigApi`) stays on `AXIOS_INSTANCE`.
|
|
17
|
+
*/
|
|
18
|
+
const setChatAxiosInstance = (instance) => {
|
|
19
|
+
chatInstance = instance;
|
|
11
20
|
};
|
|
21
|
+
exports.setChatAxiosInstance = setChatAxiosInstance;
|
|
22
|
+
/** The instance the chat client sends through: `AXIOS_INSTANCE` unless one was set. */
|
|
23
|
+
const getChatAxiosInstance = () => chatInstance;
|
|
24
|
+
exports.getChatAxiosInstance = getChatAxiosInstance;
|
|
25
|
+
const send = (instance, config, options) => instance({
|
|
26
|
+
...config,
|
|
27
|
+
...options,
|
|
28
|
+
headers: { ...config.headers, ...options?.headers },
|
|
29
|
+
});
|
|
30
|
+
// The second parameter is what makes orval give every generated method a trailing
|
|
31
|
+
// `options?: AxiosRequestConfig`. A caller passes it for what the spec cannot say: a blob or
|
|
32
|
+
// text `responseType`, an abort `signal`, or `adapter: 'fetch'` with `responseType: 'stream'`
|
|
33
|
+
// to read an event stream. Options win over the generated config, except that headers merge.
|
|
34
|
+
const customInstance = (config, options) => send(exports.AXIOS_INSTANCE, config, options);
|
|
12
35
|
exports.customInstance = customInstance;
|
|
36
|
+
/** The chat client's mutator. Read at call time, so an instance set after import is honoured. */
|
|
37
|
+
const customChatInstance = (config, options) => send(chatInstance, config, options);
|
|
38
|
+
exports.customChatInstance = customChatInstance;
|
|
13
39
|
exports.default = exports.customInstance;
|
package/dist/problem.d.ts
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
import { AxiosError, AxiosResponse } from 'axios';
|
|
2
|
-
import type { MicrosoftAspNetCoreMvcProblemDetails } from './generated/chat/models';
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import type { ErrorCode, MicrosoftAspNetCoreMvcProblemDetails } from './generated/chat/models';
|
|
3
|
+
import { type ErrorCodeInfo } from './generated/error-codes';
|
|
4
|
+
/**
|
|
5
|
+
* The problem+json body every SmartSpace API error response carries. `code` is an `ErrorCode`:
|
|
6
|
+
* the codes the API publishes, autocompleted, or any other string.
|
|
7
|
+
*/
|
|
8
|
+
export type ApiProblem<C extends ErrorCode = ErrorCode> = MicrosoftAspNetCoreMvcProblemDetails & {
|
|
9
|
+
code: C;
|
|
10
|
+
};
|
|
11
|
+
/** A thrown axios error whose response is an API problem body. */
|
|
12
|
+
export type ApiProblemError<C extends ErrorCode = ErrorCode> = AxiosError<ApiProblem<C>> & {
|
|
13
|
+
response: AxiosResponse<ApiProblem<C>>;
|
|
14
|
+
};
|
|
5
15
|
/**
|
|
6
16
|
* Narrows a thrown error to an API error response with a problem+json body, so `code`,
|
|
7
17
|
* `retryable` and `traceId` are typed without a cast. False for network errors, cancellations
|
|
8
18
|
* and error responses that did not come from the API (a gateway's HTML 502, for one).
|
|
19
|
+
*
|
|
20
|
+
* Given a code, or a list of them, it is true only for a problem with one of those codes, and
|
|
21
|
+
* narrows `response.data.code` to it: `isApiProblem(e, 'thread.already_running')`.
|
|
9
22
|
*/
|
|
10
|
-
export declare
|
|
11
|
-
|
|
12
|
-
|
|
23
|
+
export declare function isApiProblem(error: unknown): error is ApiProblemError;
|
|
24
|
+
export declare function isApiProblem<C extends ErrorCode>(error: unknown, code: C | readonly C[]): error is ApiProblemError<C>;
|
|
25
|
+
/**
|
|
26
|
+
* What a code answers with, as the spec publishes it: from a problem body's `code` or a failed
|
|
27
|
+
* message's `errorCode`. Undefined for no code, a code the spec does not list (a newer service
|
|
28
|
+
* can send one), or a listed code with no published answer (it has no single one, or its source
|
|
29
|
+
* does not publish it); go by the response's own status and `retryable` then, as you always
|
|
30
|
+
* should when you have them.
|
|
31
|
+
*/
|
|
32
|
+
export declare const errorCodeInfoFor: (code: ErrorCode | null | undefined) => ErrorCodeInfo | undefined;
|
package/dist/problem.js
CHANGED
|
@@ -3,20 +3,31 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.errorCodeInfoFor = void 0;
|
|
7
|
+
exports.isApiProblem = isApiProblem;
|
|
7
8
|
const axios_1 = __importDefault(require("axios"));
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* `retryable` and `traceId` are typed without a cast. False for network errors, cancellations
|
|
11
|
-
* and error responses that did not come from the API (a gateway's HTML 502, for one).
|
|
12
|
-
*/
|
|
13
|
-
const isApiProblem = (error) => {
|
|
9
|
+
const error_codes_1 = require("./generated/error-codes");
|
|
10
|
+
function isApiProblem(error, code) {
|
|
14
11
|
if (!axios_1.default.isAxiosError(error))
|
|
15
12
|
return false;
|
|
16
13
|
const body = error.response?.data;
|
|
17
14
|
if (!body || typeof body !== 'object')
|
|
18
15
|
return false;
|
|
19
|
-
const { code, retryable, traceId } = body;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
const { code: sent, retryable, traceId } = body;
|
|
17
|
+
if (typeof sent !== 'string' || typeof retryable !== 'boolean' || typeof traceId !== 'string')
|
|
18
|
+
return false;
|
|
19
|
+
if (code === undefined)
|
|
20
|
+
return true;
|
|
21
|
+
return typeof code === 'string' ? sent === code : code.includes(sent);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* What a code answers with, as the spec publishes it: from a problem body's `code` or a failed
|
|
25
|
+
* message's `errorCode`. Undefined for no code, a code the spec does not list (a newer service
|
|
26
|
+
* can send one), or a listed code with no published answer (it has no single one, or its source
|
|
27
|
+
* does not publish it); go by the response's own status and `retryable` then, as you always
|
|
28
|
+
* should when you have them.
|
|
29
|
+
*/
|
|
30
|
+
const errorCodeInfoFor = (code) => code != null && Object.prototype.hasOwnProperty.call(error_codes_1.errorCodeInfo, code)
|
|
31
|
+
? error_codes_1.errorCodeInfo[code]
|
|
32
|
+
: undefined;
|
|
33
|
+
exports.errorCodeInfoFor = errorCodeInfoFor;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const problem_1 = require("./problem");
|
|
4
|
+
// Given a code, isApiProblem narrows the body's code to it.
|
|
5
|
+
const _narrows = (error) => (0, problem_1.isApiProblem)(error, 'thread.already_running') ? error.response.data.code : undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartspace/api-client",
|
|
3
|
-
"version": "0.1.0-main.
|
|
3
|
+
"version": "0.1.0-main.bfa37bc",
|
|
4
4
|
"description": "Generated TypeScript client for SmartSpace APIs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
21
|
"generate": "npm run generate:rest && npm run generate:signalr",
|
|
22
|
-
"generate:rest": "node ./scripts/sse-frames-zod-input.js && orval --config orval.config.ts &&node ./scripts/extensible-enums.js && node ./scripts/change-tags.js && node ./scripts/operation-tags.js",
|
|
22
|
+
"generate:rest": "node ./scripts/sse-frames-zod-input.js && orval --config orval.config.ts && node ./scripts/request-options.js && node ./scripts/extensible-enums.js && node ./scripts/error-codes.js && node ./scripts/change-tags.js && node ./scripts/operation-tags.js",
|
|
23
23
|
"generate:signalr": "dotnet tsrts --project ../../SmartSpace.App.Business/SmartSpace.App.Business.csproj --output src/generated/signalr --asm --enum Name",
|
|
24
24
|
"build": "tsc",
|
|
25
25
|
"prepublishOnly": "npm run generate && npm run build"
|
|
@@ -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": "
|
|
56
|
+
"smartspaceContentHash": "548fa61869d18d30a5164157f3f30235df93e94ad2eb1da8aee6e92adc823002"
|
|
57
57
|
}
|