@semiont/core 0.5.18 → 0.5.20
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/index.d.ts +21 -3
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/testing.d.ts +17 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2043,7 +2043,7 @@ interface components {
|
|
|
2043
2043
|
BrowsePanelOpenEvent: {
|
|
2044
2044
|
panel: string;
|
|
2045
2045
|
scrollToAnnotationId?: string;
|
|
2046
|
-
motivation?:
|
|
2046
|
+
motivation?: components["schemas"]["Motivation"];
|
|
2047
2047
|
};
|
|
2048
2048
|
/** @description Emitted when a browse panel is toggled */
|
|
2049
2049
|
BrowsePanelToggleEvent: {
|
|
@@ -3924,8 +3924,23 @@ type EventMap = {
|
|
|
3924
3924
|
'mark:cancel-pending': void;
|
|
3925
3925
|
'mark:submit': components['schemas']['MarkSubmitEvent'];
|
|
3926
3926
|
'mark:assist-request': components['schemas']['MarkAssistRequestEvent'];
|
|
3927
|
-
'mark:assist-cancelled': void;
|
|
3928
3927
|
'mark:progress-dismiss': void;
|
|
3928
|
+
'mark:assist-timeout': {
|
|
3929
|
+
resourceId: string;
|
|
3930
|
+
motivation: components['schemas']['Motivation'];
|
|
3931
|
+
};
|
|
3932
|
+
'mark:create-error': {
|
|
3933
|
+
resourceId: string;
|
|
3934
|
+
message: string;
|
|
3935
|
+
};
|
|
3936
|
+
'mark:delete-error': {
|
|
3937
|
+
resourceId: string;
|
|
3938
|
+
message: string;
|
|
3939
|
+
};
|
|
3940
|
+
'bind:body-error': {
|
|
3941
|
+
resourceId: string;
|
|
3942
|
+
message: string;
|
|
3943
|
+
};
|
|
3929
3944
|
'frame:entity-type-added': StoredEvent<EventOfType<'frame:entity-type-added'>>;
|
|
3930
3945
|
'frame:tag-schema-added': StoredEvent<EventOfType<'frame:tag-schema-added'>>;
|
|
3931
3946
|
'frame:add-entity-type': components['schemas']['FrameAddEntityTypeCommand'];
|
|
@@ -4290,8 +4305,11 @@ declare const CHANNEL_SCHEMAS: {
|
|
|
4290
4305
|
readonly 'mark:cancel-pending': null;
|
|
4291
4306
|
readonly 'mark:submit': "MarkSubmitEvent";
|
|
4292
4307
|
readonly 'mark:assist-request': "MarkAssistRequestEvent";
|
|
4293
|
-
readonly 'mark:assist-cancelled': null;
|
|
4294
4308
|
readonly 'mark:progress-dismiss': null;
|
|
4309
|
+
readonly 'mark:assist-timeout': null;
|
|
4310
|
+
readonly 'mark:create-error': null;
|
|
4311
|
+
readonly 'mark:delete-error': null;
|
|
4312
|
+
readonly 'bind:body-error': null;
|
|
4295
4313
|
readonly 'bind:initiate': "BindInitiateCommand";
|
|
4296
4314
|
readonly 'bind:update-body': "BindUpdateBodyCommand";
|
|
4297
4315
|
readonly 'bind:body-updated': "BindBodyUpdated";
|
package/dist/index.js
CHANGED
|
@@ -197,10 +197,16 @@ var CHANNEL_SCHEMAS = {
|
|
|
197
197
|
// void
|
|
198
198
|
"mark:submit": "MarkSubmitEvent",
|
|
199
199
|
"mark:assist-request": "MarkAssistRequestEvent",
|
|
200
|
-
"mark:assist-cancelled": null,
|
|
201
|
-
// void
|
|
202
200
|
"mark:progress-dismiss": null,
|
|
203
201
|
// void
|
|
202
|
+
"mark:assist-timeout": null,
|
|
203
|
+
// { resourceId; motivation } — client-local UI signal
|
|
204
|
+
"mark:create-error": null,
|
|
205
|
+
// { resourceId; message } — client-local UI signal
|
|
206
|
+
"mark:delete-error": null,
|
|
207
|
+
// { resourceId; message } — client-local UI signal
|
|
208
|
+
"bind:body-error": null,
|
|
209
|
+
// { resourceId; message } — client-local UI signal
|
|
204
210
|
// ── BIND FLOW ───────────────────────────────────────────────────
|
|
205
211
|
"bind:initiate": "BindInitiateCommand",
|
|
206
212
|
"bind:update-body": "BindUpdateBodyCommand",
|