react-semaphor 0.1.359 → 0.1.360
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/chunks/{calendar-preferences-dialog-BeZvsJV0.js → calendar-preferences-dialog-BEKBpwMY.js} +1 -1
- package/dist/chunks/{calendar-preferences-dialog-BHq3bPkF.js → calendar-preferences-dialog-GwtaSN53.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-gm3YPxOh.js → dashboard-briefing-launcher-D6gGO5wz.js} +3 -3
- package/dist/chunks/{dashboard-briefing-launcher-Dr6trdJw.js → dashboard-briefing-launcher-DYxd4856.js} +1 -1
- package/dist/chunks/{dashboard-controls-BZljC-GB.js → dashboard-controls-B4u5RsKl.js} +3 -3
- package/dist/chunks/{dashboard-controls-4a3fKtuD.js → dashboard-controls-C_rExqPw.js} +1 -1
- package/dist/chunks/{dashboard-json-wTRw_VIn.js → dashboard-json-BWWU6a7V.js} +1 -1
- package/dist/chunks/{dashboard-json-4uDp0D6Y.js → dashboard-json-CPGTofhm.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-CqnMxF8h.js → edit-dashboard-visual-D_jZ-iix.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-BztJSdkR.js → edit-dashboard-visual-biMO829J.js} +3 -3
- package/dist/chunks/{index-DZ3lq1Pk.js → index-CJ2IEuKz.js} +31368 -31127
- package/dist/chunks/index-Db1XVmfU.js +1411 -0
- package/dist/chunks/{resource-management-panel-CEVKKwSW.js → resource-management-panel-B9-5VHYe.js} +2 -2
- package/dist/chunks/{resource-management-panel-BajPY5IU.js → resource-management-panel-Bam-yvnt.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-CT1BlsPJ.js → use-create-flow-overlay-state-DAvEqaJV.js} +2 -2
- package/dist/chunks/{use-create-flow-overlay-state-D010FtSh.js → use-create-flow-overlay-state-dhxgdLYo.js} +1 -1
- package/dist/chunks/{use-visual-utils-CIHFvxpt.js → use-visual-utils-CAKdXsr5.js} +1 -1
- package/dist/chunks/{use-visual-utils-H2FXMsGo.js → use-visual-utils-FoHNPwpu.js} +1 -1
- package/dist/chunks/validation-C_WDLZdp.js +1 -0
- package/dist/chunks/validation-McK0uXpV.js +669 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +1 -1
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +308 -440
- package/dist/data-app-sdk-validation/index.cjs +1 -0
- package/dist/data-app-sdk-validation/index.js +7 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +5 -5
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/data-app-builder.d.ts +68 -9
- package/dist/types/data-app-sdk-validation.d.ts +595 -0
- package/dist/types/data-app-sdk.d.ts +333 -0
- package/package.json +6 -1
- package/dist/chunks/index-YZnHD2NF.js +0 -1410
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/index-Db1XVmfU.js"),e=require("../chunks/common-types-C73-Ud1-.js"),a=require("../chunks/calendar-preferences-dialog-GwtaSN53.js");exports.Surfboard=r.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=a.CalendarPreferencesDialog;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as e } from "../chunks/index-
|
|
1
|
+
import { a as e } from "../chunks/index-CJ2IEuKz.js";
|
|
2
2
|
import { C, E } from "../chunks/common-types-4bjoIgvm.js";
|
|
3
|
-
import { C as s } from "../chunks/calendar-preferences-dialog-
|
|
3
|
+
import { C as s } from "../chunks/calendar-preferences-dialog-BEKBpwMY.js";
|
|
4
4
|
export {
|
|
5
5
|
C as CONTROL_CARD_DEFAULT_VALUE,
|
|
6
6
|
s as CalendarPreferencesDialog,
|
|
@@ -188,6 +188,13 @@ export declare type DataAppBuilderAdapters = {
|
|
|
188
188
|
accessToken?: string;
|
|
189
189
|
signal: AbortSignal;
|
|
190
190
|
}) => Promise<DataAppBuilderSaveDraftResult>;
|
|
191
|
+
loadApp?: (request: {
|
|
192
|
+
dataAppId: string;
|
|
193
|
+
}, options: {
|
|
194
|
+
apiServiceUrl?: string;
|
|
195
|
+
accessToken?: string;
|
|
196
|
+
signal: AbortSignal;
|
|
197
|
+
}) => Promise<DataAppBuilderLoadedApp>;
|
|
191
198
|
publish?: (request: DataAppBuilderPublishRequest, options: {
|
|
192
199
|
apiServiceUrl?: string;
|
|
193
200
|
accessToken?: string;
|
|
@@ -246,6 +253,29 @@ export declare type DataAppBuilderDatasetInspectorArtifact = {
|
|
|
246
253
|
}>;
|
|
247
254
|
};
|
|
248
255
|
|
|
256
|
+
export declare type DataAppBuilderLoadedApp = {
|
|
257
|
+
id: string;
|
|
258
|
+
projectId: string;
|
|
259
|
+
title: string;
|
|
260
|
+
description?: string | null;
|
|
261
|
+
currentDataAppVersionId?: string | null;
|
|
262
|
+
currentDataAppVersion?: DataAppBuilderLoadedVersion | null;
|
|
263
|
+
dataAppVersions?: DataAppBuilderLoadedVersion[];
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
export declare type DataAppBuilderLoadedVersion = {
|
|
267
|
+
id: string;
|
|
268
|
+
dashboardId: string;
|
|
269
|
+
version: number;
|
|
270
|
+
status: string;
|
|
271
|
+
manifest: DataAppManifest;
|
|
272
|
+
sourceSnapshot?: DataAppSourceSnapshot | null;
|
|
273
|
+
sourceRevision?: DataAppSourceRevision | null;
|
|
274
|
+
bridgeWorkspaceHint?: string | null;
|
|
275
|
+
createdAt?: string;
|
|
276
|
+
updatedAt?: string;
|
|
277
|
+
};
|
|
278
|
+
|
|
249
279
|
export declare type DataAppBuilderProps = {
|
|
250
280
|
projectId: string;
|
|
251
281
|
projectName: string;
|
|
@@ -262,8 +292,17 @@ declare type DataAppBuilderPublishAsset = {
|
|
|
262
292
|
contentType?: string;
|
|
263
293
|
};
|
|
264
294
|
|
|
295
|
+
export declare type DataAppBuilderPublishBuildResult = {
|
|
296
|
+
manifest: DataAppManifest;
|
|
297
|
+
validationStatus?: unknown;
|
|
298
|
+
assets: DataAppBuilderPublishAsset[];
|
|
299
|
+
entryFile: string;
|
|
300
|
+
styleFiles?: string[];
|
|
301
|
+
bridgeWorkspaceHint?: string | null;
|
|
302
|
+
};
|
|
303
|
+
|
|
265
304
|
export declare type DataAppBuilderPublishProgress = {
|
|
266
|
-
phase: 'start' | 'upload' | 'complete';
|
|
305
|
+
phase: 'start' | 'build' | 'upload' | 'complete';
|
|
267
306
|
label: string;
|
|
268
307
|
detail?: string;
|
|
269
308
|
assetIndex?: number;
|
|
@@ -273,16 +312,17 @@ export declare type DataAppBuilderPublishProgress = {
|
|
|
273
312
|
export declare type DataAppBuilderPublishRequest = {
|
|
274
313
|
projectId: string;
|
|
275
314
|
dataAppId: string;
|
|
315
|
+
draftId: string;
|
|
276
316
|
title: string;
|
|
277
317
|
description?: string | null;
|
|
278
|
-
manifest: DataAppManifest;
|
|
279
318
|
sourceSnapshot: DataAppSourceSnapshot;
|
|
280
|
-
sourceRevision?:
|
|
281
|
-
validationStatus?: unknown;
|
|
319
|
+
sourceRevision?: DataAppSourceRevision | null;
|
|
282
320
|
bridgeWorkspaceHint?: string | null;
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
321
|
+
validationStatus?: unknown;
|
|
322
|
+
buildArtifacts: (options: {
|
|
323
|
+
signal: AbortSignal;
|
|
324
|
+
onProgress?: (progress: DataAppBuilderPublishProgress) => void;
|
|
325
|
+
}) => Promise<DataAppBuilderPublishBuildResult>;
|
|
286
326
|
};
|
|
287
327
|
|
|
288
328
|
export declare type DataAppBuilderPublishResult = {
|
|
@@ -295,11 +335,11 @@ export declare type DataAppBuilderPublishResult = {
|
|
|
295
335
|
export declare type DataAppBuilderSaveDraftRequest = {
|
|
296
336
|
projectId: string;
|
|
297
337
|
dataAppId?: string | null;
|
|
298
|
-
title
|
|
338
|
+
title?: string;
|
|
299
339
|
description?: string | null;
|
|
300
340
|
manifest: DataAppManifest;
|
|
301
341
|
sourceSnapshot: DataAppSourceSnapshot;
|
|
302
|
-
sourceRevision?:
|
|
342
|
+
sourceRevision?: DataAppSourceRevision | null;
|
|
303
343
|
validationStatus?: unknown;
|
|
304
344
|
bridgeWorkspaceHint?: string | null;
|
|
305
345
|
};
|
|
@@ -454,6 +494,24 @@ export declare type DataAppOperationTarget = {
|
|
|
454
494
|
|
|
455
495
|
export declare type DataAppOperationType = 'answer_question' | 'inspect_data' | 'inspect_files' | 'create_app' | 'add_view' | 'modify_view' | 'remove_view' | 'add_input' | 'modify_input' | 'remove_input' | 'change_layout' | 'change_style' | 'fix_error' | 'save_draft' | 'publish';
|
|
456
496
|
|
|
497
|
+
export declare type DataAppSourceRevision = {
|
|
498
|
+
schemaVersion: 'data-app-source-revision/v1';
|
|
499
|
+
snapshotHash: string;
|
|
500
|
+
git?: {
|
|
501
|
+
commit?: string;
|
|
502
|
+
branch?: string;
|
|
503
|
+
dirtyTreeHash?: string;
|
|
504
|
+
isDirty?: boolean;
|
|
505
|
+
remoteUrlHash?: string;
|
|
506
|
+
};
|
|
507
|
+
workspace?: {
|
|
508
|
+
adapter: 'bridge' | 'codex' | 'cli';
|
|
509
|
+
rootName?: string;
|
|
510
|
+
pathHash?: string;
|
|
511
|
+
};
|
|
512
|
+
collectedAt: string;
|
|
513
|
+
};
|
|
514
|
+
|
|
457
515
|
export declare type DataAppSourceSnapshot = {
|
|
458
516
|
schemaVersion: 'data-app-source-snapshot/v1';
|
|
459
517
|
files: DataAppSourceSnapshotFile[];
|
|
@@ -463,6 +521,7 @@ export declare type DataAppSourceSnapshot = {
|
|
|
463
521
|
declare type DataAppSourceSnapshotFile = {
|
|
464
522
|
path: string;
|
|
465
523
|
contents: string;
|
|
524
|
+
hash?: string;
|
|
466
525
|
};
|
|
467
526
|
|
|
468
527
|
export declare type GeneratedRevision = {
|