@clxmedia/types 1.7.2 → 1.8.0
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.
|
@@ -32,8 +32,7 @@ export type XperienceRightsData = {
|
|
|
32
32
|
};
|
|
33
33
|
export type SpecialistRole = "account_mgr" | "implementation" | "search" | "media" | "performance";
|
|
34
34
|
export type CompanyMasterIds = number[];
|
|
35
|
-
export type CLiQUserLocatorType = "user" | "group" | "role"
|
|
36
|
-
export type CLiQUserLocatorConstraint = "internal" | "external";
|
|
35
|
+
export type CLiQUserLocatorType = "user" | "group" | "role";
|
|
37
36
|
export type CLiQUserLocatorRoles = `entity_specialist_${SpecialistRole}` | "entity_cs_project_manager" | "task_assignee";
|
|
38
37
|
export type CLiQUserLocatorBase = {
|
|
39
38
|
type: CLiQUserLocatorType;
|
|
@@ -53,16 +52,5 @@ export type CLiQUserLocatorRole = CLiQUserLocatorBase & {
|
|
|
53
52
|
value: CLiQUserLocatorRoles;
|
|
54
53
|
};
|
|
55
54
|
export type CLiQUserLocatorRoleSlug = `role:${CLiQUserLocatorRoles}`;
|
|
56
|
-
export type
|
|
57
|
-
|
|
58
|
-
};
|
|
59
|
-
export type CLiQUserLocatorOdooRoleSlug = `odoo_role:${string}`;
|
|
60
|
-
export type CLiQUserLocatorRight = CLiQUserLocatorBase & {
|
|
61
|
-
type: "right";
|
|
62
|
-
value: `${XperienceScopes}@${XperienceAbility}`;
|
|
63
|
-
constraint?: CLiQUserLocatorConstraint;
|
|
64
|
-
};
|
|
65
|
-
export type CLiQUserLocatorRightSlug = `right:${XperienceScopes}@${XperienceAbility}`;
|
|
66
|
-
export type CLiQUserLocatorRightQualifiedSlug = `right:${XperienceScopes}@${XperienceAbility}:${CLiQUserLocatorConstraint}`;
|
|
67
|
-
export type CLiQUserLocator = CLiQUserLocatorUser | CLiQUserLocatorGroup | CLiQUserLocatorRole | CLiQUserLocatorRight | CLiQUserLocatorOdooRole;
|
|
68
|
-
export type CLiQUserLocatorSlug = CLiQUserLocatorUserSlug | CLiQUserLocatorGroupSlug | CLiQUserLocatorRoleSlug | CLiQUserLocatorRightSlug | CLiQUserLocatorRightQualifiedSlug | CLiQUserLocatorOdooRoleSlug;
|
|
55
|
+
export type CLiQUserLocator = CLiQUserLocatorUser | CLiQUserLocatorGroup | CLiQUserLocatorRole;
|
|
56
|
+
export type CLiQUserLocatorSlug = CLiQUserLocatorUserSlug | CLiQUserLocatorGroupSlug | CLiQUserLocatorRoleSlug;
|
|
@@ -57,7 +57,7 @@ export type CLXFormConditionSubjectEntry = {
|
|
|
57
57
|
responseType: CLXFormResponseType;
|
|
58
58
|
picklist?: CLXFormSelectOptions;
|
|
59
59
|
};
|
|
60
|
-
export type CLXResponseScope = 'base' | 'collab' | 'snapshot' | 'entity' | 'project' | 'default' | 'property' | 'portfolio';
|
|
60
|
+
export type CLXResponseScope = 'base' | 'collab' | 'snapshot' | 'entity' | 'project' | 'preset' | 'default' | 'property' | 'portfolio';
|
|
61
61
|
export type CLXFormResponseValueBase = {
|
|
62
62
|
type: CLXFormResponseType;
|
|
63
63
|
unix_timestamp: number;
|