@ray-js/robot-data-stream 0.0.14 → 0.0.15-beta.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.
Files changed (156) hide show
  1. package/lib/mqtt/createCommonOptions.d.ts +4 -2
  2. package/lib/mqtt/createCommonOptions.js +10 -5
  3. package/lib/mqtt/hooks/useStructuredMessage.d.ts +14 -0
  4. package/lib/mqtt/hooks/useStructuredMessage.js +131 -0
  5. package/lib/mqtt/mqttProvider.d.ts +19 -1
  6. package/lib/mqtt/mqttProvider.js +69 -8
  7. package/lib/mqtt/promise.d.ts +57 -4
  8. package/lib/mqtt/promise.js +115 -36
  9. package/lib/mqtt/type/fun.d.ts +49 -0
  10. package/lib/mqtt/type/fun.js +145 -0
  11. package/lib/mqtt/type/index.d.ts +0 -7
  12. package/lib/mqtt/type/index.js +0 -1
  13. package/lib/mqtt/type/protocols/base.d.ts +5 -0
  14. package/lib/mqtt/type/protocols/base.js +32 -0
  15. package/lib/mqtt/type/protocols/carpetCleanProtocol.d.ts +8 -0
  16. package/lib/mqtt/type/protocols/carpetCleanProtocol.js +16 -0
  17. package/lib/mqtt/type/protocols/carpetProtocol.d.ts +41 -0
  18. package/lib/mqtt/type/protocols/carpetProtocol.js +202 -0
  19. package/lib/mqtt/type/protocols/devInfoProtocol.d.ts +5 -0
  20. package/lib/mqtt/type/protocols/devInfoProtocol.js +12 -0
  21. package/lib/mqtt/type/protocols/deviceModelProtocol.d.ts +8 -0
  22. package/lib/mqtt/type/protocols/deviceModelProtocol.js +34 -0
  23. package/lib/mqtt/type/protocols/furnitureModelProtocol.d.ts +10 -0
  24. package/lib/mqtt/type/protocols/furnitureModelProtocol.js +35 -0
  25. package/lib/mqtt/type/protocols/historyMapProtocol.d.ts +17 -0
  26. package/lib/mqtt/type/protocols/historyMapProtocol.js +37 -0
  27. package/lib/mqtt/type/protocols/index.d.ts +20 -0
  28. package/lib/mqtt/type/protocols/index.js +20 -0
  29. package/lib/mqtt/type/protocols/partDivisionProtocol.d.ts +8 -0
  30. package/lib/mqtt/type/protocols/partDivisionProtocol.js +12 -0
  31. package/lib/mqtt/type/protocols/partMergeProtocol.d.ts +7 -0
  32. package/lib/mqtt/type/protocols/partMergeProtocol.js +12 -0
  33. package/lib/mqtt/type/protocols/passwordProtocol.d.ts +11 -0
  34. package/lib/mqtt/type/protocols/passwordProtocol.js +25 -0
  35. package/lib/mqtt/type/protocols/quietHoursProtocol.d.ts +8 -0
  36. package/lib/mqtt/type/protocols/quietHoursProtocol.js +35 -0
  37. package/lib/mqtt/type/protocols/resetMapProtocol.d.ts +4 -0
  38. package/lib/mqtt/type/protocols/resetMapProtocol.js +1 -0
  39. package/lib/mqtt/type/protocols/roomPropertyProtocol.d.ts +14 -0
  40. package/lib/mqtt/type/protocols/roomPropertyProtocol.js +113 -0
  41. package/lib/mqtt/type/protocols/scheduleProtocol.d.ts +18 -0
  42. package/lib/mqtt/type/protocols/scheduleProtocol.js +100 -0
  43. package/lib/mqtt/type/protocols/selectRoomCleanProtocol.d.ts +8 -0
  44. package/lib/mqtt/type/protocols/selectRoomCleanProtocol.js +40 -0
  45. package/lib/mqtt/type/protocols/spotCleanProtocol.d.ts +9 -0
  46. package/lib/mqtt/type/protocols/spotCleanProtocol.js +72 -0
  47. package/lib/mqtt/type/protocols/virtualAreaProtocol.d.ts +8 -0
  48. package/lib/mqtt/type/protocols/virtualAreaProtocol.js +36 -0
  49. package/lib/mqtt/type/protocols/virtualWallProtocol.d.ts +8 -0
  50. package/lib/mqtt/type/protocols/virtualWallProtocol.js +25 -0
  51. package/lib/mqtt/type/protocols/voiceProtocol.d.ts +8 -0
  52. package/lib/mqtt/type/protocols/voiceProtocol.js +23 -0
  53. package/lib/mqtt/type/protocols/wifiMapProtocol.d.ts +8 -0
  54. package/lib/mqtt/type/protocols/wifiMapProtocol.js +14 -0
  55. package/lib/mqtt/type/protocols/zoneCleanProtocol.d.ts +8 -0
  56. package/lib/mqtt/type/protocols/zoneCleanProtocol.js +49 -0
  57. package/lib/mqtt/useCarpet.d.ts +7 -67
  58. package/lib/mqtt/useCarpet.js +101 -181
  59. package/lib/mqtt/useCarpetClean.d.ts +2 -11
  60. package/lib/mqtt/useCarpetClean.js +24 -51
  61. package/lib/mqtt/useDevInfo.d.ts +8 -6
  62. package/lib/mqtt/useDevInfo.js +44 -36
  63. package/lib/mqtt/useDeviceModel.d.ts +6 -19
  64. package/lib/mqtt/useDeviceModel.js +29 -42
  65. package/lib/mqtt/useFurnitureModel.d.ts +6 -18
  66. package/lib/mqtt/useFurnitureModel.js +29 -43
  67. package/lib/mqtt/useHistoryMap.d.ts +2 -18
  68. package/lib/mqtt/useHistoryMap.js +102 -119
  69. package/lib/mqtt/usePartDivision.d.ts +2 -9
  70. package/lib/mqtt/usePartDivision.js +48 -57
  71. package/lib/mqtt/usePartMerge.d.ts +2 -8
  72. package/lib/mqtt/usePartMerge.js +34 -49
  73. package/lib/mqtt/usePassword.d.ts +6 -13
  74. package/lib/mqtt/usePassword.js +84 -74
  75. package/lib/mqtt/useQuiteHours.d.ts +4 -37
  76. package/lib/mqtt/useQuiteHours.js +66 -100
  77. package/lib/mqtt/useResetMap.d.ts +2 -8
  78. package/lib/mqtt/useResetMap.js +27 -34
  79. package/lib/mqtt/useRoomProperty.d.ts +8 -9
  80. package/lib/mqtt/useRoomProperty.js +67 -65
  81. package/lib/mqtt/useSchedule.d.ts +3 -23
  82. package/lib/mqtt/useSchedule.js +72 -101
  83. package/lib/mqtt/useSelectRoomClean.d.ts +3 -24
  84. package/lib/mqtt/useSelectRoomClean.js +107 -133
  85. package/lib/mqtt/useSpotClean.d.ts +5 -15
  86. package/lib/mqtt/useSpotClean.js +68 -121
  87. package/lib/mqtt/useVirtualArea.d.ts +6 -17
  88. package/lib/mqtt/useVirtualArea.js +109 -119
  89. package/lib/mqtt/useVirtualWall.d.ts +2 -18
  90. package/lib/mqtt/useVirtualWall.js +69 -90
  91. package/lib/mqtt/useVoice.d.ts +2 -16
  92. package/lib/mqtt/useVoice.js +48 -68
  93. package/lib/mqtt/useWifiMap.d.ts +6 -5
  94. package/lib/mqtt/useWifiMap.js +43 -42
  95. package/lib/mqtt/useZoneClean.d.ts +2 -21
  96. package/lib/mqtt/useZoneClean.js +125 -137
  97. package/lib/myLib/zod/mini/index.d.cts +1 -0
  98. package/lib/myLib/zod/mini/index.d.ts +1 -0
  99. package/lib/myLib/zod/mini/index.js +1 -0
  100. package/lib/myLib/zod/mini/package.json +6 -0
  101. package/lib/myLib/zod/src/mini/index.d.ts +1 -0
  102. package/lib/myLib/zod/src/mini/index.js +1 -0
  103. package/lib/myLib/zod/src/v4/core/api.d.ts +306 -0
  104. package/lib/myLib/zod/src/v4/core/api.js +1256 -0
  105. package/lib/myLib/zod/src/v4/core/checks.d.ts +278 -0
  106. package/lib/myLib/zod/src/v4/core/checks.js +816 -0
  107. package/lib/myLib/zod/src/v4/core/config.d.ts +9 -0
  108. package/lib/myLib/zod/src/v4/core/config.js +5 -0
  109. package/lib/myLib/zod/src/v4/core/core.d.ts +70 -0
  110. package/lib/myLib/zod/src/v4/core/core.js +95 -0
  111. package/lib/myLib/zod/src/v4/core/doc.d.ts +14 -0
  112. package/lib/myLib/zod/src/v4/core/doc.js +42 -0
  113. package/lib/myLib/zod/src/v4/core/errors.d.ts +220 -0
  114. package/lib/myLib/zod/src/v4/core/errors.js +232 -0
  115. package/lib/myLib/zod/src/v4/core/index.d.ts +15 -0
  116. package/lib/myLib/zod/src/v4/core/index.js +15 -0
  117. package/lib/myLib/zod/src/v4/core/json-schema-generator.d.ts +65 -0
  118. package/lib/myLib/zod/src/v4/core/json-schema-generator.js +120 -0
  119. package/lib/myLib/zod/src/v4/core/json-schema-processors.d.ts +49 -0
  120. package/lib/myLib/zod/src/v4/core/json-schema-processors.js +593 -0
  121. package/lib/myLib/zod/src/v4/core/json-schema.d.ts +88 -0
  122. package/lib/myLib/zod/src/v4/core/json-schema.js +1 -0
  123. package/lib/myLib/zod/src/v4/core/parse.d.ts +49 -0
  124. package/lib/myLib/zod/src/v4/core/parse.js +147 -0
  125. package/lib/myLib/zod/src/v4/core/regexes.d.ts +78 -0
  126. package/lib/myLib/zod/src/v4/core/regexes.js +146 -0
  127. package/lib/myLib/zod/src/v4/core/registries.d.ts +35 -0
  128. package/lib/myLib/zod/src/v4/core/registries.js +51 -0
  129. package/lib/myLib/zod/src/v4/core/schemas.d.ts +1136 -0
  130. package/lib/myLib/zod/src/v4/core/schemas.js +2745 -0
  131. package/lib/myLib/zod/src/v4/core/standard-schema.d.ts +126 -0
  132. package/lib/myLib/zod/src/v4/core/standard-schema.js +1 -0
  133. package/lib/myLib/zod/src/v4/core/to-json-schema.d.ts +114 -0
  134. package/lib/myLib/zod/src/v4/core/to-json-schema.js +488 -0
  135. package/lib/myLib/zod/src/v4/core/util.d.ts +199 -0
  136. package/lib/myLib/zod/src/v4/core/util.js +656 -0
  137. package/lib/myLib/zod/src/v4/core/versions.d.ts +5 -0
  138. package/lib/myLib/zod/src/v4/core/versions.js +5 -0
  139. package/lib/myLib/zod/src/v4/core/zsf.d.ts +91 -0
  140. package/lib/myLib/zod/src/v4/core/zsf.js +1 -0
  141. package/lib/myLib/zod/src/v4/mini/checks.d.ts +1 -0
  142. package/lib/myLib/zod/src/v4/mini/checks.js +1 -0
  143. package/lib/myLib/zod/src/v4/mini/coerce.d.ts +7 -0
  144. package/lib/myLib/zod/src/v4/mini/coerce.js +27 -0
  145. package/lib/myLib/zod/src/v4/mini/external.d.ts +11 -0
  146. package/lib/myLib/zod/src/v4/mini/external.js +16 -0
  147. package/lib/myLib/zod/src/v4/mini/index.d.ts +3 -0
  148. package/lib/myLib/zod/src/v4/mini/index.js +3 -0
  149. package/lib/myLib/zod/src/v4/mini/iso.d.ts +22 -0
  150. package/lib/myLib/zod/src/v4/mini/iso.js +46 -0
  151. package/lib/myLib/zod/src/v4/mini/parse.d.ts +1 -0
  152. package/lib/myLib/zod/src/v4/mini/parse.js +1 -0
  153. package/lib/myLib/zod/src/v4/mini/schemas.js +1244 -0
  154. package/lib/utils/index.d.ts +1 -0
  155. package/lib/utils/index.js +2 -1
  156. package/package.json +5 -3
@@ -0,0 +1,91 @@
1
+ export interface $ZSF {
2
+ $zsf: {
3
+ version: number;
4
+ };
5
+ type: string;
6
+ default: unknown;
7
+ fallback: unknown;
8
+ }
9
+ export interface $ZSFString extends $ZSF {
10
+ type: "string";
11
+ min_length?: number;
12
+ max_length?: number;
13
+ pattern?: string;
14
+ }
15
+ export type NumberTypes = "float32" | "int32" | "uint32" | "float64" | "int64" | "uint64" | "bigint" | "bigdecimal";
16
+ export interface $ZSFNumber extends $ZSF {
17
+ type: "number";
18
+ format?: NumberTypes;
19
+ minimum?: number;
20
+ maximum?: number;
21
+ multiple_of?: number;
22
+ }
23
+ export interface $ZSFBoolean extends $ZSF {
24
+ type: "boolean";
25
+ }
26
+ export interface $ZSFNull extends $ZSF {
27
+ type: "null";
28
+ }
29
+ export interface $ZSFUndefined extends $ZSF {
30
+ type: "undefined";
31
+ }
32
+ export interface $ZSFOptional<T extends $ZSF = $ZSF> extends $ZSF {
33
+ type: "optional";
34
+ inner: T;
35
+ }
36
+ export interface $ZSFNever extends $ZSF {
37
+ type: "never";
38
+ }
39
+ export interface $ZSFAny extends $ZSF {
40
+ type: "any";
41
+ }
42
+ /** Supports */
43
+ export interface $ZSFEnum<Elements extends {
44
+ [k: string]: $ZSFLiteral;
45
+ } = {
46
+ [k: string]: $ZSFLiteral;
47
+ }> extends $ZSF {
48
+ type: "enum";
49
+ elements: Elements;
50
+ }
51
+ export interface $ZSFArray<PrefixItems extends $ZSF[] = $ZSF[], Items extends $ZSF = $ZSF> extends $ZSF {
52
+ type: "array";
53
+ prefixItems: PrefixItems;
54
+ items: Items;
55
+ }
56
+ type $ZSFObjectProperties = Array<{
57
+ key: string;
58
+ value: $ZSF;
59
+ format?: "literal" | "pattern";
60
+ ordering?: number;
61
+ }>;
62
+ export interface $ZSFObject<Properties extends $ZSFObjectProperties = $ZSFObjectProperties> extends $ZSF {
63
+ type: "object";
64
+ properties: Properties;
65
+ }
66
+ /** Supports arbitrary literal values */
67
+ export interface $ZSFLiteral<T extends $ZSF = $ZSF> extends $ZSF {
68
+ type: "literal";
69
+ schema: T;
70
+ value: unknown;
71
+ }
72
+ export interface $ZSFUnion<Elements extends $ZSF[] = $ZSF[]> extends $ZSF {
73
+ type: "union";
74
+ elements: Elements;
75
+ }
76
+ export interface $ZSFIntersection extends $ZSF {
77
+ type: "intersection";
78
+ elements: $ZSF[];
79
+ }
80
+ export interface $ZSFMap<K extends $ZSF = $ZSF, V extends $ZSF = $ZSF> extends $ZSF {
81
+ type: "map";
82
+ keys: K;
83
+ values: V;
84
+ }
85
+ export interface $ZSFConditional<If extends $ZSF, Then extends $ZSF, Else extends $ZSF> extends $ZSF {
86
+ type: "conditional";
87
+ if: If;
88
+ then: Then;
89
+ else: Else;
90
+ }
91
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { _lt as lt, _lte as lte, _lte as maximum, _gt as gt, _gte as gte, _gte as minimum, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, } from "../core/index.js";
@@ -0,0 +1 @@
1
+ export { _lt as lt, _lte as lte, _lte as maximum, _gt as gt, _gte as gte, _gte as minimum, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase } from "../core/index.js";
@@ -0,0 +1,7 @@
1
+ import * as core from "../core/index.js";
2
+ import * as schemas from "./schemas.js";
3
+ export declare function string<T = unknown>(params?: string | core.$ZodStringParams): schemas.ZodMiniString<T>;
4
+ export declare function number<T = unknown>(params?: string | core.$ZodNumberParams): schemas.ZodMiniNumber<T>;
5
+ export declare function boolean<T = unknown>(params?: string | core.$ZodBooleanParams): schemas.ZodMiniBoolean<T>;
6
+ export declare function bigint<T = unknown>(params?: string | core.$ZodBigIntParams): schemas.ZodMiniBigInt<T>;
7
+ export declare function date<T = unknown>(params?: string | core.$ZodDateParams): schemas.ZodMiniDate<T>;
@@ -0,0 +1,27 @@
1
+ import * as core from "../core/index.js";
2
+ import * as schemas from "./schemas.js";
3
+
4
+ // @__NO_SIDE_EFFECTS__
5
+ export function string(params) {
6
+ return core._coercedString(schemas.ZodMiniString, params);
7
+ }
8
+
9
+ // @__NO_SIDE_EFFECTS__
10
+ export function number(params) {
11
+ return core._coercedNumber(schemas.ZodMiniNumber, params);
12
+ }
13
+
14
+ // @__NO_SIDE_EFFECTS__
15
+ export function boolean(params) {
16
+ return core._coercedBoolean(schemas.ZodMiniBoolean, params);
17
+ }
18
+
19
+ // @__NO_SIDE_EFFECTS__
20
+ export function bigint(params) {
21
+ return core._coercedBigint(schemas.ZodMiniBigInt, params);
22
+ }
23
+
24
+ // @__NO_SIDE_EFFECTS__
25
+ export function date(params) {
26
+ return core._coercedDate(schemas.ZodMiniDate, params);
27
+ }
@@ -0,0 +1,11 @@
1
+ export * as core from "../core/index.js";
2
+ export * from "./parse.js";
3
+ export * from "./schemas.js";
4
+ export * from "./checks.js";
5
+ export type { infer, output, input } from "../core/index.js";
6
+ export { globalRegistry, registry, config, $output, $input, $brand, clone, regexes, treeifyError, prettifyError, formatError, flattenError, TimePrecision, util, NEVER, } from "../core/index.js";
7
+ export { toJSONSchema } from "../core/json-schema-processors.js";
8
+ /** A special constant with type `never` */
9
+ export * as iso from "./iso.js";
10
+ export { ZodMiniISODateTime, ZodMiniISODate, ZodMiniISOTime, ZodMiniISODuration, } from "./iso.js";
11
+ export * as coerce from "./coerce.js";
@@ -0,0 +1,16 @@
1
+ export * as core from "../core/index.js";
2
+ export * from "./parse.js";
3
+ export * from "./schemas.js";
4
+ export * from "./checks.js";
5
+ export { globalRegistry, registry, config, $output, $input, $brand, clone, regexes, treeifyError, prettifyError, formatError, flattenError, TimePrecision, util, NEVER } from "../core/index.js";
6
+ export { toJSONSchema } from "../core/json-schema-processors.js";
7
+
8
+ /** A special constant with type `never` */
9
+ // export const NEVER = {} as never;
10
+
11
+ // iso
12
+ export * as iso from "./iso.js";
13
+ export { ZodMiniISODateTime, ZodMiniISODate, ZodMiniISOTime, ZodMiniISODuration } from "./iso.js";
14
+
15
+ // coerce
16
+ export * as coerce from "./coerce.js";
@@ -0,0 +1,3 @@
1
+ import * as z from "./external.js";
2
+ export * from "./external.js";
3
+ export { z };
@@ -0,0 +1,3 @@
1
+ import * as z from "./external.js";
2
+ export * from "./external.js";
3
+ export { z };
@@ -0,0 +1,22 @@
1
+ import * as core from "../core/index.js";
2
+ import * as schemas from "./schemas.js";
3
+ export interface ZodMiniISODateTime extends schemas.ZodMiniStringFormat<"datetime"> {
4
+ _zod: core.$ZodISODateTimeInternals;
5
+ }
6
+ export declare const ZodMiniISODateTime: core.$constructor<ZodMiniISODateTime>;
7
+ export declare function datetime(params?: string | core.$ZodISODateTimeParams): ZodMiniISODateTime;
8
+ export interface ZodMiniISODate extends schemas.ZodMiniStringFormat<"date"> {
9
+ _zod: core.$ZodISODateInternals;
10
+ }
11
+ export declare const ZodMiniISODate: core.$constructor<ZodMiniISODate>;
12
+ export declare function date(params?: string | core.$ZodISODateParams): ZodMiniISODate;
13
+ export interface ZodMiniISOTime extends schemas.ZodMiniStringFormat<"time"> {
14
+ _zod: core.$ZodISOTimeInternals;
15
+ }
16
+ export declare const ZodMiniISOTime: core.$constructor<ZodMiniISOTime>;
17
+ export declare function time(params?: string | core.$ZodISOTimeParams): ZodMiniISOTime;
18
+ export interface ZodMiniISODuration extends schemas.ZodMiniStringFormat<"duration"> {
19
+ _zod: core.$ZodISODurationInternals;
20
+ }
21
+ export declare const ZodMiniISODuration: core.$constructor<ZodMiniISODuration>;
22
+ export declare function duration(params?: string | core.$ZodISODurationParams): ZodMiniISODuration;
@@ -0,0 +1,46 @@
1
+ import * as core from "../core/index.js";
2
+ import * as schemas from "./schemas.js";
3
+
4
+ // iso time
5
+
6
+ export const ZodMiniISODateTime = /*@__PURE__*/core.$constructor("ZodMiniISODateTime", (inst, def) => {
7
+ core.$ZodISODateTime.init(inst, def);
8
+ schemas.ZodMiniStringFormat.init(inst, def);
9
+ });
10
+ // @__NO_SIDE_EFFECTS__
11
+ export function datetime(params) {
12
+ return core._isoDateTime(ZodMiniISODateTime, params);
13
+ }
14
+
15
+ // iso date
16
+
17
+ export const ZodMiniISODate = /*@__PURE__*/core.$constructor("ZodMiniISODate", (inst, def) => {
18
+ core.$ZodISODate.init(inst, def);
19
+ schemas.ZodMiniStringFormat.init(inst, def);
20
+ });
21
+ // @__NO_SIDE_EFFECTS__
22
+ export function date(params) {
23
+ return core._isoDate(ZodMiniISODate, params);
24
+ }
25
+
26
+ // iso time
27
+
28
+ export const ZodMiniISOTime = /*@__PURE__*/core.$constructor("ZodMiniISOTime", (inst, def) => {
29
+ core.$ZodISOTime.init(inst, def);
30
+ schemas.ZodMiniStringFormat.init(inst, def);
31
+ });
32
+ // @__NO_SIDE_EFFECTS__
33
+ export function time(params) {
34
+ return core._isoTime(ZodMiniISOTime, params);
35
+ }
36
+
37
+ // iso duration
38
+
39
+ export const ZodMiniISODuration = /*@__PURE__*/core.$constructor("ZodMiniISODuration", (inst, def) => {
40
+ core.$ZodISODuration.init(inst, def);
41
+ schemas.ZodMiniStringFormat.init(inst, def);
42
+ });
43
+ // @__NO_SIDE_EFFECTS__
44
+ export function duration(params) {
45
+ return core._isoDuration(ZodMiniISODuration, params);
46
+ }
@@ -0,0 +1 @@
1
+ export { parse, safeParse, parseAsync, safeParseAsync, encode, decode, encodeAsync, decodeAsync, safeEncode, safeDecode, safeEncodeAsync, safeDecodeAsync, } from "../core/index.js";
@@ -0,0 +1 @@
1
+ export { parse, safeParse, parseAsync, safeParseAsync, encode, decode, encodeAsync, decodeAsync, safeEncode, safeDecode, safeEncodeAsync, safeDecodeAsync } from "../core/index.js";