@avodado/core 0.0.1 → 0.1.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 +130 -130
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -334,7 +334,7 @@ var erdRelationSchema = z.object({
|
|
|
334
334
|
from: z.string(),
|
|
335
335
|
to: z.string(),
|
|
336
336
|
label: z.string().optional(),
|
|
337
|
-
card: z.enum(["1:1", "1:N", "N:M"]).optional()
|
|
337
|
+
card: z.enum(["1:1", "1:N", "N:1", "N:M"]).optional()
|
|
338
338
|
}).strict();
|
|
339
339
|
var erdSchema = z.object({
|
|
340
340
|
title: z.string().optional(),
|
|
@@ -501,8 +501,8 @@ var funnelSchema = z.object({
|
|
|
501
501
|
}).strict();
|
|
502
502
|
var flowNodeSchema = z.object({
|
|
503
503
|
id: z.string(),
|
|
504
|
-
col: z.number(),
|
|
505
|
-
row: z.number(),
|
|
504
|
+
col: z.number().optional(),
|
|
505
|
+
row: z.number().optional(),
|
|
506
506
|
w: z.number().optional(),
|
|
507
507
|
label: z.string(),
|
|
508
508
|
kind: z.enum(["start", "end", "decision", "process"]).optional()
|
|
@@ -522,8 +522,8 @@ var flowSchema = z.object({
|
|
|
522
522
|
}).strict();
|
|
523
523
|
var stateNodeSchema = z.object({
|
|
524
524
|
id: z.string(),
|
|
525
|
-
col: z.number(),
|
|
526
|
-
row: z.number(),
|
|
525
|
+
col: z.number().optional(),
|
|
526
|
+
row: z.number().optional(),
|
|
527
527
|
name: z.string().optional(),
|
|
528
528
|
kind: z.enum(["start", "terminal", "active", "wait"]).optional()
|
|
529
529
|
}).strict();
|
|
@@ -542,8 +542,8 @@ var stateSchema = z.object({
|
|
|
542
542
|
}).strict();
|
|
543
543
|
var dfdNodeSchema = z.object({
|
|
544
544
|
id: z.string(),
|
|
545
|
-
col: z.number(),
|
|
546
|
-
row: z.number(),
|
|
545
|
+
col: z.number().optional(),
|
|
546
|
+
row: z.number().optional(),
|
|
547
547
|
name: z.string(),
|
|
548
548
|
kind: z.enum(["process", "external", "store", "datastore"]).optional(),
|
|
549
549
|
num: z.union([z.string(), z.number()]).optional()
|
|
@@ -647,8 +647,8 @@ var swimlaneSchema = z.object({
|
|
|
647
647
|
}).strict();
|
|
648
648
|
var c4NodeSchema = z.object({
|
|
649
649
|
id: z.string(),
|
|
650
|
-
col: z.number(),
|
|
651
|
-
row: z.number(),
|
|
650
|
+
col: z.number().optional(),
|
|
651
|
+
row: z.number().optional(),
|
|
652
652
|
w: z.number().optional(),
|
|
653
653
|
kind: z.enum(["person", "system", "external", "store", "container", "component"]),
|
|
654
654
|
family: z.string().optional(),
|
|
@@ -674,8 +674,8 @@ var c4Schema = z.object({
|
|
|
674
674
|
}).strict();
|
|
675
675
|
var umlClassSchema = z.object({
|
|
676
676
|
id: z.string(),
|
|
677
|
-
col: z.number(),
|
|
678
|
-
row: z.number(),
|
|
677
|
+
col: z.number().optional(),
|
|
678
|
+
row: z.number().optional(),
|
|
679
679
|
name: z.string(),
|
|
680
680
|
stereotype: z.string().optional(),
|
|
681
681
|
attrs: z.array(z.string()).optional(),
|