@bitflow/core 0.5.0 → 0.5.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @bitflow/core
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fae5a2b: Upgrade dependencies, add disabled state to BitNode and fix default value of SynchronizeNode when dnd.
8
+
3
9
  ## 0.5.0
4
10
 
5
11
  ### Minor Changes
@@ -236,6 +236,7 @@ export declare const makeDoBaseTrySchema: (flowNodeSchemas: makeDoTrySchemaProps
236
236
  try: z.ZodNumber;
237
237
  status: z.ZodString;
238
238
  }, "strip", z.ZodTypeAny, {
239
+ status: string;
239
240
  node: {
240
241
  id: string;
241
242
  type: "checkpoint";
@@ -296,8 +297,8 @@ export declare const makeDoBaseTrySchema: (flowNodeSchemas: makeDoTrySchemaProps
296
297
  };
297
298
  startDate: Date;
298
299
  try: number;
299
- status: string;
300
300
  }, {
301
+ status: string;
301
302
  node: {
302
303
  id: string;
303
304
  type: "checkpoint";
@@ -358,7 +359,6 @@ export declare const makeDoBaseTrySchema: (flowNodeSchemas: makeDoTrySchemaProps
358
359
  };
359
360
  startDate: Date;
360
361
  try: number;
361
- status: string;
362
362
  }>;
363
363
  export declare const makeDoStartedTry: (flowNodeSchemas: makeDoTrySchemaProps) => z.ZodObject<z.extendShape<{
364
364
  node: z.ZodUnion<[z.ZodObject<z.extendShape<{
@@ -592,6 +592,7 @@ export declare const makeDoStartedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
592
592
  }, {
593
593
  status: z.ZodLiteral<"started">;
594
594
  }>, "strip", z.ZodTypeAny, {
595
+ status: "started";
595
596
  node: {
596
597
  id: string;
597
598
  type: "checkpoint";
@@ -652,8 +653,8 @@ export declare const makeDoStartedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
652
653
  };
653
654
  startDate: Date;
654
655
  try: number;
655
- status: "started";
656
656
  }, {
657
+ status: "started";
657
658
  node: {
658
659
  id: string;
659
660
  type: "checkpoint";
@@ -714,7 +715,6 @@ export declare const makeDoStartedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
714
715
  };
715
716
  startDate: Date;
716
717
  try: number;
717
- status: "started";
718
718
  }>;
719
719
  export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps) => z.ZodObject<z.extendShape<{
720
720
  node: z.ZodUnion<[z.ZodObject<z.extendShape<{
@@ -982,6 +982,7 @@ export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps)
982
982
  state: "manual" | "unknown" | "correct" | "wrong";
983
983
  } | undefined;
984
984
  endDate: Date;
985
+ status: "finished";
985
986
  node: {
986
987
  id: string;
987
988
  type: "checkpoint";
@@ -1042,7 +1043,6 @@ export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps)
1042
1043
  };
1043
1044
  startDate: Date;
1044
1045
  try: number;
1045
- status: "finished";
1046
1046
  }, {
1047
1047
  answer?: {
1048
1048
  subtype: string;
@@ -1054,6 +1054,7 @@ export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps)
1054
1054
  state: "manual" | "unknown" | "correct" | "wrong";
1055
1055
  } | undefined;
1056
1056
  endDate: Date;
1057
+ status: "finished";
1057
1058
  node: {
1058
1059
  id: string;
1059
1060
  type: "checkpoint";
@@ -1114,7 +1115,6 @@ export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps)
1114
1115
  };
1115
1116
  startDate: Date;
1116
1117
  try: number;
1117
- status: "finished";
1118
1118
  }>;
1119
1119
  export declare const makeDoSkippedTry: (flowNodeSchemas: makeDoTrySchemaProps) => z.ZodObject<z.extendShape<{
1120
1120
  node: z.ZodUnion<[z.ZodObject<z.extendShape<{
@@ -1350,6 +1350,7 @@ export declare const makeDoSkippedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
1350
1350
  endDate: z.ZodDate;
1351
1351
  }>, "strip", z.ZodTypeAny, {
1352
1352
  endDate: Date;
1353
+ status: "skipped";
1353
1354
  node: {
1354
1355
  id: string;
1355
1356
  type: "checkpoint";
@@ -1410,9 +1411,9 @@ export declare const makeDoSkippedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
1410
1411
  };
1411
1412
  startDate: Date;
1412
1413
  try: number;
1413
- status: "skipped";
1414
1414
  }, {
1415
1415
  endDate: Date;
1416
+ status: "skipped";
1416
1417
  node: {
1417
1418
  id: string;
1418
1419
  type: "checkpoint";
@@ -1473,6 +1474,5 @@ export declare const makeDoSkippedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
1473
1474
  };
1474
1475
  startDate: Date;
1475
1476
  try: number;
1476
- status: "skipped";
1477
1477
  }>;
1478
1478
  export {};
@@ -236,6 +236,7 @@ export declare const makeDoBaseTrySchema: (flowNodeSchemas: makeDoTrySchemaProps
236
236
  try: z.ZodNumber;
237
237
  status: z.ZodString;
238
238
  }, "strip", z.ZodTypeAny, {
239
+ status: string;
239
240
  node: {
240
241
  id: string;
241
242
  type: "checkpoint";
@@ -296,8 +297,8 @@ export declare const makeDoBaseTrySchema: (flowNodeSchemas: makeDoTrySchemaProps
296
297
  };
297
298
  startDate: Date;
298
299
  try: number;
299
- status: string;
300
300
  }, {
301
+ status: string;
301
302
  node: {
302
303
  id: string;
303
304
  type: "checkpoint";
@@ -358,7 +359,6 @@ export declare const makeDoBaseTrySchema: (flowNodeSchemas: makeDoTrySchemaProps
358
359
  };
359
360
  startDate: Date;
360
361
  try: number;
361
- status: string;
362
362
  }>;
363
363
  export declare const makeDoStartedTry: (flowNodeSchemas: makeDoTrySchemaProps) => z.ZodObject<z.extendShape<{
364
364
  node: z.ZodUnion<[z.ZodObject<z.extendShape<{
@@ -592,6 +592,7 @@ export declare const makeDoStartedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
592
592
  }, {
593
593
  status: z.ZodLiteral<"started">;
594
594
  }>, "strip", z.ZodTypeAny, {
595
+ status: "started";
595
596
  node: {
596
597
  id: string;
597
598
  type: "checkpoint";
@@ -652,8 +653,8 @@ export declare const makeDoStartedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
652
653
  };
653
654
  startDate: Date;
654
655
  try: number;
655
- status: "started";
656
656
  }, {
657
+ status: "started";
657
658
  node: {
658
659
  id: string;
659
660
  type: "checkpoint";
@@ -714,7 +715,6 @@ export declare const makeDoStartedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
714
715
  };
715
716
  startDate: Date;
716
717
  try: number;
717
- status: "started";
718
718
  }>;
719
719
  export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps) => z.ZodObject<z.extendShape<{
720
720
  node: z.ZodUnion<[z.ZodObject<z.extendShape<{
@@ -982,6 +982,7 @@ export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps)
982
982
  state: "manual" | "unknown" | "correct" | "wrong";
983
983
  } | undefined;
984
984
  endDate: Date;
985
+ status: "finished";
985
986
  node: {
986
987
  id: string;
987
988
  type: "checkpoint";
@@ -1042,7 +1043,6 @@ export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps)
1042
1043
  };
1043
1044
  startDate: Date;
1044
1045
  try: number;
1045
- status: "finished";
1046
1046
  }, {
1047
1047
  answer?: {
1048
1048
  subtype: string;
@@ -1054,6 +1054,7 @@ export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps)
1054
1054
  state: "manual" | "unknown" | "correct" | "wrong";
1055
1055
  } | undefined;
1056
1056
  endDate: Date;
1057
+ status: "finished";
1057
1058
  node: {
1058
1059
  id: string;
1059
1060
  type: "checkpoint";
@@ -1114,7 +1115,6 @@ export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps)
1114
1115
  };
1115
1116
  startDate: Date;
1116
1117
  try: number;
1117
- status: "finished";
1118
1118
  }>;
1119
1119
  export declare const makeDoSkippedTry: (flowNodeSchemas: makeDoTrySchemaProps) => z.ZodObject<z.extendShape<{
1120
1120
  node: z.ZodUnion<[z.ZodObject<z.extendShape<{
@@ -1350,6 +1350,7 @@ export declare const makeDoSkippedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
1350
1350
  endDate: z.ZodDate;
1351
1351
  }>, "strip", z.ZodTypeAny, {
1352
1352
  endDate: Date;
1353
+ status: "skipped";
1353
1354
  node: {
1354
1355
  id: string;
1355
1356
  type: "checkpoint";
@@ -1410,9 +1411,9 @@ export declare const makeDoSkippedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
1410
1411
  };
1411
1412
  startDate: Date;
1412
1413
  try: number;
1413
- status: "skipped";
1414
1414
  }, {
1415
1415
  endDate: Date;
1416
+ status: "skipped";
1416
1417
  node: {
1417
1418
  id: string;
1418
1419
  type: "checkpoint";
@@ -1473,6 +1474,5 @@ export declare const makeDoSkippedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
1473
1474
  };
1474
1475
  startDate: Date;
1475
1476
  try: number;
1476
- status: "skipped";
1477
1477
  }>;
1478
1478
  export {};
@@ -236,6 +236,7 @@ export declare const makeDoBaseTrySchema: (flowNodeSchemas: makeDoTrySchemaProps
236
236
  try: z.ZodNumber;
237
237
  status: z.ZodString;
238
238
  }, "strip", z.ZodTypeAny, {
239
+ status: string;
239
240
  node: {
240
241
  id: string;
241
242
  type: "checkpoint";
@@ -296,8 +297,8 @@ export declare const makeDoBaseTrySchema: (flowNodeSchemas: makeDoTrySchemaProps
296
297
  };
297
298
  startDate: Date;
298
299
  try: number;
299
- status: string;
300
300
  }, {
301
+ status: string;
301
302
  node: {
302
303
  id: string;
303
304
  type: "checkpoint";
@@ -358,7 +359,6 @@ export declare const makeDoBaseTrySchema: (flowNodeSchemas: makeDoTrySchemaProps
358
359
  };
359
360
  startDate: Date;
360
361
  try: number;
361
- status: string;
362
362
  }>;
363
363
  export declare const makeDoStartedTry: (flowNodeSchemas: makeDoTrySchemaProps) => z.ZodObject<z.extendShape<{
364
364
  node: z.ZodUnion<[z.ZodObject<z.extendShape<{
@@ -592,6 +592,7 @@ export declare const makeDoStartedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
592
592
  }, {
593
593
  status: z.ZodLiteral<"started">;
594
594
  }>, "strip", z.ZodTypeAny, {
595
+ status: "started";
595
596
  node: {
596
597
  id: string;
597
598
  type: "checkpoint";
@@ -652,8 +653,8 @@ export declare const makeDoStartedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
652
653
  };
653
654
  startDate: Date;
654
655
  try: number;
655
- status: "started";
656
656
  }, {
657
+ status: "started";
657
658
  node: {
658
659
  id: string;
659
660
  type: "checkpoint";
@@ -714,7 +715,6 @@ export declare const makeDoStartedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
714
715
  };
715
716
  startDate: Date;
716
717
  try: number;
717
- status: "started";
718
718
  }>;
719
719
  export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps) => z.ZodObject<z.extendShape<{
720
720
  node: z.ZodUnion<[z.ZodObject<z.extendShape<{
@@ -982,6 +982,7 @@ export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps)
982
982
  state: "manual" | "unknown" | "correct" | "wrong";
983
983
  } | undefined;
984
984
  endDate: Date;
985
+ status: "finished";
985
986
  node: {
986
987
  id: string;
987
988
  type: "checkpoint";
@@ -1042,7 +1043,6 @@ export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps)
1042
1043
  };
1043
1044
  startDate: Date;
1044
1045
  try: number;
1045
- status: "finished";
1046
1046
  }, {
1047
1047
  answer?: {
1048
1048
  subtype: string;
@@ -1054,6 +1054,7 @@ export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps)
1054
1054
  state: "manual" | "unknown" | "correct" | "wrong";
1055
1055
  } | undefined;
1056
1056
  endDate: Date;
1057
+ status: "finished";
1057
1058
  node: {
1058
1059
  id: string;
1059
1060
  type: "checkpoint";
@@ -1114,7 +1115,6 @@ export declare const makeDoFinishedTry: (flowNodeSchemas: makeDoTrySchemaProps)
1114
1115
  };
1115
1116
  startDate: Date;
1116
1117
  try: number;
1117
- status: "finished";
1118
1118
  }>;
1119
1119
  export declare const makeDoSkippedTry: (flowNodeSchemas: makeDoTrySchemaProps) => z.ZodObject<z.extendShape<{
1120
1120
  node: z.ZodUnion<[z.ZodObject<z.extendShape<{
@@ -1350,6 +1350,7 @@ export declare const makeDoSkippedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
1350
1350
  endDate: z.ZodDate;
1351
1351
  }>, "strip", z.ZodTypeAny, {
1352
1352
  endDate: Date;
1353
+ status: "skipped";
1353
1354
  node: {
1354
1355
  id: string;
1355
1356
  type: "checkpoint";
@@ -1410,9 +1411,9 @@ export declare const makeDoSkippedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
1410
1411
  };
1411
1412
  startDate: Date;
1412
1413
  try: number;
1413
- status: "skipped";
1414
1414
  }, {
1415
1415
  endDate: Date;
1416
+ status: "skipped";
1416
1417
  node: {
1417
1418
  id: string;
1418
1419
  type: "checkpoint";
@@ -1473,6 +1474,5 @@ export declare const makeDoSkippedTry: (flowNodeSchemas: makeDoTrySchemaProps) =
1473
1474
  };
1474
1475
  startDate: Date;
1475
1476
  try: number;
1476
- status: "skipped";
1477
1477
  }>;
1478
1478
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitflow/core",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "author": "Mike Barkmin",
5
5
  "homepage": "https://github.com/openpatch/bitflow#readme",
6
6
  "license": "MIT",
@@ -51,5 +51,5 @@
51
51
  "react-dom": "17.x",
52
52
  "zod": "3.x"
53
53
  },
54
- "gitHead": "6f21c035ad2eba45effe8ce2d7cf738bd22b1b9b"
54
+ "gitHead": "77d67c99ca2e8c54a86908678bc56d28815a36db"
55
55
  }