@getcommunity/gc-validators 0.0.83 → 0.0.84
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.cjs +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -195,7 +195,7 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
|
|
|
195
195
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
196
196
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
197
197
|
readonly project_status: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], "one or more of the project status options is invalid">, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">]>, undefined>;
|
|
198
|
-
readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5"], "please select a valid project phase">, undefined>;
|
|
198
|
+
readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], "please select a valid project phase">, undefined>;
|
|
199
199
|
readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.TrimAction, v.MinLengthAction<string, 1, "the document id is too short, it must be at least 1 character">, v.MaxLengthAction<string, 255, "the document id is too long, it must be 255 characters or less">]>, undefined>;
|
|
200
200
|
}, undefined>;
|
|
201
201
|
type QueryStrapiSearchClientProjects = v.InferOutput<typeof QueryStrapiSearchClientProjects>;
|
|
@@ -204,7 +204,7 @@ declare const SCreateClientProjectDocument: v.ObjectSchema<{
|
|
|
204
204
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>;
|
|
205
205
|
readonly slug: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
206
206
|
readonly project_status: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], "one or more of the project status options is invalid">, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">]>;
|
|
207
|
-
readonly project_phase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5"], "please select a valid project phase">;
|
|
207
|
+
readonly project_phase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], "please select a valid project phase">;
|
|
208
208
|
}, undefined>;
|
|
209
209
|
type SCreateClientProjectDocument = v.InferOutput<typeof SCreateClientProjectDocument>;
|
|
210
210
|
declare const SUpdateClientProjectDocument: v.ObjectSchema<{
|
|
@@ -212,7 +212,7 @@ declare const SUpdateClientProjectDocument: v.ObjectSchema<{
|
|
|
212
212
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
213
213
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
214
214
|
readonly project_status: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], "one or more of the project status options is invalid">, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">]>, undefined>;
|
|
215
|
-
readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5"], "please select a valid project phase">, undefined>;
|
|
215
|
+
readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], "please select a valid project phase">, undefined>;
|
|
216
216
|
}, undefined>;
|
|
217
217
|
type SUpdateClientProjectDocument = v.InferOutput<typeof SUpdateClientProjectDocument>;
|
|
218
218
|
declare const SUpdateClientProjectDocumentRequest: v.ObjectSchema<{
|
|
@@ -222,7 +222,7 @@ declare const SUpdateClientProjectDocumentRequest: v.ObjectSchema<{
|
|
|
222
222
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
223
223
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
224
224
|
readonly project_status: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], "one or more of the project status options is invalid">, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">]>, undefined>;
|
|
225
|
-
readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5"], "please select a valid project phase">, undefined>;
|
|
225
|
+
readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], "please select a valid project phase">, undefined>;
|
|
226
226
|
}, undefined>;
|
|
227
227
|
}, undefined>;
|
|
228
228
|
type SUpdateClientProjectDocumentRequest = v.InferOutput<typeof SUpdateClientProjectDocumentRequest>;
|
|
@@ -1607,7 +1607,7 @@ type ClientMediaPlatformDocument = {
|
|
|
1607
1607
|
declare const ClientProjectStatusOptions: readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"];
|
|
1608
1608
|
type ClientProjectStatus = (typeof ClientProjectStatusOptions)[number];
|
|
1609
1609
|
declare const ClientProjectPhaseSelectOptions: FormSelectInputOption[];
|
|
1610
|
-
declare const ClientProjectPhaseOptions: readonly ["brand", "p1", "p2", "p3", "p4", "p5"];
|
|
1610
|
+
declare const ClientProjectPhaseOptions: readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"];
|
|
1611
1611
|
type ClientProjectPhase = (typeof ClientProjectPhaseOptions)[number];
|
|
1612
1612
|
type ClientProjectDocument = {
|
|
1613
1613
|
title: string;
|
|
@@ -1903,8 +1903,8 @@ declare function omitUndefined<T extends Record<string, any>>(obj: T): Partial<T
|
|
|
1903
1903
|
|
|
1904
1904
|
declare const IsValidClientProjectStatus: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], "one or more of the project status options is invalid">, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">]>;
|
|
1905
1905
|
declare const IsValidOrUndefinedClientProjectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], "one or more of the project status options is invalid">, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">]>, undefined>;
|
|
1906
|
-
declare const IsValidClientProjectPhase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5"], "please select a valid project phase">;
|
|
1907
|
-
declare const IsValidOrUndefinedClientProjectPhase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5"], "please select a valid project phase">, undefined>;
|
|
1906
|
+
declare const IsValidClientProjectPhase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], "please select a valid project phase">;
|
|
1907
|
+
declare const IsValidOrUndefinedClientProjectPhase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], "please select a valid project phase">, undefined>;
|
|
1908
1908
|
|
|
1909
1909
|
declare const IsValidClientUserScope: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>;
|
|
1910
1910
|
declare const IsValidClientUserScopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
|
package/dist/index.d.ts
CHANGED
|
@@ -195,7 +195,7 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
|
|
|
195
195
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
196
196
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
197
197
|
readonly project_status: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], "one or more of the project status options is invalid">, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">]>, undefined>;
|
|
198
|
-
readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5"], "please select a valid project phase">, undefined>;
|
|
198
|
+
readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], "please select a valid project phase">, undefined>;
|
|
199
199
|
readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.TrimAction, v.MinLengthAction<string, 1, "the document id is too short, it must be at least 1 character">, v.MaxLengthAction<string, 255, "the document id is too long, it must be 255 characters or less">]>, undefined>;
|
|
200
200
|
}, undefined>;
|
|
201
201
|
type QueryStrapiSearchClientProjects = v.InferOutput<typeof QueryStrapiSearchClientProjects>;
|
|
@@ -204,7 +204,7 @@ declare const SCreateClientProjectDocument: v.ObjectSchema<{
|
|
|
204
204
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>;
|
|
205
205
|
readonly slug: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
206
206
|
readonly project_status: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], "one or more of the project status options is invalid">, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">]>;
|
|
207
|
-
readonly project_phase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5"], "please select a valid project phase">;
|
|
207
|
+
readonly project_phase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], "please select a valid project phase">;
|
|
208
208
|
}, undefined>;
|
|
209
209
|
type SCreateClientProjectDocument = v.InferOutput<typeof SCreateClientProjectDocument>;
|
|
210
210
|
declare const SUpdateClientProjectDocument: v.ObjectSchema<{
|
|
@@ -212,7 +212,7 @@ declare const SUpdateClientProjectDocument: v.ObjectSchema<{
|
|
|
212
212
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
213
213
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
214
214
|
readonly project_status: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], "one or more of the project status options is invalid">, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">]>, undefined>;
|
|
215
|
-
readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5"], "please select a valid project phase">, undefined>;
|
|
215
|
+
readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], "please select a valid project phase">, undefined>;
|
|
216
216
|
}, undefined>;
|
|
217
217
|
type SUpdateClientProjectDocument = v.InferOutput<typeof SUpdateClientProjectDocument>;
|
|
218
218
|
declare const SUpdateClientProjectDocumentRequest: v.ObjectSchema<{
|
|
@@ -222,7 +222,7 @@ declare const SUpdateClientProjectDocumentRequest: v.ObjectSchema<{
|
|
|
222
222
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, undefined>;
|
|
223
223
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, please abbreviate your string to be 255 characters or less.">]>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
224
224
|
readonly project_status: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], "one or more of the project status options is invalid">, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">]>, undefined>;
|
|
225
|
-
readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5"], "please select a valid project phase">, undefined>;
|
|
225
|
+
readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], "please select a valid project phase">, undefined>;
|
|
226
226
|
}, undefined>;
|
|
227
227
|
}, undefined>;
|
|
228
228
|
type SUpdateClientProjectDocumentRequest = v.InferOutput<typeof SUpdateClientProjectDocumentRequest>;
|
|
@@ -1607,7 +1607,7 @@ type ClientMediaPlatformDocument = {
|
|
|
1607
1607
|
declare const ClientProjectStatusOptions: readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"];
|
|
1608
1608
|
type ClientProjectStatus = (typeof ClientProjectStatusOptions)[number];
|
|
1609
1609
|
declare const ClientProjectPhaseSelectOptions: FormSelectInputOption[];
|
|
1610
|
-
declare const ClientProjectPhaseOptions: readonly ["brand", "p1", "p2", "p3", "p4", "p5"];
|
|
1610
|
+
declare const ClientProjectPhaseOptions: readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"];
|
|
1611
1611
|
type ClientProjectPhase = (typeof ClientProjectPhaseOptions)[number];
|
|
1612
1612
|
type ClientProjectDocument = {
|
|
1613
1613
|
title: string;
|
|
@@ -1903,8 +1903,8 @@ declare function omitUndefined<T extends Record<string, any>>(obj: T): Partial<T
|
|
|
1903
1903
|
|
|
1904
1904
|
declare const IsValidClientProjectStatus: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], "one or more of the project status options is invalid">, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">]>;
|
|
1905
1905
|
declare const IsValidOrUndefinedClientProjectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], "one or more of the project status options is invalid">, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "please select one project status">]>, undefined>;
|
|
1906
|
-
declare const IsValidClientProjectPhase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5"], "please select a valid project phase">;
|
|
1907
|
-
declare const IsValidOrUndefinedClientProjectPhase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5"], "please select a valid project phase">, undefined>;
|
|
1906
|
+
declare const IsValidClientProjectPhase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], "please select a valid project phase">;
|
|
1907
|
+
declare const IsValidOrUndefinedClientProjectPhase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], "please select a valid project phase">, undefined>;
|
|
1908
1908
|
|
|
1909
1909
|
declare const IsValidClientUserScope: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>;
|
|
1910
1910
|
declare const IsValidClientUserScopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<ClientEntityScope[], "invalid client scope provided">]>, "please provide an array of scopes">, v.MaxLengthAction<ClientEntityScope[], number, "you cannot provide more scopes than available">]>;
|
package/dist/index.js
CHANGED
|
@@ -154,7 +154,12 @@ var ClientProjectPhaseSelectOptions = [
|
|
|
154
154
|
{
|
|
155
155
|
label: "Phase 5",
|
|
156
156
|
value: "p5",
|
|
157
|
-
description: "
|
|
157
|
+
description: "Final sale"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
label: "Closed",
|
|
161
|
+
value: "closed",
|
|
162
|
+
description: "Sold out, no longer available"
|
|
158
163
|
}
|
|
159
164
|
];
|
|
160
165
|
var ClientProjectPhaseOptions = [
|
|
@@ -163,7 +168,8 @@ var ClientProjectPhaseOptions = [
|
|
|
163
168
|
"p2",
|
|
164
169
|
"p3",
|
|
165
170
|
"p4",
|
|
166
|
-
"p5"
|
|
171
|
+
"p5",
|
|
172
|
+
"closed"
|
|
167
173
|
];
|
|
168
174
|
|
|
169
175
|
// src/validators/validators-client-projects.ts
|