@joeygrable94/utm-src-pub-validators 0.0.68 → 0.0.70
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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -174,10 +174,12 @@ declare const SDeleteGroupUserDocument: v.ObjectSchema<{
|
|
|
174
174
|
type SDeleteGroupUserDocument = v.InferOutput<typeof SDeleteGroupUserDocument>;
|
|
175
175
|
declare const SVerifyGroupUserDocument: v.ObjectSchema<{
|
|
176
176
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
177
|
+
readonly user: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
177
178
|
}, undefined>;
|
|
178
179
|
type SVerifyGroupUserDocument = v.InferOutput<typeof SVerifyGroupUserDocument>;
|
|
179
180
|
declare const SGroupUserDocumentStatus: v.ObjectSchema<{
|
|
180
181
|
readonly verified: v.BooleanSchema<undefined>;
|
|
182
|
+
readonly is_owner: v.BooleanSchema<undefined>;
|
|
181
183
|
readonly groupUser: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
182
184
|
readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<GroupEntityScope[], "invalid group scope provided">]>, "please provide an array of scopes">, v.MinLengthAction<GroupEntityScope[], 1, "you must provide at least one scope">, v.MaxLengthAction<GroupEntityScope[], number, "you cannot provide more scopes than available">]>;
|
|
183
185
|
}, undefined>;
|
package/dist/index.d.ts
CHANGED
|
@@ -174,10 +174,12 @@ declare const SDeleteGroupUserDocument: v.ObjectSchema<{
|
|
|
174
174
|
type SDeleteGroupUserDocument = v.InferOutput<typeof SDeleteGroupUserDocument>;
|
|
175
175
|
declare const SVerifyGroupUserDocument: v.ObjectSchema<{
|
|
176
176
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
177
|
+
readonly user: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
177
178
|
}, undefined>;
|
|
178
179
|
type SVerifyGroupUserDocument = v.InferOutput<typeof SVerifyGroupUserDocument>;
|
|
179
180
|
declare const SGroupUserDocumentStatus: v.ObjectSchema<{
|
|
180
181
|
readonly verified: v.BooleanSchema<undefined>;
|
|
182
|
+
readonly is_owner: v.BooleanSchema<undefined>;
|
|
181
183
|
readonly groupUser: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
182
184
|
readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<GroupEntityScope[], "invalid group scope provided">]>, "please provide an array of scopes">, v.MinLengthAction<GroupEntityScope[], 1, "you must provide at least one scope">, v.MaxLengthAction<GroupEntityScope[], number, "you cannot provide more scopes than available">]>;
|
|
183
185
|
}, undefined>;
|
package/dist/index.js
CHANGED
|
@@ -627,10 +627,12 @@ var SDeleteGroupUserDocument = v36.object({
|
|
|
627
627
|
documentId: IsValidReferenceDocumentId
|
|
628
628
|
});
|
|
629
629
|
var SVerifyGroupUserDocument = v36.object({
|
|
630
|
-
group: IsValidReferenceDocumentId
|
|
630
|
+
group: IsValidReferenceDocumentId,
|
|
631
|
+
user: IsValidReferenceDocumentId
|
|
631
632
|
});
|
|
632
633
|
var SGroupUserDocumentStatus = v36.object({
|
|
633
634
|
verified: v36.boolean(),
|
|
635
|
+
is_owner: v36.boolean(),
|
|
634
636
|
groupUser: v36.nullable(IsValidReferenceDocumentId),
|
|
635
637
|
scopes: IsValidGroupUserScopes
|
|
636
638
|
});
|