@clxmedia/types 1.0.189 → 1.0.191
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.
|
@@ -59,4 +59,4 @@ export type CLiQUserLocatorRight = CLiQUserLocatorBase & {
|
|
|
59
59
|
export type CLiQUserLocatorRightSlug = `right:${XperienceScopes}@${XperienceAbility}`;
|
|
60
60
|
export type CLiQUserLocatorRightQualifiedSlug = `right:${XperienceScopes}@${XperienceAbility}:${CLiQUserLocatorConstraint}`;
|
|
61
61
|
export type CLiQUserLocator = CLiQUserLocatorUser | CLiQUserLocatorGroup | CLiQUserLocatorRole | CLiQUserLocatorRight | CLiQUserLocatorOdooRole;
|
|
62
|
-
export type
|
|
62
|
+
export type CLiQUserLocatorSlug = CLiQUserLocatorUserSlug | CLiQUserLocatorGroupSlug | CLiQUserLocatorRoleSlug | CLiQUserLocatorRightSlug | CLiQUserLocatorRightQualifiedSlug | CLiQUserLocatorOdooRoleSlug;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { CLiQUserLocator,
|
|
1
|
+
import type { CLiQUserLocator, CLiQUserLocatorSlug } from "../auth";
|
|
2
2
|
import { CLXFormRuleSet } from "../clxforms";
|
|
3
3
|
import type { EnterpriseEventSlugs } from "../events";
|
|
4
4
|
export type CLXSortDirection = 'asc' | 'desc';
|
|
5
5
|
export type ISODateString = `${number}-${number}-${number}`;
|
|
6
6
|
export type CLXTaskStatus = 'pending' | 'open' | 'done';
|
|
7
7
|
export type CLXTaskFilter = {
|
|
8
|
-
cliq_user_locator_slug?:
|
|
8
|
+
cliq_user_locator_slug?: CLiQUserLocatorSlug;
|
|
9
9
|
my_tasks?: boolean;
|
|
10
10
|
master_id?: number;
|
|
11
11
|
include_closed?: boolean;
|
|
@@ -196,6 +196,12 @@ export type ProjectReminderConfig = {
|
|
|
196
196
|
schedule: ProjectReminderScheduleEntry[];
|
|
197
197
|
};
|
|
198
198
|
export type CLXPriority = 'low' | 'normal' | 'urgent';
|
|
199
|
+
export type CLXTaskChecklistItem = {
|
|
200
|
+
slug: number;
|
|
201
|
+
description: string;
|
|
202
|
+
required: boolean;
|
|
203
|
+
is_done: boolean;
|
|
204
|
+
};
|
|
199
205
|
export type CLXTaskMetaData = {
|
|
200
206
|
verifier: CLiQUserLocator | null;
|
|
201
207
|
resource?: {
|
|
@@ -207,6 +213,7 @@ export type CLXTaskMetaData = {
|
|
|
207
213
|
notifications?: TaskNotificationConfig[];
|
|
208
214
|
due_date?: ISODateString;
|
|
209
215
|
priority?: CLXPriority;
|
|
216
|
+
checklist?: CLXTaskChecklistItem[];
|
|
210
217
|
};
|
|
211
218
|
export type CLXTaskTriggerConstraint = 'event_user_to_onboarding_recipient_match' | 'project_id_match';
|
|
212
219
|
export type CLXTaskTriggerConfig = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clxmedia/types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.191",
|
|
4
4
|
"description": "Conversion Logix TypeScript type definitions",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -106,4 +106,4 @@
|
|
|
106
106
|
"url": "git+https://github.com/adsupnow/clxmedia-type-definitions.git"
|
|
107
107
|
},
|
|
108
108
|
"bugs": "https://github.com/adsupnow/clxmedia-type-definitions"
|
|
109
|
-
}
|
|
109
|
+
}
|