@decaf-ts/decorator-validation 1.11.6 → 1.11.8
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/decorator-validation.cjs +1 -1
- package/dist/decorator-validation.cjs.map +1 -1
- package/dist/decorator-validation.js +1 -1
- package/dist/decorator-validation.js.map +1 -1
- package/lib/esm/index.d.ts +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/esm/model/types.d.ts +2 -2
- package/lib/esm/overrides/Metadata.d.ts +1 -0
- package/lib/esm/overrides/Metadata.js +1 -1
- package/lib/esm/overrides/Metadata.js.map +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/model/types.d.ts +2 -2
- package/lib/overrides/Metadata.cjs +1 -0
- package/lib/overrides/Metadata.d.ts +1 -0
- package/lib/overrides/Metadata.js.map +1 -1
- package/package.json +3 -2
- package/workdocs/assets/slogans.json +174 -0
package/lib/esm/model/types.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ export interface Serializable {
|
|
|
92
92
|
* @return {string} - The serialized string representation
|
|
93
93
|
* @method
|
|
94
94
|
*/
|
|
95
|
-
serialize(): string;
|
|
95
|
+
serialize(...args: any[]): string;
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* @description Interface for objects that can generate a hash representation
|
|
@@ -108,7 +108,7 @@ export interface Hashable {
|
|
|
108
108
|
* @return {string} - Hash value representing the object
|
|
109
109
|
* @method
|
|
110
110
|
*/
|
|
111
|
-
hash(): string;
|
|
111
|
+
hash(...args: any[]): string;
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
114
|
* @description Interface for objects that can be compared with other objects
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import "@decaf-ts/decoration";
|
|
2
2
|
//# sourceMappingURL=Metadata.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Metadata.js","sourceRoot":"","sources":["../../../src/overrides/Metadata.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"Metadata.js","sourceRoot":"","sources":["../../../src/overrides/Metadata.ts"],"names":[],"mappings":"AACA,OAAO,sBAAsB,CAAC"}
|
package/lib/index.cjs
CHANGED
|
@@ -35,7 +35,7 @@ __exportStar(require("./model/index.cjs"), exports);
|
|
|
35
35
|
* @const VERSION
|
|
36
36
|
* @memberOf module:decorator-validation
|
|
37
37
|
*/
|
|
38
|
-
exports.VERSION = "1.11.
|
|
38
|
+
exports.VERSION = "1.11.7";
|
|
39
39
|
/**
|
|
40
40
|
* @description Current version of the reflection package
|
|
41
41
|
* @summary Stores the semantic version number of the package
|
package/lib/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export * from "./model";
|
|
|
10
10
|
* @const VERSION
|
|
11
11
|
* @memberOf module:decorator-validation
|
|
12
12
|
*/
|
|
13
|
-
export declare const VERSION = "1.11.
|
|
13
|
+
export declare const VERSION = "1.11.7";
|
|
14
14
|
/**
|
|
15
15
|
* @description Current version of the reflection package
|
|
16
16
|
* @summary Stores the semantic version number of the package
|
package/lib/model/types.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ export interface Serializable {
|
|
|
92
92
|
* @return {string} - The serialized string representation
|
|
93
93
|
* @method
|
|
94
94
|
*/
|
|
95
|
-
serialize(): string;
|
|
95
|
+
serialize(...args: any[]): string;
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* @description Interface for objects that can generate a hash representation
|
|
@@ -108,7 +108,7 @@ export interface Hashable {
|
|
|
108
108
|
* @return {string} - Hash value representing the object
|
|
109
109
|
* @method
|
|
110
110
|
*/
|
|
111
|
-
hash(): string;
|
|
111
|
+
hash(...args: any[]): string;
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
114
|
* @description Interface for objects that can be compared with other objects
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Metadata.js","sourceRoot":"","sources":["../../src/overrides/Metadata.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"Metadata.js","sourceRoot":"","sources":["../../src/overrides/Metadata.ts"],"names":[],"mappings":";;AACA,gCAA8B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decaf-ts/decorator-validation",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.8",
|
|
4
4
|
"description": "simple decorator based validation engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -54,7 +54,8 @@
|
|
|
54
54
|
},
|
|
55
55
|
"files": [
|
|
56
56
|
"lib",
|
|
57
|
-
"dist"
|
|
57
|
+
"dist",
|
|
58
|
+
"workdocs/assets/slogans.json"
|
|
58
59
|
],
|
|
59
60
|
"keywords": [
|
|
60
61
|
"validation",
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"Slogan": "Decorator‑validation: where your models learn self‑control rather than caffeine spikes.",
|
|
4
|
+
"Tags": "Validation, Coffee‑themed, Models"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"Slogan": "Strongly‑typed validation so your objects don’t tremble like your espresso shot.",
|
|
8
|
+
"Tags": "Typing, Validation, Coffee‑themed"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"Slogan": "Decorators that check your email, not your heartbeat.",
|
|
12
|
+
"Tags": "Decorators, Humor, Validation"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"Slogan": "No more runtime surprises — only decaf‑calm data.",
|
|
16
|
+
"Tags": "Runtime, Calm, Technical"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"Slogan": "Validate your model while sipping decaf — what a combo.",
|
|
20
|
+
"Tags": "Validation, Coffee‑themed, Fun"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"Slogan": "Errors caught before they brew into crisis.",
|
|
24
|
+
"Tags": "Errors, Validation, Calm"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"Slogan": "Your model gets the spa treatment: validated, refreshed, calm.",
|
|
28
|
+
"Tags": "Model, Metaphor, Relaxed"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"Slogan": "Schema rules that enforce clarity instead of chaos.",
|
|
32
|
+
"Tags": "Schema, Validation, Technical"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"Slogan": "Validation decorators that whisper, not shout.",
|
|
36
|
+
"Tags": "Decorators, Calm, Developer"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"Slogan": "You build the model. We build the guardrails. You stay cool.",
|
|
40
|
+
"Tags": "Model, Guardrails, Calm"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"Slogan": "Validate once, deploy many — and keep your blood pressure down.",
|
|
44
|
+
"Tags": "Deploy, Validation, Calm"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"Slogan": "Because your code shouldn’t need espresso to survive bugs.",
|
|
48
|
+
"Tags": "Coffee‑themed, Validation, Humor"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"Slogan": "From missing fields to invalid types — handled with decaf elegance.",
|
|
52
|
+
"Tags": "Validation, Types, Calm"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"Slogan": "Decorators that keep your invalid data from going wild.",
|
|
56
|
+
"Tags": "Decorators, Validation, Fun"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"Slogan": "Model invariants? More like model peace‑tants.",
|
|
60
|
+
"Tags": "Invariants, Humorous, Calm"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"Slogan": "Validation so smooth your data feels pampered.",
|
|
64
|
+
"Tags": "Validation, Calm, Developer"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"Slogan": "Your developers stay comfy, your models stay consistent.",
|
|
68
|
+
"Tags": "DeveloperDX, Validation, Calm"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"Slogan": "Strong typing + validation + decaf — the developer’s trifecta.",
|
|
72
|
+
"Tags": "Typing, Validation, Coffee‑themed"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"Slogan": "Stop racing to fix invalid data. Let validation win the race calmly.",
|
|
76
|
+
"Tags": "Race, Validation, Calm"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"Slogan": "Fields, rules and decorators — served like a latte, not a red bull.",
|
|
80
|
+
"Tags": "Fields, Coffee‑themed, Validation"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"Slogan": "Your model’s personal trainer: strict but mellow.",
|
|
84
|
+
"Tags": "Model, Metaphor, Developer"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"Slogan": "Reject invalid states gently, not violently.",
|
|
88
|
+
"Tags": "States, Validation, Calm"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"Slogan": "Decorator‑validation: because your code already drinks enough coffee.",
|
|
92
|
+
"Tags": "Coffee‑themed, Validation, Humor"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"Slogan": "Validate your data. Don’t caffeinate your errors.",
|
|
96
|
+
"Tags": "Validation, Coffee‑themed, Developer"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"Slogan": "From null pointers to clean objects — one decorator at a time.",
|
|
100
|
+
"Tags": "Null, Validation, Technical"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"Slogan": "When your models behave, your code relaxes.",
|
|
104
|
+
"Tags": "Model, Calm, Developer"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"Slogan": "Validation logic so quiet it might just hum a tune.",
|
|
108
|
+
"Tags": "Validation, Calm, Fun"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"Slogan": "Give your data boundaries instead of jitters.",
|
|
112
|
+
"Tags": "Boundaries, Validation, Calm"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"Slogan": "Invalid type? Not today. We decaf your type system.",
|
|
116
|
+
"Tags": "Types, Humor, Validation"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"Slogan": "Your inbox might spam you. Your models won’t.",
|
|
120
|
+
"Tags": "Models, Validation, Humor"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"Slogan": "Validation decorators: your data’s safety net in decaf colour.",
|
|
124
|
+
"Tags": "Decorators, Safety, Coffee‑themed"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"Slogan": "Tagged for validation, not tagged for panic.",
|
|
128
|
+
"Tags": "Tags, Validation, Calm"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"Slogan": "When your validation is VIP, your bugs stay out of the lounge.",
|
|
132
|
+
"Tags": "VIP, Validation, Metaphor"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"Slogan": "Decorator‑validation: the silent guardian of your data fit.",
|
|
136
|
+
"Tags": "Guardian, Validation, Calm"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"Slogan": "Consistency without caffeine. Elegance without effort.",
|
|
140
|
+
"Tags": "Consistency, Calm, Developer"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"Slogan": "Invalid data walks in. Decorators escort it out politely.",
|
|
144
|
+
"Tags": "Data, Validation, Humor"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"Slogan": "Strong types, strong rules, strong decaf‑vibes.",
|
|
148
|
+
"Tags": "Typing, Validation, Coffee‑themed"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"Slogan": "Prevent mistakes before they flee into production.",
|
|
152
|
+
"Tags": "Production, Validation, Calm"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"Slogan": "Your code’s immune system: decorator‑validation.",
|
|
156
|
+
"Tags": "ImmuneSystem, Validation, Metaphor"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"Slogan": "Models that check themselves before you ship them.",
|
|
160
|
+
"Tags": "Models, Validation, Developer"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"Slogan": "From undefined to defined — one decorator latte at a time.",
|
|
164
|
+
"Tags": "Undefined, Validation, Fun"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"Slogan": "Model health check: activated.",
|
|
168
|
+
"Tags": "HealthCheck, Validation, Calm"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"Slogan": "Decaf‑TS decorator‑validation: because rules don’t need caffeine.",
|
|
172
|
+
"Tags": "Validation, Branding, Coffee‑themed"
|
|
173
|
+
}
|
|
174
|
+
]
|