@getcommunity/gc-validators 0.0.93 → 0.0.94

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.d.cts CHANGED
@@ -90,6 +90,7 @@ declare const LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE = 1000;
90
90
  * > const invalidScope: ClientEntityScope = "blog-post:import"; // ❌ Type error!
91
91
  */
92
92
  declare const CLIENT_ENTITY_PERMISSIONS: {
93
+ readonly client: readonly ["owner", "manager", "employee", "billing", "access"];
93
94
  readonly "client-project": readonly ["list", "create", "read", "update", "delete", "assign"];
94
95
  readonly "client-media-platform": readonly ["list", "create", "read", "update", "delete"];
95
96
  readonly "client-content-pillar": readonly ["list", "create", "read", "update", "delete"];
@@ -2218,7 +2219,7 @@ declare const ValidJobRoleGroup: readonly [{
2218
2219
  readonly label: "Student";
2219
2220
  readonly value: "student";
2220
2221
  }];
2221
- declare const IsValidUserRole: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<("founder,owner" | "executive" | "vice president" | "director" | "manager" | "solo-prenour" | "student")[], "Please select an option that best describes your role.">]>;
2222
+ declare const IsValidUserRole: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<("manager" | "founder,owner" | "executive" | "vice president" | "director" | "solo-prenour" | "student")[], "Please select an option that best describes your role.">]>;
2222
2223
  declare const ValidGcServiceOptions: readonly [{
2223
2224
  readonly label: "Full Marketing Services";
2224
2225
  readonly value: "Full Marketing Services";
package/dist/index.d.ts CHANGED
@@ -90,6 +90,7 @@ declare const LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE = 1000;
90
90
  * > const invalidScope: ClientEntityScope = "blog-post:import"; // ❌ Type error!
91
91
  */
92
92
  declare const CLIENT_ENTITY_PERMISSIONS: {
93
+ readonly client: readonly ["owner", "manager", "employee", "billing", "access"];
93
94
  readonly "client-project": readonly ["list", "create", "read", "update", "delete", "assign"];
94
95
  readonly "client-media-platform": readonly ["list", "create", "read", "update", "delete"];
95
96
  readonly "client-content-pillar": readonly ["list", "create", "read", "update", "delete"];
@@ -2218,7 +2219,7 @@ declare const ValidJobRoleGroup: readonly [{
2218
2219
  readonly label: "Student";
2219
2220
  readonly value: "student";
2220
2221
  }];
2221
- declare const IsValidUserRole: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<("founder,owner" | "executive" | "vice president" | "director" | "manager" | "solo-prenour" | "student")[], "Please select an option that best describes your role.">]>;
2222
+ declare const IsValidUserRole: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<("manager" | "founder,owner" | "executive" | "vice president" | "director" | "solo-prenour" | "student")[], "Please select an option that best describes your role.">]>;
2222
2223
  declare const ValidGcServiceOptions: readonly [{
2223
2224
  readonly label: "Full Marketing Services";
2224
2225
  readonly value: "Full Marketing Services";
package/dist/index.js CHANGED
@@ -80,6 +80,7 @@ var LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE = 1e3;
80
80
 
81
81
  // src/constants/permission.constants.ts
82
82
  var CLIENT_ENTITY_PERMISSIONS = {
83
+ client: ["owner", "manager", "employee", "billing", "access"],
83
84
  "client-project": ["list", "create", "read", "update", "delete", "assign"],
84
85
  "client-media-platform": ["list", "create", "read", "update", "delete"],
85
86
  "client-content-pillar": ["list", "create", "read", "update", "delete"],