@dxs-ts/eveli-ide 0.0.21 → 0.0.22
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/build/index.d.ts +234 -234
- package/build/index.js +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -109,41 +109,41 @@ export declare namespace BurgerApi {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
declare namespace HdesApi {
|
|
113
|
-
type TagId = string;
|
|
114
|
-
type EntityId = string;
|
|
115
|
-
type FlowId = string;
|
|
116
|
-
type ServiceId = string;
|
|
117
|
-
type DecisionId = string;
|
|
118
|
-
type BranchId = string;
|
|
119
|
-
type AstBodyType = "FLOW" | "FLOW_TASK" | "DT" | "TAG" | "BRANCH";
|
|
120
|
-
type Direction = "IN" | "OUT";
|
|
121
|
-
type ValueType = "TIME" | "DATE" | "DATE_TIME" | "INSTANT" | "PERIOD" | "DURATION" | "STRING" | "INTEGER" | "LONG" | "BOOLEAN" | "PERCENT" | "OBJECT" | "ARRAY" | "DECIMAL" | "MAP" | "FLOW_CONTEXT";
|
|
122
|
-
type ProgramStatus = "UP" | "AST_ERROR" | "PROGRAM_ERROR" | "DEPENDENCY_ERROR";
|
|
123
|
-
type HitPolicy = "FIRST" | "ALL";
|
|
124
|
-
type AssociationType = "ONE_TO_ONE" | "ONE_TO_MANY";
|
|
125
|
-
type ColumnExpressionType = "IN" | "EQUALS";
|
|
126
|
-
type FlowCommandMessageType = "ERROR" | "WARNING";
|
|
127
|
-
type AstCommandValue = ("SET" | "ADD" | "DELETE" | "SET_BODY" | "SET_NAME" | "SET_DESCRIPTION" | "IMPORT_CSV" | "IMPORT_ORDERED_CSV" | "MOVE_ROW" | "MOVE_HEADER" | "INSERT_ROW" | "COPY_ROW" | "SET_HEADER_TYPE" | "SET_HEADER_REF" | "SET_HEADER_NAME" | "SET_HEADER_SCRIPT" | "SET_HEADER_DIRECTION" | "SET_HEADER_EXPRESSION" | "SET_HIT_POLICY" | "SET_CELL_VALUE" | "DELETE_CELL" | "DELETE_HEADER" | "DELETE_ROW" | "ADD_LOG" | "ADD_HEADER_IN" | "ADD_HEADER_OUT" | "ADD_ROW" | "SET_VALUE_SET" | "CREATE_BRANCH" | "SET_BRANCH_NAME" | "SET_BRANCH_TAG" | "SET_BRANCH_CREATED");
|
|
128
|
-
interface CommandsAndChanges {
|
|
112
|
+
export declare namespace HdesApi {
|
|
113
|
+
export type TagId = string;
|
|
114
|
+
export type EntityId = string;
|
|
115
|
+
export type FlowId = string;
|
|
116
|
+
export type ServiceId = string;
|
|
117
|
+
export type DecisionId = string;
|
|
118
|
+
export type BranchId = string;
|
|
119
|
+
export type AstBodyType = "FLOW" | "FLOW_TASK" | "DT" | "TAG" | "BRANCH";
|
|
120
|
+
export type Direction = "IN" | "OUT";
|
|
121
|
+
export type ValueType = "TIME" | "DATE" | "DATE_TIME" | "INSTANT" | "PERIOD" | "DURATION" | "STRING" | "INTEGER" | "LONG" | "BOOLEAN" | "PERCENT" | "OBJECT" | "ARRAY" | "DECIMAL" | "MAP" | "FLOW_CONTEXT";
|
|
122
|
+
export type ProgramStatus = "UP" | "AST_ERROR" | "PROGRAM_ERROR" | "DEPENDENCY_ERROR";
|
|
123
|
+
export type HitPolicy = "FIRST" | "ALL";
|
|
124
|
+
export type AssociationType = "ONE_TO_ONE" | "ONE_TO_MANY";
|
|
125
|
+
export type ColumnExpressionType = "IN" | "EQUALS";
|
|
126
|
+
export type FlowCommandMessageType = "ERROR" | "WARNING";
|
|
127
|
+
export type AstCommandValue = ("SET" | "ADD" | "DELETE" | "SET_BODY" | "SET_NAME" | "SET_DESCRIPTION" | "IMPORT_CSV" | "IMPORT_ORDERED_CSV" | "MOVE_ROW" | "MOVE_HEADER" | "INSERT_ROW" | "COPY_ROW" | "SET_HEADER_TYPE" | "SET_HEADER_REF" | "SET_HEADER_NAME" | "SET_HEADER_SCRIPT" | "SET_HEADER_DIRECTION" | "SET_HEADER_EXPRESSION" | "SET_HIT_POLICY" | "SET_CELL_VALUE" | "DELETE_CELL" | "DELETE_HEADER" | "DELETE_ROW" | "ADD_LOG" | "ADD_HEADER_IN" | "ADD_HEADER_OUT" | "ADD_ROW" | "SET_VALUE_SET" | "CREATE_BRANCH" | "SET_BRANCH_NAME" | "SET_BRANCH_TAG" | "SET_BRANCH_CREATED");
|
|
128
|
+
export interface CommandsAndChanges {
|
|
129
129
|
commands: AstCommand[];
|
|
130
130
|
src: AstChangeset[];
|
|
131
131
|
}
|
|
132
|
-
interface AstChangeset {
|
|
132
|
+
export interface AstChangeset {
|
|
133
133
|
line: number;
|
|
134
134
|
value: string;
|
|
135
135
|
commands: AstCommand[];
|
|
136
136
|
}
|
|
137
|
-
interface ProgramMessage {
|
|
137
|
+
export interface ProgramMessage {
|
|
138
138
|
id: string;
|
|
139
139
|
msg: string;
|
|
140
140
|
}
|
|
141
|
-
interface AstCommand {
|
|
141
|
+
export interface AstCommand {
|
|
142
142
|
id?: string;
|
|
143
143
|
value?: string;
|
|
144
144
|
type: AstCommandValue;
|
|
145
145
|
}
|
|
146
|
-
interface TypeDef {
|
|
146
|
+
export interface TypeDef {
|
|
147
147
|
id: string;
|
|
148
148
|
name: string;
|
|
149
149
|
order: number;
|
|
@@ -155,30 +155,30 @@ declare namespace HdesApi {
|
|
|
155
155
|
values?: string;
|
|
156
156
|
valueSet?: string[];
|
|
157
157
|
}
|
|
158
|
-
interface AstBody {
|
|
158
|
+
export interface AstBody {
|
|
159
159
|
name: string;
|
|
160
160
|
description?: string;
|
|
161
161
|
headers: Headers;
|
|
162
162
|
bodyType: AstBodyType;
|
|
163
163
|
}
|
|
164
|
-
interface Headers {
|
|
164
|
+
export interface Headers {
|
|
165
165
|
acceptDefs: TypeDef[];
|
|
166
166
|
returnDefs: TypeDef[];
|
|
167
167
|
}
|
|
168
|
-
interface AstSource {
|
|
168
|
+
export interface AstSource {
|
|
169
169
|
id: string;
|
|
170
170
|
hash: string;
|
|
171
171
|
bodyType: AstBodyType;
|
|
172
172
|
commands: AstCommand[];
|
|
173
173
|
}
|
|
174
|
-
interface ProgramAssociation {
|
|
174
|
+
export interface ProgramAssociation {
|
|
175
175
|
id?: string;
|
|
176
176
|
ref: string;
|
|
177
177
|
refType: AstBodyType;
|
|
178
178
|
refStatus: ProgramStatus;
|
|
179
179
|
owner: string;
|
|
180
180
|
}
|
|
181
|
-
interface Site {
|
|
181
|
+
export interface Site {
|
|
182
182
|
name: string;
|
|
183
183
|
contentType: "OK" | "NOT_CREATED" | "EMPTY" | "ERRORS" | "NO_CONNECTION";
|
|
184
184
|
tags: Record<TagId, Entity<AstTag>>;
|
|
@@ -187,7 +187,7 @@ declare namespace HdesApi {
|
|
|
187
187
|
decisions: Record<DecisionId, Entity<AstDecision>>;
|
|
188
188
|
branches: Record<BranchId, Entity<AstBranch>>;
|
|
189
189
|
}
|
|
190
|
-
interface Entity<A extends AstBody> {
|
|
190
|
+
export interface Entity<A extends AstBody> {
|
|
191
191
|
id: EntityId;
|
|
192
192
|
ast?: A;
|
|
193
193
|
source: AstSource;
|
|
@@ -196,49 +196,49 @@ declare namespace HdesApi {
|
|
|
196
196
|
associations: ProgramAssociation[];
|
|
197
197
|
status: ProgramStatus;
|
|
198
198
|
}
|
|
199
|
-
interface AstDecision extends AstBody {
|
|
199
|
+
export interface AstDecision extends AstBody {
|
|
200
200
|
headerTypes: string[];
|
|
201
201
|
headerExpressions: Record<ValueType, string[]>;
|
|
202
202
|
hitPolicy: HitPolicy;
|
|
203
203
|
rows: AstDecisionRow[];
|
|
204
204
|
}
|
|
205
|
-
interface AstDecisionRow {
|
|
205
|
+
export interface AstDecisionRow {
|
|
206
206
|
id: string;
|
|
207
207
|
order: number;
|
|
208
208
|
cells: AstDecisionCell[];
|
|
209
209
|
}
|
|
210
|
-
interface AstDecisionCell {
|
|
210
|
+
export interface AstDecisionCell {
|
|
211
211
|
id: string;
|
|
212
212
|
header: string;
|
|
213
213
|
value?: string;
|
|
214
214
|
}
|
|
215
|
-
interface AstFlow extends AstBody {
|
|
215
|
+
export interface AstFlow extends AstBody {
|
|
216
216
|
src: AstFlowRoot;
|
|
217
217
|
messages: FlowAstCommandMessage[];
|
|
218
218
|
}
|
|
219
|
-
interface FlowAstCommandMessage {
|
|
219
|
+
export interface FlowAstCommandMessage {
|
|
220
220
|
line: number;
|
|
221
221
|
value: string;
|
|
222
222
|
type: FlowCommandMessageType;
|
|
223
223
|
range?: FlowAstCommandRange;
|
|
224
224
|
}
|
|
225
|
-
interface FlowAstCommandRange {
|
|
225
|
+
export interface FlowAstCommandRange {
|
|
226
226
|
start: number;
|
|
227
227
|
end: number;
|
|
228
228
|
}
|
|
229
|
-
interface AstFlowInputType {
|
|
229
|
+
export interface AstFlowInputType {
|
|
230
230
|
name: string;
|
|
231
231
|
value: string;
|
|
232
232
|
ref?: string;
|
|
233
233
|
}
|
|
234
|
-
interface AstFlowRoot extends AstFlowNode {
|
|
234
|
+
export interface AstFlowRoot extends AstFlowNode {
|
|
235
235
|
id: AstFlowNode;
|
|
236
236
|
description: AstFlowNode;
|
|
237
237
|
types: AstFlowInputType[];
|
|
238
238
|
inputs: Record<string, AstFlowInputNode>;
|
|
239
239
|
tasks: Record<string, AstFlowTaskNode>;
|
|
240
240
|
}
|
|
241
|
-
interface AstFlowTaskNode extends Omit<AstFlowNode, "switch"> {
|
|
241
|
+
export interface AstFlowTaskNode extends Omit<AstFlowNode, "switch"> {
|
|
242
242
|
id: AstFlowNode;
|
|
243
243
|
order: number;
|
|
244
244
|
then: AstFlowNode;
|
|
@@ -248,23 +248,23 @@ declare namespace HdesApi {
|
|
|
248
248
|
service: AstFlowRefNode;
|
|
249
249
|
switch: Record<string, AstFlowSwitchNode>;
|
|
250
250
|
}
|
|
251
|
-
interface AstFlowRefNode extends AstFlowNode {
|
|
251
|
+
export interface AstFlowRefNode extends AstFlowNode {
|
|
252
252
|
ref: AstFlowNode;
|
|
253
253
|
collection: AstFlowNode;
|
|
254
254
|
inputsNode: AstFlowNode;
|
|
255
255
|
inputs: Record<string, AstFlowNode>;
|
|
256
256
|
}
|
|
257
|
-
interface AstFlowSwitchNode extends AstFlowNode {
|
|
257
|
+
export interface AstFlowSwitchNode extends AstFlowNode {
|
|
258
258
|
order: string;
|
|
259
259
|
when: AstFlowNode;
|
|
260
260
|
then: AstFlowNode;
|
|
261
261
|
}
|
|
262
|
-
interface AstFlowInputNode extends AstFlowNode {
|
|
262
|
+
export interface AstFlowInputNode extends AstFlowNode {
|
|
263
263
|
required: AstFlowNode;
|
|
264
264
|
type: AstFlowNode;
|
|
265
265
|
debugValue: AstFlowNode;
|
|
266
266
|
}
|
|
267
|
-
interface AstFlowNode {
|
|
267
|
+
export interface AstFlowNode {
|
|
268
268
|
parent: AstFlowNode;
|
|
269
269
|
keyword: string;
|
|
270
270
|
children: Record<string, AstFlowNode>;
|
|
@@ -278,69 +278,69 @@ declare namespace HdesApi {
|
|
|
278
278
|
id?: AstFlowNode | undefined;
|
|
279
279
|
switch?: AstFlowNode | undefined;
|
|
280
280
|
}
|
|
281
|
-
interface AstService extends AstBody {
|
|
281
|
+
export interface AstService extends AstBody {
|
|
282
282
|
executorType: "TYPE_0" | "TYPE_1" | "TYPE_2";
|
|
283
283
|
value: string;
|
|
284
284
|
}
|
|
285
|
-
interface AstTag extends AstBody {
|
|
285
|
+
export interface AstTag extends AstBody {
|
|
286
286
|
name: string;
|
|
287
287
|
created: string;
|
|
288
288
|
values: AstTagValue[];
|
|
289
289
|
}
|
|
290
|
-
interface AstTagValue {
|
|
290
|
+
export interface AstTagValue {
|
|
291
291
|
hash: string;
|
|
292
292
|
bodyType: AstBodyType;
|
|
293
293
|
commands: AstCommand[];
|
|
294
294
|
}
|
|
295
|
-
interface AstBranch extends AstBody {
|
|
295
|
+
export interface AstBranch extends AstBody {
|
|
296
296
|
name: string;
|
|
297
297
|
created: string;
|
|
298
298
|
tagId: string;
|
|
299
299
|
}
|
|
300
|
-
interface ServiceErrorMsg {
|
|
300
|
+
export interface ServiceErrorMsg {
|
|
301
301
|
id: string;
|
|
302
302
|
value: string;
|
|
303
303
|
}
|
|
304
|
-
interface ServiceErrorProps {
|
|
304
|
+
export interface ServiceErrorProps {
|
|
305
305
|
text: string;
|
|
306
306
|
status: number;
|
|
307
307
|
errors: ServiceErrorMsg[];
|
|
308
308
|
}
|
|
309
|
-
interface DebugRequest {
|
|
309
|
+
export interface DebugRequest {
|
|
310
310
|
id: string;
|
|
311
311
|
input?: string;
|
|
312
312
|
inputCSV?: string;
|
|
313
313
|
}
|
|
314
|
-
interface DebugResponse {
|
|
314
|
+
export interface DebugResponse {
|
|
315
315
|
id: string;
|
|
316
316
|
body?: ProgramResult;
|
|
317
317
|
bodyCsv?: string;
|
|
318
318
|
}
|
|
319
|
-
interface ProgramResult {
|
|
319
|
+
export interface ProgramResult {
|
|
320
320
|
}
|
|
321
|
-
interface ServiceResult extends ProgramResult {
|
|
321
|
+
export interface ServiceResult extends ProgramResult {
|
|
322
322
|
value: any;
|
|
323
323
|
}
|
|
324
|
-
interface DecisionResult extends ProgramResult {
|
|
324
|
+
export interface DecisionResult extends ProgramResult {
|
|
325
325
|
rejections: DecisionLog[];
|
|
326
326
|
matches: DecisionLog[];
|
|
327
327
|
}
|
|
328
|
-
interface DecisionLog {
|
|
328
|
+
export interface DecisionLog {
|
|
329
329
|
match: boolean;
|
|
330
330
|
order: number;
|
|
331
331
|
accepts: DecisionLogEntry[];
|
|
332
332
|
returns: DecisionLogEntry[];
|
|
333
333
|
}
|
|
334
|
-
interface DecisionLogEntry {
|
|
334
|
+
export interface DecisionLogEntry {
|
|
335
335
|
match: boolean;
|
|
336
336
|
headerType: TypeDef;
|
|
337
337
|
expression: string;
|
|
338
338
|
usedValue?: any;
|
|
339
339
|
}
|
|
340
|
-
type FlowProgramStepPointerType = "SWITCH" | "THEN" | "END";
|
|
341
|
-
type FlowProgramStepRefType = "SERVICE" | "DT";
|
|
342
|
-
type FlowExecutionStatus = "COMPLETED" | "ERROR";
|
|
343
|
-
interface FlowResult extends ProgramResult {
|
|
340
|
+
export type FlowProgramStepPointerType = "SWITCH" | "THEN" | "END";
|
|
341
|
+
export type FlowProgramStepRefType = "SERVICE" | "DT";
|
|
342
|
+
export type FlowExecutionStatus = "COMPLETED" | "ERROR";
|
|
343
|
+
export interface FlowResult extends ProgramResult {
|
|
344
344
|
stepId: string;
|
|
345
345
|
shortHistory: string;
|
|
346
346
|
logs: FlowResultLog[];
|
|
@@ -348,7 +348,7 @@ declare namespace HdesApi {
|
|
|
348
348
|
accepts: Record<string, any>;
|
|
349
349
|
returns: Record<string, any>;
|
|
350
350
|
}
|
|
351
|
-
interface FlowResultLog {
|
|
351
|
+
export interface FlowResultLog {
|
|
352
352
|
id: number;
|
|
353
353
|
stepId: string;
|
|
354
354
|
start: string | Date;
|
|
@@ -358,24 +358,24 @@ declare namespace HdesApi {
|
|
|
358
358
|
accepts: Record<string, any>;
|
|
359
359
|
returns: Record<string, any>;
|
|
360
360
|
}
|
|
361
|
-
interface FlowResultErrorLog {
|
|
361
|
+
export interface FlowResultErrorLog {
|
|
362
362
|
id: string;
|
|
363
363
|
msg: string;
|
|
364
364
|
}
|
|
365
|
-
interface Input {
|
|
365
|
+
export interface Input {
|
|
366
366
|
name: string | null | undefined;
|
|
367
367
|
value: string | null | undefined;
|
|
368
368
|
}
|
|
369
|
-
interface Output {
|
|
369
|
+
export interface Output {
|
|
370
370
|
name: string | null | undefined;
|
|
371
371
|
value: string | null | undefined;
|
|
372
372
|
}
|
|
373
|
-
interface CsvRow {
|
|
373
|
+
export interface CsvRow {
|
|
374
374
|
id: string;
|
|
375
375
|
inputs: Input[];
|
|
376
376
|
outputs: Output[];
|
|
377
377
|
}
|
|
378
|
-
interface CreateBuilder {
|
|
378
|
+
export interface CreateBuilder {
|
|
379
379
|
site(): Promise<Site>;
|
|
380
380
|
importData(init: string): Promise<Site>;
|
|
381
381
|
tag(props: {
|
|
@@ -387,18 +387,18 @@ declare namespace HdesApi {
|
|
|
387
387
|
decision(name: string): Promise<Site>;
|
|
388
388
|
branch(body: AstCommand[]): Promise<Site>;
|
|
389
389
|
}
|
|
390
|
-
interface DeleteBuilder {
|
|
390
|
+
export interface DeleteBuilder {
|
|
391
391
|
tag(tagId: TagId): Promise<Site>;
|
|
392
392
|
flow(flowId: FlowId): Promise<Site>;
|
|
393
393
|
service(serviceId: ServiceId): Promise<Site>;
|
|
394
394
|
decision(decisionId: DecisionId): Promise<Site>;
|
|
395
395
|
branch(branchId: BranchId): Promise<Site>;
|
|
396
396
|
}
|
|
397
|
-
interface DiffRequest {
|
|
397
|
+
export interface DiffRequest {
|
|
398
398
|
baseId: string;
|
|
399
399
|
targetId: string;
|
|
400
400
|
}
|
|
401
|
-
interface DiffResponse {
|
|
401
|
+
export interface DiffResponse {
|
|
402
402
|
baseName: string;
|
|
403
403
|
targetName: string;
|
|
404
404
|
baseId: string;
|
|
@@ -406,22 +406,22 @@ declare namespace HdesApi {
|
|
|
406
406
|
created: string;
|
|
407
407
|
body: string;
|
|
408
408
|
}
|
|
409
|
-
interface AstTagSummaryEntity {
|
|
409
|
+
export interface AstTagSummaryEntity {
|
|
410
410
|
id: string;
|
|
411
411
|
name: string;
|
|
412
412
|
body: string;
|
|
413
413
|
}
|
|
414
|
-
interface AstTagSummary {
|
|
414
|
+
export interface AstTagSummary {
|
|
415
415
|
tagName: string;
|
|
416
416
|
flows: AstTagSummaryEntity[];
|
|
417
417
|
services: AstTagSummaryEntity[];
|
|
418
418
|
decisions: AstTagSummaryEntity[];
|
|
419
419
|
}
|
|
420
|
-
interface VersionEntity {
|
|
420
|
+
export interface VersionEntity {
|
|
421
421
|
version: string;
|
|
422
422
|
built: string;
|
|
423
423
|
}
|
|
424
|
-
interface Service {
|
|
424
|
+
export interface Service {
|
|
425
425
|
withBranch(branchName?: string): Service;
|
|
426
426
|
branch: string | undefined;
|
|
427
427
|
delete(): DeleteBuilder;
|
|
@@ -435,15 +435,15 @@ declare namespace HdesApi {
|
|
|
435
435
|
diff(input: DiffRequest): Promise<DiffResponse>;
|
|
436
436
|
summary(tagId: string): Promise<AstTagSummary>;
|
|
437
437
|
}
|
|
438
|
-
interface Store {
|
|
438
|
+
export interface Store {
|
|
439
439
|
fetch<T>(path: string, init?: RequestInit): Promise<T>;
|
|
440
440
|
}
|
|
441
|
-
interface StoreError extends Error {
|
|
441
|
+
export interface StoreError extends Error {
|
|
442
442
|
text: string;
|
|
443
443
|
status: number;
|
|
444
444
|
errors: ServiceErrorMsg[];
|
|
445
445
|
}
|
|
446
|
-
interface StoreConfig {
|
|
446
|
+
export interface StoreConfig {
|
|
447
447
|
url: string;
|
|
448
448
|
oidc?: string;
|
|
449
449
|
status?: string;
|
|
@@ -456,20 +456,20 @@ declare namespace HdesApi {
|
|
|
456
456
|
|
|
457
457
|
export declare const siteTheme: Theme;
|
|
458
458
|
|
|
459
|
-
declare namespace StencilApi {
|
|
460
|
-
type PageId = string;
|
|
461
|
-
type LinkId = string;
|
|
462
|
-
type ArticleId = string;
|
|
463
|
-
type WorkflowId = string;
|
|
464
|
-
type LocaleId = string;
|
|
465
|
-
type Locale = string;
|
|
466
|
-
type LocalisedMarkdown = string;
|
|
467
|
-
type LocalisedContent = string;
|
|
468
|
-
type ReleaseId = string;
|
|
469
|
-
type TemplateId = string;
|
|
470
|
-
type LinkType = "internal" | "external" | "phone";
|
|
471
|
-
type TemplateType = "page";
|
|
472
|
-
interface Site {
|
|
459
|
+
export declare namespace StencilApi {
|
|
460
|
+
export type PageId = string;
|
|
461
|
+
export type LinkId = string;
|
|
462
|
+
export type ArticleId = string;
|
|
463
|
+
export type WorkflowId = string;
|
|
464
|
+
export type LocaleId = string;
|
|
465
|
+
export type Locale = string;
|
|
466
|
+
export type LocalisedMarkdown = string;
|
|
467
|
+
export type LocalisedContent = string;
|
|
468
|
+
export type ReleaseId = string;
|
|
469
|
+
export type TemplateId = string;
|
|
470
|
+
export type LinkType = "internal" | "external" | "phone";
|
|
471
|
+
export type TemplateType = "page";
|
|
472
|
+
export interface Site {
|
|
473
473
|
name: string;
|
|
474
474
|
contentType: "OK" | "NOT_CREATED" | "EMPTY" | "ERRORS" | "NO_CONNECTION";
|
|
475
475
|
locales: Record<string, SiteLocale>;
|
|
@@ -480,19 +480,19 @@ declare namespace StencilApi {
|
|
|
480
480
|
releases: Record<ReleaseId, Release>;
|
|
481
481
|
templates: Record<TemplateId, Template>;
|
|
482
482
|
}
|
|
483
|
-
interface SiteLocale {
|
|
483
|
+
export interface SiteLocale {
|
|
484
484
|
id: LocaleId;
|
|
485
485
|
body: {
|
|
486
486
|
value: Locale;
|
|
487
487
|
enabled: boolean;
|
|
488
488
|
};
|
|
489
489
|
}
|
|
490
|
-
interface LocaleMutator {
|
|
490
|
+
export interface LocaleMutator {
|
|
491
491
|
localeId: LocaleId;
|
|
492
492
|
value: string;
|
|
493
493
|
enabled: boolean;
|
|
494
494
|
}
|
|
495
|
-
interface Page {
|
|
495
|
+
export interface Page {
|
|
496
496
|
id: PageId;
|
|
497
497
|
created: string;
|
|
498
498
|
modified: string;
|
|
@@ -503,13 +503,13 @@ declare namespace StencilApi {
|
|
|
503
503
|
devMode?: boolean;
|
|
504
504
|
};
|
|
505
505
|
}
|
|
506
|
-
interface PageMutator {
|
|
506
|
+
export interface PageMutator {
|
|
507
507
|
pageId: PageId;
|
|
508
508
|
locale: Locale;
|
|
509
509
|
content: LocalisedContent;
|
|
510
510
|
devMode: boolean | undefined;
|
|
511
511
|
}
|
|
512
|
-
interface Template {
|
|
512
|
+
export interface Template {
|
|
513
513
|
id: TemplateId;
|
|
514
514
|
body: {
|
|
515
515
|
type: TemplateType;
|
|
@@ -518,14 +518,14 @@ declare namespace StencilApi {
|
|
|
518
518
|
content: string;
|
|
519
519
|
};
|
|
520
520
|
}
|
|
521
|
-
interface TemplateMutator {
|
|
521
|
+
export interface TemplateMutator {
|
|
522
522
|
id: TemplateId;
|
|
523
523
|
type: TemplateType;
|
|
524
524
|
name: string;
|
|
525
525
|
description: string;
|
|
526
526
|
content: string;
|
|
527
527
|
}
|
|
528
|
-
interface Article {
|
|
528
|
+
export interface Article {
|
|
529
529
|
id: ArticleId;
|
|
530
530
|
body: {
|
|
531
531
|
parentId?: ArticleId;
|
|
@@ -534,7 +534,7 @@ declare namespace StencilApi {
|
|
|
534
534
|
devMode?: boolean;
|
|
535
535
|
};
|
|
536
536
|
}
|
|
537
|
-
interface ArticleMutator {
|
|
537
|
+
export interface ArticleMutator {
|
|
538
538
|
articleId: ArticleId;
|
|
539
539
|
parentId?: ArticleId;
|
|
540
540
|
name: string;
|
|
@@ -543,7 +543,7 @@ declare namespace StencilApi {
|
|
|
543
543
|
workflows: WorkflowId[] | undefined;
|
|
544
544
|
devMode: boolean | undefined;
|
|
545
545
|
}
|
|
546
|
-
interface Release {
|
|
546
|
+
export interface Release {
|
|
547
547
|
id: string;
|
|
548
548
|
body: {
|
|
549
549
|
note?: string;
|
|
@@ -556,33 +556,33 @@ declare namespace StencilApi {
|
|
|
556
556
|
pages: PageReleaseItem[];
|
|
557
557
|
};
|
|
558
558
|
}
|
|
559
|
-
interface LinkReleaseItem extends ReleaseItem {
|
|
559
|
+
export interface LinkReleaseItem extends ReleaseItem {
|
|
560
560
|
value: string;
|
|
561
561
|
contentType: string;
|
|
562
562
|
articles: string;
|
|
563
563
|
labels: LocaleLabel[];
|
|
564
564
|
}
|
|
565
|
-
interface WorkflowReleaseItem extends ReleaseItem {
|
|
565
|
+
export interface WorkflowReleaseItem extends ReleaseItem {
|
|
566
566
|
value: string;
|
|
567
567
|
articles: string[];
|
|
568
568
|
labels: LocaleLabel[];
|
|
569
569
|
}
|
|
570
|
-
interface LocaleReleaseItem extends ReleaseItem {
|
|
570
|
+
export interface LocaleReleaseItem extends ReleaseItem {
|
|
571
571
|
value: string;
|
|
572
572
|
}
|
|
573
|
-
interface ArticleReleaseItem extends ReleaseItem {
|
|
573
|
+
export interface ArticleReleaseItem extends ReleaseItem {
|
|
574
574
|
name: string;
|
|
575
575
|
parentId?: string;
|
|
576
576
|
}
|
|
577
|
-
interface PageReleaseItem extends ReleaseItem {
|
|
577
|
+
export interface PageReleaseItem extends ReleaseItem {
|
|
578
578
|
locale: string;
|
|
579
579
|
h1: string;
|
|
580
580
|
}
|
|
581
|
-
interface ReleaseItem {
|
|
581
|
+
export interface ReleaseItem {
|
|
582
582
|
id: string;
|
|
583
583
|
hash: string;
|
|
584
584
|
}
|
|
585
|
-
interface Link {
|
|
585
|
+
export interface Link {
|
|
586
586
|
id: LinkId;
|
|
587
587
|
body: {
|
|
588
588
|
articles: ArticleId[];
|
|
@@ -592,11 +592,11 @@ declare namespace StencilApi {
|
|
|
592
592
|
devMode?: boolean;
|
|
593
593
|
};
|
|
594
594
|
}
|
|
595
|
-
interface LocaleLabel {
|
|
595
|
+
export interface LocaleLabel {
|
|
596
596
|
locale: LocaleId;
|
|
597
597
|
labelValue: LocalisedContent;
|
|
598
598
|
}
|
|
599
|
-
interface LinkMutator {
|
|
599
|
+
export interface LinkMutator {
|
|
600
600
|
linkId: LinkId;
|
|
601
601
|
type: LinkType;
|
|
602
602
|
value: string;
|
|
@@ -604,7 +604,7 @@ declare namespace StencilApi {
|
|
|
604
604
|
labels: LocaleLabel[] | undefined;
|
|
605
605
|
devMode: boolean | undefined;
|
|
606
606
|
}
|
|
607
|
-
interface Workflow {
|
|
607
|
+
export interface Workflow {
|
|
608
608
|
id: WorkflowId;
|
|
609
609
|
body: {
|
|
610
610
|
articles: ArticleId[];
|
|
@@ -613,17 +613,17 @@ declare namespace StencilApi {
|
|
|
613
613
|
devMode?: boolean;
|
|
614
614
|
};
|
|
615
615
|
}
|
|
616
|
-
interface WorkflowMutator {
|
|
616
|
+
export interface WorkflowMutator {
|
|
617
617
|
workflowId: WorkflowId;
|
|
618
618
|
value: string;
|
|
619
619
|
articles: ArticleId[] | undefined;
|
|
620
620
|
labels: LocaleLabel[] | undefined;
|
|
621
621
|
devMode: boolean | undefined;
|
|
622
622
|
}
|
|
623
|
-
interface FetchIntegration {
|
|
623
|
+
export interface FetchIntegration {
|
|
624
624
|
fetch<T>(path: string, init?: RequestInit): Promise<T>;
|
|
625
625
|
}
|
|
626
|
-
interface Service {
|
|
626
|
+
export interface Service {
|
|
627
627
|
getSite(): Promise<Site>;
|
|
628
628
|
getReleaseContent(releaseId: string): Promise<{}>;
|
|
629
629
|
create(): CreateBuilder;
|
|
@@ -631,50 +631,50 @@ declare namespace StencilApi {
|
|
|
631
631
|
update(): UpdateBuilder;
|
|
632
632
|
version(): Promise<VersionEntity>;
|
|
633
633
|
}
|
|
634
|
-
interface VersionEntity {
|
|
634
|
+
export interface VersionEntity {
|
|
635
635
|
version: string;
|
|
636
636
|
built: string;
|
|
637
637
|
}
|
|
638
|
-
interface CreateArticle {
|
|
638
|
+
export interface CreateArticle {
|
|
639
639
|
parentId?: ArticleId;
|
|
640
640
|
name: string;
|
|
641
641
|
order: number;
|
|
642
642
|
devMode: boolean | undefined;
|
|
643
643
|
}
|
|
644
|
-
interface CreateLocale {
|
|
644
|
+
export interface CreateLocale {
|
|
645
645
|
locale: Locale;
|
|
646
646
|
}
|
|
647
|
-
interface CreatePage {
|
|
647
|
+
export interface CreatePage {
|
|
648
648
|
articleId: ArticleId;
|
|
649
649
|
locale: LocaleId;
|
|
650
650
|
content?: string;
|
|
651
651
|
devMode: boolean | undefined;
|
|
652
652
|
}
|
|
653
|
-
interface CreateTemplate {
|
|
653
|
+
export interface CreateTemplate {
|
|
654
654
|
type: "page" | string;
|
|
655
655
|
name: string;
|
|
656
656
|
description: string;
|
|
657
657
|
content: string;
|
|
658
658
|
}
|
|
659
|
-
interface CreateLink {
|
|
659
|
+
export interface CreateLink {
|
|
660
660
|
type: "internal" | "external" | string;
|
|
661
661
|
value: string;
|
|
662
662
|
labels: LocaleLabel[];
|
|
663
663
|
articles: ArticleId[];
|
|
664
664
|
devMode: boolean | undefined;
|
|
665
665
|
}
|
|
666
|
-
interface CreateWorkflow {
|
|
666
|
+
export interface CreateWorkflow {
|
|
667
667
|
value: string;
|
|
668
668
|
labels: LocaleLabel[];
|
|
669
669
|
articles: ArticleId[];
|
|
670
670
|
devMode: boolean | undefined;
|
|
671
671
|
}
|
|
672
|
-
interface CreateRelease {
|
|
672
|
+
export interface CreateRelease {
|
|
673
673
|
name: string;
|
|
674
674
|
note?: string;
|
|
675
675
|
created: string;
|
|
676
676
|
}
|
|
677
|
-
interface CreateBuilder {
|
|
677
|
+
export interface CreateBuilder {
|
|
678
678
|
site(): Promise<Site>;
|
|
679
679
|
importData(init: string): Promise<void>;
|
|
680
680
|
release(init: CreateRelease): Promise<Release>;
|
|
@@ -685,7 +685,7 @@ declare namespace StencilApi {
|
|
|
685
685
|
template(init: CreateTemplate): Promise<Template>;
|
|
686
686
|
workflow(init: CreateWorkflow): Promise<Workflow>;
|
|
687
687
|
}
|
|
688
|
-
interface DeleteBuilder {
|
|
688
|
+
export interface DeleteBuilder {
|
|
689
689
|
locale(id: LocaleId): Promise<void>;
|
|
690
690
|
article(id: ArticleId): Promise<void>;
|
|
691
691
|
page(id: PageId): Promise<void>;
|
|
@@ -696,7 +696,7 @@ declare namespace StencilApi {
|
|
|
696
696
|
workflowArticlePage(workflow: WorkflowId, article: ArticleId, locale: Locale): Promise<void>;
|
|
697
697
|
release(id: ReleaseId): Promise<void>;
|
|
698
698
|
}
|
|
699
|
-
interface UpdateBuilder {
|
|
699
|
+
export interface UpdateBuilder {
|
|
700
700
|
locale(article: LocaleMutator): Promise<SiteLocale>;
|
|
701
701
|
article(article: ArticleMutator): Promise<Article>;
|
|
702
702
|
pages(pages: PageMutator[]): Promise<Page[]>;
|
|
@@ -704,10 +704,10 @@ declare namespace StencilApi {
|
|
|
704
704
|
workflow(workflow: WorkflowMutator): Promise<Workflow>;
|
|
705
705
|
template(template: TemplateMutator): Promise<Template>;
|
|
706
706
|
}
|
|
707
|
-
interface Store {
|
|
707
|
+
export interface Store {
|
|
708
708
|
fetch<T>(path: string, init?: RequestInit): Promise<T>;
|
|
709
709
|
}
|
|
710
|
-
interface StoreConfig {
|
|
710
|
+
export interface StoreConfig {
|
|
711
711
|
url: string;
|
|
712
712
|
oidc?: string;
|
|
713
713
|
status?: string;
|
|
@@ -716,11 +716,11 @@ declare namespace StencilApi {
|
|
|
716
716
|
value: string;
|
|
717
717
|
};
|
|
718
718
|
}
|
|
719
|
-
interface ErrorMsg {
|
|
719
|
+
export interface ErrorMsg {
|
|
720
720
|
id: string;
|
|
721
721
|
value: string;
|
|
722
722
|
}
|
|
723
|
-
interface ErrorProps {
|
|
723
|
+
export interface ErrorProps {
|
|
724
724
|
text: string;
|
|
725
725
|
status: number;
|
|
726
726
|
errors: any[];
|
|
@@ -959,6 +959,108 @@ declare namespace HdesClient {
|
|
|
959
959
|
}
|
|
960
960
|
|
|
961
961
|
|
|
962
|
+
declare namespace WrenchComposerApi {
|
|
963
|
+
interface Nav {
|
|
964
|
+
value?: string | null;
|
|
965
|
+
}
|
|
966
|
+
interface TabData {
|
|
967
|
+
nav?: Nav;
|
|
968
|
+
withNav(nav: Nav): TabData;
|
|
969
|
+
}
|
|
970
|
+
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
971
|
+
}
|
|
972
|
+
interface DebugSession {
|
|
973
|
+
error?: HdesApi.StoreError;
|
|
974
|
+
debug?: HdesApi.DebugResponse;
|
|
975
|
+
csv?: string;
|
|
976
|
+
json?: string;
|
|
977
|
+
selected: HdesApi.EntityId;
|
|
978
|
+
inputType: DebugInputType;
|
|
979
|
+
}
|
|
980
|
+
type DebugInputType = "CSV" | "JSON";
|
|
981
|
+
interface DebugSessions {
|
|
982
|
+
selected?: HdesApi.EntityId;
|
|
983
|
+
values: Record<HdesApi.EntityId, DebugSession>;
|
|
984
|
+
}
|
|
985
|
+
interface PageUpdate {
|
|
986
|
+
saved: boolean;
|
|
987
|
+
origin: HdesApi.Entity<any>;
|
|
988
|
+
value: HdesApi.AstCommand[];
|
|
989
|
+
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
990
|
+
}
|
|
991
|
+
interface Session {
|
|
992
|
+
site: HdesApi.Site;
|
|
993
|
+
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
994
|
+
debug: DebugSessions;
|
|
995
|
+
branchName?: string;
|
|
996
|
+
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
997
|
+
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
998
|
+
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
999
|
+
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
1000
|
+
withDebug(page: DebugSession): Session;
|
|
1001
|
+
withPage(page: HdesApi.EntityId): Session;
|
|
1002
|
+
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
1003
|
+
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
1004
|
+
withBranch(branchName?: string): Session;
|
|
1005
|
+
withSite(site: HdesApi.Site): Session;
|
|
1006
|
+
}
|
|
1007
|
+
interface Actions {
|
|
1008
|
+
handleLoad(): Promise<void>;
|
|
1009
|
+
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
1010
|
+
handleDebugUpdate(debug: DebugSession): void;
|
|
1011
|
+
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
1012
|
+
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
1013
|
+
handleBranchUpdate(branchName?: string): void;
|
|
1014
|
+
}
|
|
1015
|
+
interface ContextType {
|
|
1016
|
+
session: Session;
|
|
1017
|
+
actions: Actions;
|
|
1018
|
+
service: HdesApi.Service;
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
declare namespace WrenchComposerApi {
|
|
1024
|
+
class ImmutableTabData implements TabData {
|
|
1025
|
+
private _nav;
|
|
1026
|
+
constructor(props: {
|
|
1027
|
+
nav: Nav;
|
|
1028
|
+
});
|
|
1029
|
+
get nav(): Nav;
|
|
1030
|
+
withNav(nav: Nav): ImmutableTabData;
|
|
1031
|
+
}
|
|
1032
|
+
const createTab: (props: {
|
|
1033
|
+
nav: Nav;
|
|
1034
|
+
page?: HdesApi.Entity<any>;
|
|
1035
|
+
}) => ImmutableTabData;
|
|
1036
|
+
const ComposerContext: React.Context<ContextType>;
|
|
1037
|
+
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1038
|
+
const useComposer: () => {
|
|
1039
|
+
session: Session;
|
|
1040
|
+
service: HdesApi.Service;
|
|
1041
|
+
actions: Actions;
|
|
1042
|
+
site: HdesApi.Site;
|
|
1043
|
+
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1044
|
+
};
|
|
1045
|
+
const useSite: () => HdesApi.Site;
|
|
1046
|
+
const useBranchName: () => string | undefined;
|
|
1047
|
+
const useSession: () => Session;
|
|
1048
|
+
const useNav: () => {
|
|
1049
|
+
handleInTab: (props: {
|
|
1050
|
+
article: HdesApi.Entity<any>;
|
|
1051
|
+
}) => void;
|
|
1052
|
+
findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
|
|
1053
|
+
};
|
|
1054
|
+
const useDebug: () => {
|
|
1055
|
+
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
1056
|
+
};
|
|
1057
|
+
const Provider: React.FC<{
|
|
1058
|
+
children: React.ReactNode;
|
|
1059
|
+
service: HdesApi.Service;
|
|
1060
|
+
}>;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
|
|
962
1064
|
declare namespace StencilComposerApi {
|
|
963
1065
|
interface SearchData {
|
|
964
1066
|
values: readonly SearchDataEntry[];
|
|
@@ -1116,108 +1218,6 @@ declare namespace StencilComposerApi {
|
|
|
1116
1218
|
}>;
|
|
1117
1219
|
}
|
|
1118
1220
|
|
|
1119
|
-
|
|
1120
|
-
declare namespace WrenchComposerApi {
|
|
1121
|
-
interface Nav {
|
|
1122
|
-
value?: string | null;
|
|
1123
|
-
}
|
|
1124
|
-
interface TabData {
|
|
1125
|
-
nav?: Nav;
|
|
1126
|
-
withNav(nav: Nav): TabData;
|
|
1127
|
-
}
|
|
1128
|
-
interface Tab extends BurgerApi.TabSession<TabData> {
|
|
1129
|
-
}
|
|
1130
|
-
interface DebugSession {
|
|
1131
|
-
error?: HdesApi.StoreError;
|
|
1132
|
-
debug?: HdesApi.DebugResponse;
|
|
1133
|
-
csv?: string;
|
|
1134
|
-
json?: string;
|
|
1135
|
-
selected: HdesApi.EntityId;
|
|
1136
|
-
inputType: DebugInputType;
|
|
1137
|
-
}
|
|
1138
|
-
type DebugInputType = "CSV" | "JSON";
|
|
1139
|
-
interface DebugSessions {
|
|
1140
|
-
selected?: HdesApi.EntityId;
|
|
1141
|
-
values: Record<HdesApi.EntityId, DebugSession>;
|
|
1142
|
-
}
|
|
1143
|
-
interface PageUpdate {
|
|
1144
|
-
saved: boolean;
|
|
1145
|
-
origin: HdesApi.Entity<any>;
|
|
1146
|
-
value: HdesApi.AstCommand[];
|
|
1147
|
-
withValue(value: HdesApi.AstCommand[]): PageUpdate;
|
|
1148
|
-
}
|
|
1149
|
-
interface Session {
|
|
1150
|
-
site: HdesApi.Site;
|
|
1151
|
-
pages: Record<HdesApi.EntityId, PageUpdate>;
|
|
1152
|
-
debug: DebugSessions;
|
|
1153
|
-
branchName?: string;
|
|
1154
|
-
getDecision(decisionName: string): undefined | HdesApi.Entity<HdesApi.AstDecision>;
|
|
1155
|
-
getFlow(flowName: string): undefined | HdesApi.Entity<HdesApi.AstFlow>;
|
|
1156
|
-
getService(serviceName: string): undefined | HdesApi.Entity<HdesApi.AstService>;
|
|
1157
|
-
getEntity(id: HdesApi.EntityId): undefined | HdesApi.Entity<any>;
|
|
1158
|
-
withDebug(page: DebugSession): Session;
|
|
1159
|
-
withPage(page: HdesApi.EntityId): Session;
|
|
1160
|
-
withPageValue(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): Session;
|
|
1161
|
-
withoutPages(pages: HdesApi.EntityId[]): Session;
|
|
1162
|
-
withBranch(branchName?: string): Session;
|
|
1163
|
-
withSite(site: HdesApi.Site): Session;
|
|
1164
|
-
}
|
|
1165
|
-
interface Actions {
|
|
1166
|
-
handleLoad(): Promise<void>;
|
|
1167
|
-
handleLoadSite(site?: HdesApi.Site): Promise<void>;
|
|
1168
|
-
handleDebugUpdate(debug: DebugSession): void;
|
|
1169
|
-
handlePageUpdate(page: HdesApi.EntityId, value: HdesApi.AstCommand[]): void;
|
|
1170
|
-
handlePageUpdateRemove(pages: HdesApi.EntityId[]): void;
|
|
1171
|
-
handleBranchUpdate(branchName?: string): void;
|
|
1172
|
-
}
|
|
1173
|
-
interface ContextType {
|
|
1174
|
-
session: Session;
|
|
1175
|
-
actions: Actions;
|
|
1176
|
-
service: HdesApi.Service;
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
declare namespace WrenchComposerApi {
|
|
1182
|
-
class ImmutableTabData implements TabData {
|
|
1183
|
-
private _nav;
|
|
1184
|
-
constructor(props: {
|
|
1185
|
-
nav: Nav;
|
|
1186
|
-
});
|
|
1187
|
-
get nav(): Nav;
|
|
1188
|
-
withNav(nav: Nav): ImmutableTabData;
|
|
1189
|
-
}
|
|
1190
|
-
const createTab: (props: {
|
|
1191
|
-
nav: Nav;
|
|
1192
|
-
page?: HdesApi.Entity<any>;
|
|
1193
|
-
}) => ImmutableTabData;
|
|
1194
|
-
const ComposerContext: React.Context<ContextType>;
|
|
1195
|
-
const useUnsaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1196
|
-
const useComposer: () => {
|
|
1197
|
-
session: Session;
|
|
1198
|
-
service: HdesApi.Service;
|
|
1199
|
-
actions: Actions;
|
|
1200
|
-
site: HdesApi.Site;
|
|
1201
|
-
isArticleSaved: (entity: HdesApi.Entity<any>) => boolean;
|
|
1202
|
-
};
|
|
1203
|
-
const useSite: () => HdesApi.Site;
|
|
1204
|
-
const useBranchName: () => string | undefined;
|
|
1205
|
-
const useSession: () => Session;
|
|
1206
|
-
const useNav: () => {
|
|
1207
|
-
handleInTab: (props: {
|
|
1208
|
-
article: HdesApi.Entity<any>;
|
|
1209
|
-
}) => void;
|
|
1210
|
-
findTab: (article: HdesApi.Entity<any>) => Tab | undefined;
|
|
1211
|
-
};
|
|
1212
|
-
const useDebug: () => {
|
|
1213
|
-
handleDebugInit: (selected: HdesApi.EntityId) => void;
|
|
1214
|
-
};
|
|
1215
|
-
const Provider: React.FC<{
|
|
1216
|
-
children: React.ReactNode;
|
|
1217
|
-
service: HdesApi.Service;
|
|
1218
|
-
}>;
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
1221
|
declare namespace Decision {
|
|
1222
1222
|
const Table: import("react").FC<{
|
|
1223
1223
|
ast: import("../../client").HdesApi.AstDecision;
|
|
@@ -1249,14 +1249,6 @@ declare namespace Decision {
|
|
|
1249
1249
|
}
|
|
1250
1250
|
|
|
1251
1251
|
|
|
1252
|
-
declare namespace GraphAPI {
|
|
1253
|
-
const create: (props: {
|
|
1254
|
-
fl: HdesApi.AstFlow;
|
|
1255
|
-
models: HdesApi.Site;
|
|
1256
|
-
}) => Vis.Model;
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
1252
|
declare namespace Vis {
|
|
1261
1253
|
interface Model {
|
|
1262
1254
|
nodes: Node[];
|
|
@@ -1297,3 +1289,11 @@ declare namespace Vis {
|
|
|
1297
1289
|
declare namespace Vis {
|
|
1298
1290
|
const create: (init: InitProps) => React.ReactElement;
|
|
1299
1291
|
}
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
declare namespace GraphAPI {
|
|
1295
|
+
const create: (props: {
|
|
1296
|
+
fl: HdesApi.AstFlow;
|
|
1297
|
+
models: HdesApi.Site;
|
|
1298
|
+
}) => Vis.Model;
|
|
1299
|
+
}
|
package/build/index.js
CHANGED
|
@@ -48063,7 +48063,7 @@ const Yee = ({ site: e }) => {
|
|
|
48063
48063
|
] })
|
|
48064
48064
|
}
|
|
48065
48065
|
);
|
|
48066
|
-
}, od = { tag: "eveli-ide-0.0.
|
|
48066
|
+
}, od = { tag: "eveli-ide-0.0.22", built: "14/10/2024" }, Xee = (e, t, n) => {
|
|
48067
48067
|
var i, r, o, s, l, a, u, h;
|
|
48068
48068
|
return [
|
|
48069
48069
|
{
|