@clxmedia/types 1.7.3 → 1.9.1
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;
|
|
@@ -63,7 +63,7 @@ export type CLXFormResponseValueBase = {
|
|
|
63
63
|
unix_timestamp: number;
|
|
64
64
|
last_answered_by?: string;
|
|
65
65
|
errorMsg?: CLXFormErrorMsg[];
|
|
66
|
-
scope
|
|
66
|
+
scope: CLXResponseScope;
|
|
67
67
|
};
|
|
68
68
|
export type CLXFormsFilesDescriptor = {
|
|
69
69
|
formattedFilename: string;
|
|
@@ -413,7 +413,7 @@ export type CLXFormQuestionLayout = {
|
|
|
413
413
|
conditions?: CLXFormRuleSet;
|
|
414
414
|
overrides?: CLXConditionalOverrides;
|
|
415
415
|
is_complete?: boolean;
|
|
416
|
-
scope
|
|
416
|
+
scope: CLXResponseScope;
|
|
417
417
|
};
|
|
418
418
|
export type CLXFormSection = {
|
|
419
419
|
id: number;
|