@joeygrable94/utm-src-pub-validators 0.0.105 → 0.0.107
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 +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +808 -18
- package/dist/index.d.ts +808 -18
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -530,18 +530,18 @@ var ROLE_PERMISSIONS = {
|
|
|
530
530
|
billing: (u, p, d) => p.scopes.includes("group:billing"),
|
|
531
531
|
manager: (u, p, d) => p.scopes.includes("group:manager"),
|
|
532
532
|
admin: (u, p, d) => p.scopes.includes("group:admin"),
|
|
533
|
-
list:
|
|
534
|
-
create:
|
|
535
|
-
read:
|
|
536
|
-
update:
|
|
537
|
-
delete:
|
|
533
|
+
list: (u, p, d) => p.scopes.includes("group:access"),
|
|
534
|
+
create: (u, p, d) => p.scopes.includes("group:admin"),
|
|
535
|
+
read: (u, p, d) => p.scopes.includes("group:access"),
|
|
536
|
+
update: (u, p, d) => p.scopes.includes("group:manager"),
|
|
537
|
+
delete: (u, p, d) => p.scopes.includes("group:admin")
|
|
538
538
|
},
|
|
539
539
|
"group-user": {
|
|
540
|
-
list:
|
|
541
|
-
create:
|
|
542
|
-
read:
|
|
543
|
-
update:
|
|
544
|
-
delete:
|
|
540
|
+
list: (u, p, d) => p.scopes.includes("group:access"),
|
|
541
|
+
create: (u, p, d) => p.scopes.includes("group:manager"),
|
|
542
|
+
read: (u, p, d) => p.scopes.includes("group:access"),
|
|
543
|
+
update: (u, p, d) => p.scopes.includes("group:manager"),
|
|
544
|
+
delete: (u, p, d) => p.scopes.includes("group:manager")
|
|
545
545
|
},
|
|
546
546
|
website: {
|
|
547
547
|
list: (u, p, d) => p.scopes.includes("website:list"),
|
|
@@ -2581,8 +2581,8 @@ var SReadWebsiteDocumentByDocumentId = v12__namespace.object({
|
|
|
2581
2581
|
var SUpdateAsCreatorWebsiteDocument = v12__namespace.object({
|
|
2582
2582
|
domain: IsValidOrUndefinedUrlDomain,
|
|
2583
2583
|
description: IsValidOrUndefinedDescription,
|
|
2584
|
-
is_secure:
|
|
2585
|
-
is_active:
|
|
2584
|
+
is_secure: IsValidOrUndefinedIsSecure,
|
|
2585
|
+
is_active: IsValidOrUndefinedIsActive
|
|
2586
2586
|
});
|
|
2587
2587
|
var SUpdateAsCreatorWebsiteDocumentRequest = v12__namespace.object({
|
|
2588
2588
|
documentId: IsValidReferenceDocumentId,
|