n4s 5.0.0 → 5.0.2

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 (70) hide show
  1. package/README.md +2 -0
  2. package/date/package.json +9 -0
  3. package/dist/cjs/compose.development.js +9 -13
  4. package/dist/cjs/compose.js +0 -1
  5. package/dist/cjs/compose.production.js +1 -1
  6. package/dist/cjs/compounds.development.js +16 -32
  7. package/dist/cjs/compounds.js +0 -1
  8. package/dist/cjs/compounds.production.js +1 -1
  9. package/dist/cjs/date.development.js +186 -0
  10. package/dist/cjs/date.js +6 -0
  11. package/dist/cjs/date.production.js +1 -0
  12. package/dist/cjs/email.development.js +363 -0
  13. package/dist/cjs/email.js +6 -0
  14. package/dist/cjs/email.production.js +1 -0
  15. package/dist/cjs/isURL.development.js +353 -0
  16. package/dist/cjs/isURL.js +6 -0
  17. package/dist/cjs/isURL.production.js +1 -0
  18. package/dist/cjs/n4s.development.js +134 -213
  19. package/dist/cjs/n4s.js +0 -1
  20. package/dist/cjs/n4s.production.js +1 -1
  21. package/dist/cjs/schema.development.js +13 -22
  22. package/dist/cjs/schema.js +0 -1
  23. package/dist/cjs/schema.production.js +1 -1
  24. package/dist/es/compose.development.js +11 -15
  25. package/dist/es/compose.production.js +1 -1
  26. package/dist/es/compounds.development.js +16 -32
  27. package/dist/es/compounds.production.js +1 -1
  28. package/dist/es/date.development.js +184 -0
  29. package/dist/es/date.production.js +1 -0
  30. package/dist/es/email.development.js +361 -0
  31. package/dist/es/email.production.js +1 -0
  32. package/dist/es/isURL.development.js +351 -0
  33. package/dist/es/isURL.production.js +1 -0
  34. package/dist/es/n4s.development.js +155 -232
  35. package/dist/es/n4s.production.js +1 -1
  36. package/dist/es/schema.development.js +13 -20
  37. package/dist/es/schema.production.js +1 -1
  38. package/dist/umd/compose.development.js +12 -16
  39. package/dist/umd/compose.production.js +1 -1
  40. package/dist/umd/compounds.development.js +19 -35
  41. package/dist/umd/compounds.production.js +1 -1
  42. package/dist/umd/date.development.js +190 -0
  43. package/dist/umd/date.production.js +1 -0
  44. package/dist/umd/email.development.js +367 -0
  45. package/dist/umd/email.production.js +1 -0
  46. package/dist/umd/isURL.development.js +357 -0
  47. package/dist/umd/isURL.production.js +1 -0
  48. package/dist/umd/n4s.development.js +137 -216
  49. package/dist/umd/n4s.production.js +1 -1
  50. package/dist/umd/schema.development.js +16 -25
  51. package/dist/umd/schema.production.js +1 -1
  52. package/email/package.json +9 -0
  53. package/isURL/package.json +9 -0
  54. package/package.json +159 -55
  55. package/testUtils/TEnforceMock.ts +3 -0
  56. package/types/compose.d.ts +22 -23
  57. package/types/compose.d.ts.map +1 -0
  58. package/types/compounds.d.ts +22 -24
  59. package/types/compounds.d.ts.map +1 -0
  60. package/types/date.d.ts +18 -0
  61. package/types/date.d.ts.map +1 -0
  62. package/types/email.d.ts +12 -0
  63. package/types/email.d.ts.map +1 -0
  64. package/types/isURL.d.ts +12 -0
  65. package/types/isURL.d.ts.map +1 -0
  66. package/types/n4s.d.ts +30 -27
  67. package/types/n4s.d.ts.map +1 -0
  68. package/types/schema.d.ts +22 -23
  69. package/types/schema.d.ts.map +1 -0
  70. package/tsconfig.json +0 -8
@@ -0,0 +1,12 @@
1
+ /// <reference types="validator" />
2
+ import isEmail from 'validator/es/lib/isEmail';
3
+ import { CB, DropFirst } from "vest-utils";
4
+ type EnforceCustomMatcher<F extends CB, R> = (...args: DropFirst<Parameters<F>>) => R;
5
+ declare global {
6
+ namespace n4s {
7
+ interface EnforceCustomMatchers<R> {
8
+ isEmail: EnforceCustomMatcher<typeof isEmail, R>;
9
+ }
10
+ }
11
+ }
12
+ //# sourceMappingURL=email.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../src/exports/email.ts","../src/lib/enforceUtilityTypes.ts"],"names":[],"mappings":";AACA,OAAO,OAAO,MAAM,0BAA0B,CAAC;;;AAO/C,QAAQ,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,qBAAqB,CAAC,CAAC;YAC/B,OAAO,EAAE,oBAAoB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;SAClD;KACF;CACF"}
@@ -0,0 +1,12 @@
1
+ /// <reference types="validator" />
2
+ import isURL from 'validator/es/lib/isURL';
3
+ import { CB, DropFirst } from "vest-utils";
4
+ type EnforceCustomMatcher<F extends CB, R> = (...args: DropFirst<Parameters<F>>) => R;
5
+ declare global {
6
+ namespace n4s {
7
+ interface EnforceCustomMatchers<R> {
8
+ isURL: EnforceCustomMatcher<typeof isURL, R>;
9
+ }
10
+ }
11
+ }
12
+ //# sourceMappingURL=isURL.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isURL.d.ts","sourceRoot":"","sources":["../src/exports/isURL.ts","../src/lib/enforceUtilityTypes.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,MAAM,wBAAwB,CAAC;;;AAO3C,QAAQ,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,qBAAqB,CAAC,CAAC;YAC/B,KAAK,EAAE,oBAAoB,CAAC,OAAO,KAAK,EAAE,CAAC,CAAC,CAAC;SAC9C;KACF;CACF"}
package/types/n4s.d.ts CHANGED
@@ -1,21 +1,16 @@
1
+ import { Nullable, DropFirst, Stringable, BlankValue, CB, DynamicValue } from "vest-utils";
1
2
  declare const ctx: import("context").CtxCascadeApi<CTXType>;
2
3
  type CTXType = {
3
4
  meta: Record<string, any>;
4
5
  value: any;
5
6
  set?: boolean;
6
- parent: () => CTXType | null;
7
+ parent: () => Nullable<CTXType>;
7
8
  };
8
- type EnforceContext = null | {
9
+ type EnforceContext = Nullable<{
9
10
  meta: Record<string, any>;
10
11
  value: any;
11
12
  parent: () => EnforceContext;
12
- };
13
- type DropFirst<T extends unknown[]> = T extends [
14
- unknown,
15
- ...infer U
16
- ] ? U : never;
17
- type Stringable = string | ((...args: any[]) => string);
18
- type CB = (...args: any[]) => any;
13
+ }>;
19
14
  type RuleReturn = boolean | {
20
15
  pass: boolean;
21
16
  message?: Stringable;
@@ -36,7 +31,7 @@ declare function equals(value: unknown, arg1: unknown): boolean;
36
31
  declare function greaterThanOrEquals(value: string | number, gte: string | number): boolean;
37
32
  declare function inside(value: unknown, arg1: string | unknown[]): boolean;
38
33
  declare function isBetween(value: number | string, min: number | string, max: number | string): boolean;
39
- declare function isBlank(value: unknown): boolean;
34
+ declare function isBlank(value: unknown): value is BlankValue;
40
35
  declare function isKeyOf(key: string | symbol | number, obj: any): boolean;
41
36
  declare function isNaN(value: unknown): boolean;
42
37
  declare function isNegative(value: number | string): boolean;
@@ -56,16 +51,16 @@ declare const baseRules: {
56
51
  doesNotStartWith: (value: string, arg1: string) => boolean;
57
52
  endsWith: typeof endsWith;
58
53
  equals: typeof equals;
59
- greaterThan: typeof import("packages/vest-utils/types/vest-utils").greaterThan;
54
+ greaterThan: typeof import("vest-utils").greaterThan;
60
55
  greaterThanOrEquals: typeof greaterThanOrEquals;
61
- gt: typeof import("packages/vest-utils/types/vest-utils").greaterThan;
56
+ gt: typeof import("vest-utils").greaterThan;
62
57
  gte: typeof greaterThanOrEquals;
63
58
  inside: typeof inside;
64
- isArray: typeof import("packages/vest-utils/types/vest-utils").isArray;
59
+ isArray: typeof import("vest-utils").isArray;
65
60
  isBetween: typeof isBetween;
66
61
  isBlank: typeof isBlank;
67
- isBoolean: typeof import("packages/vest-utils/types/vest-utils").isBoolean;
68
- isEmpty: typeof import("packages/vest-utils/types/vest-utils").isEmpty;
62
+ isBoolean: typeof import("vest-utils").isBoolean;
63
+ isEmpty: typeof import("vest-utils").isEmpty;
69
64
  isEven: (value: any) => boolean;
70
65
  isFalsy: (value: unknown) => boolean;
71
66
  isKeyOf: typeof isKeyOf;
@@ -85,21 +80,21 @@ declare const baseRules: {
85
80
  isNotString: (v: unknown) => boolean;
86
81
  isNotUndefined: (value?: unknown) => boolean;
87
82
  isNotValueOf: (value: any, objectToCheck: any) => boolean;
88
- isNull: typeof import("packages/vest-utils/types/vest-utils").isNull;
89
- isNullish: typeof import("packages/vest-utils/types/vest-utils").isNullish;
83
+ isNull: typeof import("vest-utils").isNull;
84
+ isNullish: typeof import("vest-utils").isNullish;
90
85
  isNumber: typeof isNumber;
91
- isNumeric: typeof import("packages/vest-utils/types/vest-utils").isNumeric;
86
+ isNumeric: typeof import("vest-utils").isNumeric;
92
87
  isOdd: (value: any) => boolean;
93
- isPositive: typeof import("packages/vest-utils/types/vest-utils").isPositive;
94
- isString: typeof import("packages/vest-utils/types/vest-utils").isStringValue;
88
+ isPositive: typeof import("vest-utils").isPositive;
89
+ isString: typeof import("vest-utils").isStringValue;
95
90
  isTruthy: typeof isTruthy;
96
- isUndefined: typeof import("packages/vest-utils/types/vest-utils").isUndefined;
91
+ isUndefined: typeof import("vest-utils").isUndefined;
97
92
  isValueOf: typeof isValueOf;
98
- lengthEquals: typeof import("packages/vest-utils/types/vest-utils").lengthEquals;
93
+ lengthEquals: typeof import("vest-utils").lengthEquals;
99
94
  lengthNotEquals: (value: string | unknown[], arg1: string | number) => boolean;
100
95
  lessThan: typeof lessThan;
101
96
  lessThanOrEquals: typeof lessThanOrEquals;
102
- longerThan: typeof import("packages/vest-utils/types/vest-utils").longerThan;
97
+ longerThan: typeof import("vest-utils").longerThan;
103
98
  longerThanOrEquals: typeof longerThanOrEquals;
104
99
  lt: typeof lessThan;
105
100
  lte: typeof lessThanOrEquals;
@@ -107,13 +102,13 @@ declare const baseRules: {
107
102
  notEquals: (value: unknown, arg1: unknown) => boolean;
108
103
  notInside: (value: unknown, arg1: string | unknown[]) => boolean;
109
104
  notMatches: (value: string, regex: string | RegExp) => boolean;
110
- numberEquals: typeof import("packages/vest-utils/types/vest-utils").numberEquals;
105
+ numberEquals: typeof import("vest-utils").numberEquals;
111
106
  numberNotEquals: (value: string | number, eq: string | number) => boolean;
112
107
  shorterThan: typeof shorterThan;
113
108
  shorterThanOrEquals: typeof shorterThanOrEquals;
114
109
  startsWith: typeof startsWith;
115
110
  };
116
- type Rules<E> = n4s.EnforceCustomMatchers<Rules<E> & E> & Record<string, (...args: Args) => Rules<E> & E> & {
111
+ type Rules<E = Record<string, unknown>> = n4s.EnforceCustomMatchers<Rules<E> & E> & Record<string, (...args: Args) => Rules<E> & E> & {
117
112
  [P in KBaseRules]: (...args: DropFirst<Parameters<BaseRules[P]>> | Args) => Rules<E> & E;
118
113
  };
119
114
  /* eslint-disable @typescript-eslint/no-namespace, @typescript-eslint/no-empty-interface */
@@ -124,7 +119,11 @@ declare global {
124
119
  }
125
120
  }
126
121
  type IRules = n4s.IRules<Record<string, any>>;
127
- type EnforceEager = (value: RuleValue) => IRules;
122
+ type TModifiers = {
123
+ message: (input: string) => EnforceEagerReturn;
124
+ };
125
+ type EnforceEagerReturn = IRules & TModifiers;
126
+ type EnforceEager = (value: RuleValue) => EnforceEagerReturn;
128
127
  type LazyRules = n4s.IRules<LazyRuleMethods>;
129
128
  type Lazy = LazyRules & LazyRuleMethods &
130
129
  // This is a "catch all" hack to make TS happy while not
@@ -137,7 +136,10 @@ type LazyRuleRunners = {
137
136
  test: (value: unknown) => boolean;
138
137
  run: (value: unknown) => RuleDetailedResult;
139
138
  };
140
- type LazyMessage = string | ((value: unknown, originalMessage?: Stringable) => string);
139
+ type LazyMessage = DynamicValue<string, [
140
+ value: unknown,
141
+ originalMessage?: Stringable
142
+ ]>;
141
143
  declare const enforce: Enforce;
142
144
  type Enforce = EnforceMethods & LazyRules & EnforceEager;
143
145
  type EnforceMethods = {
@@ -151,3 +153,4 @@ declare global {
151
153
  }
152
154
  }
153
155
  export { enforce, ctx };
156
+ //# sourceMappingURL=n4s.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"n4s.d.ts","sourceRoot":"","sources":["../src/n4s.ts","../src/runtime/enforceContext.ts","../src/lib/ruleReturn.ts","../src/rules/endsWith.ts","../src/rules/equals.ts","../src/rules/greaterThanOrEquals.ts","../src/rules/inside.ts","../src/rules/lessThan.ts","../src/rules/lessThanOrEquals.ts","../src/rules/isBetween.ts","../src/rules/isBlank.ts","../src/rules/isBoolean.ts","../src/rules/isEven.ts","../src/rules/isKeyOf.ts","../src/rules/isNaN.ts","../src/rules/isNegative.ts","../src/rules/isNumber.ts","../src/rules/isOdd.ts","../src/rules/isString.ts","../src/rules/isTruthy.ts","../src/rules/isValueOf.ts","../src/rules/longerThanOrEquals.ts","../src/rules/matches.ts","../src/rules/ruleCondition.ts","../src/rules/shorterThan.ts","../src/rules/shorterThanOrEquals.ts","../src/rules/startsWith.ts","../src/runtime/rules.ts","../src/runtime/runtimeRules.ts","../src/lib/transformResult.ts","../src/runtime/enforceEager.ts","../src/runtime/genEnforceLazy.ts","../src/runtime/enforce.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,QAAQ,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,qBAAqB,CAAC,CAAC;SAAI;KACtC;CACF;AARD,OAAO,gBAAW,CAAgB"}
package/types/schema.d.ts CHANGED
@@ -1,9 +1,4 @@
1
- type DropFirst<T extends unknown[]> = T extends [
2
- unknown,
3
- ...infer U
4
- ] ? U : never;
5
- type Stringable = string | ((...args: any[]) => string);
6
- type CB = (...args: any[]) => any;
1
+ import { CB, DropFirst, Stringable, DynamicValue, BlankValue } from "vest-utils";
7
2
  type EnforceCustomMatcher<F extends CB, R> = (...args: DropFirst<Parameters<F>>) => R;
8
3
  type RuleReturn = boolean | {
9
4
  pass: boolean;
@@ -22,7 +17,7 @@ declare function equals(value: unknown, arg1: unknown): boolean;
22
17
  declare function greaterThanOrEquals(value: string | number, gte: string | number): boolean;
23
18
  declare function inside(value: unknown, arg1: string | unknown[]): boolean;
24
19
  declare function isBetween(value: number | string, min: number | string, max: number | string): boolean;
25
- declare function isBlank(value: unknown): boolean;
20
+ declare function isBlank(value: unknown): value is BlankValue;
26
21
  declare function isKeyOf(key: string | symbol | number, obj: any): boolean;
27
22
  declare function isNaN(value: unknown): boolean;
28
23
  declare function isNegative(value: number | string): boolean;
@@ -42,16 +37,16 @@ declare const baseRules: {
42
37
  doesNotStartWith: (value: string, arg1: string) => boolean;
43
38
  endsWith: typeof endsWith;
44
39
  equals: typeof equals;
45
- greaterThan: typeof import("packages/vest-utils/types/vest-utils").greaterThan;
40
+ greaterThan: typeof import("vest-utils").greaterThan;
46
41
  greaterThanOrEquals: typeof greaterThanOrEquals;
47
- gt: typeof import("packages/vest-utils/types/vest-utils").greaterThan;
42
+ gt: typeof import("vest-utils").greaterThan;
48
43
  gte: typeof greaterThanOrEquals;
49
44
  inside: typeof inside;
50
- isArray: typeof import("packages/vest-utils/types/vest-utils").isArray;
45
+ isArray: typeof import("vest-utils").isArray;
51
46
  isBetween: typeof isBetween;
52
47
  isBlank: typeof isBlank;
53
- isBoolean: typeof import("packages/vest-utils/types/vest-utils").isBoolean;
54
- isEmpty: typeof import("packages/vest-utils/types/vest-utils").isEmpty;
48
+ isBoolean: typeof import("vest-utils").isBoolean;
49
+ isEmpty: typeof import("vest-utils").isEmpty;
55
50
  isEven: (value: any) => boolean;
56
51
  isFalsy: (value: unknown) => boolean;
57
52
  isKeyOf: typeof isKeyOf;
@@ -71,21 +66,21 @@ declare const baseRules: {
71
66
  isNotString: (v: unknown) => boolean;
72
67
  isNotUndefined: (value?: unknown) => boolean;
73
68
  isNotValueOf: (value: any, objectToCheck: any) => boolean;
74
- isNull: typeof import("packages/vest-utils/types/vest-utils").isNull;
75
- isNullish: typeof import("packages/vest-utils/types/vest-utils").isNullish;
69
+ isNull: typeof import("vest-utils").isNull;
70
+ isNullish: typeof import("vest-utils").isNullish;
76
71
  isNumber: typeof isNumber;
77
- isNumeric: typeof import("packages/vest-utils/types/vest-utils").isNumeric;
72
+ isNumeric: typeof import("vest-utils").isNumeric;
78
73
  isOdd: (value: any) => boolean;
79
- isPositive: typeof import("packages/vest-utils/types/vest-utils").isPositive;
80
- isString: typeof import("packages/vest-utils/types/vest-utils").isStringValue;
74
+ isPositive: typeof import("vest-utils").isPositive;
75
+ isString: typeof import("vest-utils").isStringValue;
81
76
  isTruthy: typeof isTruthy;
82
- isUndefined: typeof import("packages/vest-utils/types/vest-utils").isUndefined;
77
+ isUndefined: typeof import("vest-utils").isUndefined;
83
78
  isValueOf: typeof isValueOf;
84
- lengthEquals: typeof import("packages/vest-utils/types/vest-utils").lengthEquals;
79
+ lengthEquals: typeof import("vest-utils").lengthEquals;
85
80
  lengthNotEquals: (value: string | unknown[], arg1: string | number) => boolean;
86
81
  lessThan: typeof lessThan;
87
82
  lessThanOrEquals: typeof lessThanOrEquals;
88
- longerThan: typeof import("packages/vest-utils/types/vest-utils").longerThan;
83
+ longerThan: typeof import("vest-utils").longerThan;
89
84
  longerThanOrEquals: typeof longerThanOrEquals;
90
85
  lt: typeof lessThan;
91
86
  lte: typeof lessThanOrEquals;
@@ -93,13 +88,13 @@ declare const baseRules: {
93
88
  notEquals: (value: unknown, arg1: unknown) => boolean;
94
89
  notInside: (value: unknown, arg1: string | unknown[]) => boolean;
95
90
  notMatches: (value: string, regex: string | RegExp) => boolean;
96
- numberEquals: typeof import("packages/vest-utils/types/vest-utils").numberEquals;
91
+ numberEquals: typeof import("vest-utils").numberEquals;
97
92
  numberNotEquals: (value: string | number, eq: string | number) => boolean;
98
93
  shorterThan: typeof shorterThan;
99
94
  shorterThanOrEquals: typeof shorterThanOrEquals;
100
95
  startsWith: typeof startsWith;
101
96
  };
102
- type Rules<E> = n4s.EnforceCustomMatchers<Rules<E> & E> & Record<string, (...args: Args) => Rules<E> & E> & {
97
+ type Rules<E = Record<string, unknown>> = n4s.EnforceCustomMatchers<Rules<E> & E> & Record<string, (...args: Args) => Rules<E> & E> & {
103
98
  [P in KBaseRules]: (...args: DropFirst<Parameters<BaseRules[P]>> | Args) => Rules<E> & E;
104
99
  };
105
100
  /* eslint-disable @typescript-eslint/no-namespace, @typescript-eslint/no-empty-interface */
@@ -121,7 +116,10 @@ type LazyRuleRunners = {
121
116
  test: (value: unknown) => boolean;
122
117
  run: (value: unknown) => RuleDetailedResult;
123
118
  };
124
- type LazyMessage = string | ((value: unknown, originalMessage?: Stringable) => string);
119
+ type LazyMessage = DynamicValue<string, [
120
+ value: unknown,
121
+ originalMessage?: Stringable
122
+ ]>;
125
123
  declare function isArrayOf(inputArray: any[], currentRule: LazyRuleRunners): RuleDetailedResult;
126
124
  interface ShapeObject extends Record<string, any>, Record<string, LazyRuleRunners> {
127
125
  }
@@ -142,3 +140,4 @@ declare global {
142
140
  }
143
141
  }
144
142
  export { partial };
143
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/exports/schema.ts","../src/lib/enforceUtilityTypes.ts","../src/runtime/enforceContext.ts","../src/lib/ruleReturn.ts","../src/rules/endsWith.ts","../src/rules/equals.ts","../src/rules/greaterThanOrEquals.ts","../src/rules/inside.ts","../src/rules/lessThan.ts","../src/rules/lessThanOrEquals.ts","../src/rules/isBetween.ts","../src/rules/isBlank.ts","../src/rules/isBoolean.ts","../src/rules/isEven.ts","../src/rules/isKeyOf.ts","../src/rules/isNaN.ts","../src/rules/isNegative.ts","../src/rules/isNumber.ts","../src/rules/isOdd.ts","../src/rules/isString.ts","../src/rules/isTruthy.ts","../src/rules/isValueOf.ts","../src/rules/longerThanOrEquals.ts","../src/rules/matches.ts","../src/rules/ruleCondition.ts","../src/rules/shorterThan.ts","../src/rules/shorterThanOrEquals.ts","../src/rules/startsWith.ts","../src/runtime/rules.ts","../src/runtime/runtimeRules.ts","../src/lib/transformResult.ts","../src/runtime/genEnforceLazy.ts","../src/lib/runLazyRule.ts","../src/plugins/schema/isArrayOf.ts","../src/plugins/schema/schemaTypes.ts","../src/plugins/schema/loose.ts","../src/plugins/schema/optional.ts","../src/plugins/schema/shape.ts","../src/plugins/schema/partial.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,QAAQ,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,qBAAqB,CAAC,CAAC;YAC/B,SAAS,EAAE,oBAAoB,CAAC,OAAO,SAAS,EAAE,CAAC,CAAC,CAAC;YACrD,KAAK,EAAE,oBAAoB,CAAC,OAAO,KAAK,EAAE,CAAC,CAAC,CAAC;YAC7C,KAAK,EAAE,oBAAoB,CAAC,OAAO,KAAK,EAAE,CAAC,CAAC,CAAC;YAC7C,QAAQ,EAAE,oBAAoB,CAAC,OAAO,QAAQ,EAAE,CAAC,CAAC,CAAC;SACpD;KACF;CACF;AAdD,OAAO,WAAW,CAAgB"}
package/tsconfig.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": {
4
- "declarationMap": true,
5
- "declarationDir": "./types",
6
- "outDir": "./dist"
7
- }
8
- }