@republicroad/seal-editor 1.16.0 → 1.17.0
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 +26 -0
- package/dist/index.js +3772 -3667
- package/dist/index.js.map +1 -1
- package/dist/schema-BDvVbmiV.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -410,6 +410,12 @@ declare type DecisionGraphStoreType = {
|
|
|
410
410
|
simulatorRequest?: string;
|
|
411
411
|
simulatorExampleBinding?: SimulatorExampleBinding;
|
|
412
412
|
fixturesRunner?: FixturesRunner | null;
|
|
413
|
+
fixturesRun?: {
|
|
414
|
+
nodeId: string;
|
|
415
|
+
status: 'running' | 'done' | 'error';
|
|
416
|
+
report?: ExampleRunReport;
|
|
417
|
+
error?: string;
|
|
418
|
+
} | null;
|
|
413
419
|
compactMode?: boolean;
|
|
414
420
|
dictionaries?: DictionaryMap;
|
|
415
421
|
mode?: JdmUiMode;
|
|
@@ -457,6 +463,7 @@ declare type DecisionGraphStoreType = {
|
|
|
457
463
|
setSimulatorRequest: (req: string) => void;
|
|
458
464
|
setSimulatorExampleBinding: (binding?: SimulatorExampleBinding) => void;
|
|
459
465
|
setFixturesRunner: (runner: FixturesRunner | null) => void;
|
|
466
|
+
runFixtures: () => Promise<void>;
|
|
460
467
|
emitContractEvent: (event: ContractDriftEvent) => void;
|
|
461
468
|
triggerNodeSelect: (id: string, mode: 'toggle' | 'only') => void;
|
|
462
469
|
};
|
|
@@ -1280,6 +1287,23 @@ declare const en: {
|
|
|
1280
1287
|
readonly 'request.outcomePassed': "passed";
|
|
1281
1288
|
readonly 'request.outcomeAssertionFailed': "assertion failed";
|
|
1282
1289
|
readonly 'request.outcomeExecutionError': "error";
|
|
1290
|
+
readonly 'request.modeDesign': "Design";
|
|
1291
|
+
readonly 'request.modeCode': "Code";
|
|
1292
|
+
readonly 'request.designModeTooltip': "Structured field editor";
|
|
1293
|
+
readonly 'request.examplesSwitcherLabel': "Examples";
|
|
1294
|
+
readonly 'request.selectFieldHint': "Select a field in the tree to edit it";
|
|
1295
|
+
readonly 'request.objectChildrenHint': "Child fields";
|
|
1296
|
+
readonly 'request.arrayCodeHint': "Array item editing lives in Code mode.";
|
|
1297
|
+
readonly 'request.examplePreviewTitle': "Example";
|
|
1298
|
+
readonly 'request.debugInSimulator': "Debug";
|
|
1299
|
+
readonly 'request.fixturesNoInputNode': "No input node in this graph";
|
|
1300
|
+
readonly 'request.fixturesNoExamples': "The input node has no examples yet";
|
|
1301
|
+
readonly 'request.fixturesRunning': "Running…";
|
|
1302
|
+
readonly 'cf.argsDriftTitle': "Function argument drift";
|
|
1303
|
+
readonly 'cf.argsDriftRows': "row(s)";
|
|
1304
|
+
readonly 'cf.argsDriftMissing': "missing";
|
|
1305
|
+
readonly 'cf.argsDriftUnrecognized': "unrecognized";
|
|
1306
|
+
readonly 'cf.argsFillMissing': "Fill missing defaults";
|
|
1283
1307
|
readonly 'request.noDefinitions': "No field definitions";
|
|
1284
1308
|
readonly 'request.schemaPriorityTooltip': "Schema has the highest priority. Definitions and example data sync into schema, but schema remains the source of truth.";
|
|
1285
1309
|
readonly 'request.simulateTooltip': "Open simulator";
|
|
@@ -1428,6 +1452,8 @@ declare type ExtensionParams = {
|
|
|
1428
1452
|
type?: 'standard' | 'unary' | 'template';
|
|
1429
1453
|
};
|
|
1430
1454
|
|
|
1455
|
+
export declare const FixturesPanel: default_2.FC;
|
|
1456
|
+
|
|
1431
1457
|
export declare type FixturesRunner = (graph: DecisionGraphType, fixtures: ContractFixture[]) => Promise<ExampleRunReport>;
|
|
1432
1458
|
|
|
1433
1459
|
declare const Function_2: default_2.FC<FunctionProps>;
|