@clxmedia/types 1.0.166 → 1.0.167

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.
@@ -1,4 +1,4 @@
1
- export type XperienceScopes = "company" | "tasks" | "displayreview" | "platform" | "users" | "forms" | "gbpreview" | "gbpa" | "insights" | "mac" | "macreview" | "billing" | "mediahub" | "onboarding" | "adrequests" | "videoreview" | "video" | "tcc" | "dashboard";
1
+ export type XperienceScopes = "company" | "tasks" | "displayreview" | "platform" | "users" | "forms" | "gbpreview" | "gbpa" | "insights" | "mac" | "macreview" | "billing" | "mediahub" | "onboarding" | "adrequests" | "videoreview" | "video" | "tcc" | "dashboard" | "search";
2
2
  export type XperienceAbility = "none" | "view" | "edit" | "admin";
3
3
  export type XperienceRightsData = {
4
4
  userId: number;
@@ -23,33 +23,33 @@ export type XperienceRightsData = {
23
23
  };
24
24
  };
25
25
  };
26
- export type CLiQUserLocatorType = 'user' | 'group' | 'role' | 'right' | 'odoo_role';
27
- export type CLiQUserLocatorConstraint = 'internal' | 'external';
28
- export type CLiQUserLocatorRoles = 'implementation_specialist' | 'account_manager' | 'client_service_analyst';
26
+ export type CLiQUserLocatorType = "user" | "group" | "role" | "right" | "odoo_role";
27
+ export type CLiQUserLocatorConstraint = "internal" | "external";
28
+ export type CLiQUserLocatorRoles = "implementation_specialist" | "account_manager" | "client_service_analyst";
29
29
  export type CLiQUserLocatorBase = {
30
30
  type: CLiQUserLocatorType;
31
31
  value: string;
32
32
  };
33
33
  export type CLiQUserLocatorUser = CLiQUserLocatorBase & {
34
- type: 'user';
34
+ type: "user";
35
35
  value: `${string}@${string}`;
36
36
  };
37
37
  export type CLiQUserLocatorUserSlug = `user:${string}@${string}`;
38
38
  export type CLiQUserLocatorGroup = CLiQUserLocatorBase & {
39
- type: 'group';
39
+ type: "group";
40
40
  };
41
41
  export type CLiQUserLocatorGroupSlug = `group:${string}`;
42
42
  export type CLiQUserLocatorRole = CLiQUserLocatorBase & {
43
- type: 'role';
43
+ type: "role";
44
44
  value: CLiQUserLocatorRoles;
45
45
  };
46
46
  export type CLiQUserLocatorRoleSlug = `role:${CLiQUserLocatorRoles}`;
47
47
  export type CLiQUserLocatorOdooRole = CLiQUserLocatorBase & {
48
- type: 'odoo_role';
48
+ type: "odoo_role";
49
49
  };
50
50
  export type CLiQUserLocatorOdooRoleSlug = `odoo_role:${string}`;
51
51
  export type CLiQUserLocatorRight = CLiQUserLocatorBase & {
52
- type: 'right';
52
+ type: "right";
53
53
  value: `${XperienceScopes}@${XperienceAbility}`;
54
54
  constraint?: CLiQUserLocatorConstraint;
55
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clxmedia/types",
3
- "version": "1.0.166",
3
+ "version": "1.0.167",
4
4
  "description": "Conversion Logix TypeScript type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",