@followupus/common 0.9.13 → 0.9.16

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.
@@ -83,4 +83,5 @@ export declare const PREFIX_PK: {
83
83
  TIME_TRACKING: string;
84
84
  TIME_TRACKING_log: string;
85
85
  AI_USER_AGENT: string;
86
+ ITEM_RELATIONSHIP: string;
86
87
  };
@@ -66,4 +66,5 @@ export const PREFIX_PK = {
66
66
  TIME_TRACKING: "TT",
67
67
  TIME_TRACKING_log: "TG",
68
68
  AI_USER_AGENT: "AG",
69
+ ITEM_RELATIONSHIP: "IR",
69
70
  };
@@ -0,0 +1,14 @@
1
+ export type MESSAGE_CATEGORY = {
2
+ ITEM_CHANGED_ASSIGN: "ITEM_CHANGED_ASSIGN";
3
+ ITEM_STATUS_CHANGE: "ITEM_STATUS_CHANGE";
4
+ COMMENTS_MENTIONS: "COMMENTS_MENTIONS";
5
+ ITEM_ADD_COMMENTS: "ITEM_ADD_COMMENTS";
6
+ REPLY_ADD_COMMENTS: "REPLY_ADD_COMMENTS";
7
+ INVITATION: "INVITATION";
8
+ ORG_EXPORT_COMPLETED: "ORG_EXPORT_COMPLETED";
9
+ SIGNED_UP: "SIGNED_UP";
10
+ FROM_AUTOMATIONS: "FROM_AUTOMATIONS";
11
+ NEW_ACTIONS: "NEW_ACTIONS";
12
+ RESOLVED_ACTIONS: "RESOLVED_ACTIONS";
13
+ };
14
+ export type MessageCategoryKey = keyof MESSAGE_CATEGORY;
@@ -0,0 +1 @@
1
+ export {};
@@ -47,6 +47,14 @@ export const COLUMN_OP_TYPES = {
47
47
  OP_TYPES.EMPTY,
48
48
  OP_TYPES.NOT_EMPTY,
49
49
  ],
50
+ [COLUMN_TYPES.EMAIL]: [
51
+ OP_TYPES.CONTAINS,
52
+ OP_TYPES.NOT_CONTAINS,
53
+ OP_TYPES.IS,
54
+ OP_TYPES.IS_NOT,
55
+ OP_TYPES.EMPTY,
56
+ OP_TYPES.NOT_EMPTY,
57
+ ],
50
58
  [COLUMN_TYPES.DATE]: [
51
59
  OP_TYPES.IS,
52
60
  OP_TYPES.IS_NOT,
@@ -69,6 +77,26 @@ export const COLUMN_OP_TYPES = {
69
77
  OP_TYPES.EMPTY,
70
78
  OP_TYPES.NOT_EMPTY,
71
79
  ],
80
+ [COLUMN_TYPES.CURRENCY]: [
81
+ OP_TYPES.EQUAL,
82
+ OP_TYPES.NOT_EQUAL,
83
+ OP_TYPES.GREATER,
84
+ OP_TYPES.GREATER_EQUAL,
85
+ OP_TYPES.LESS,
86
+ OP_TYPES.LESS_EQUAL,
87
+ OP_TYPES.EMPTY,
88
+ OP_TYPES.NOT_EMPTY,
89
+ ],
90
+ [COLUMN_TYPES.HOURS]: [
91
+ OP_TYPES.EQUAL,
92
+ OP_TYPES.NOT_EQUAL,
93
+ OP_TYPES.GREATER,
94
+ OP_TYPES.GREATER_EQUAL,
95
+ OP_TYPES.LESS,
96
+ OP_TYPES.LESS_EQUAL,
97
+ OP_TYPES.EMPTY,
98
+ OP_TYPES.NOT_EMPTY,
99
+ ],
72
100
  [COLUMN_TYPES.DROPDOWN]: [
73
101
  OP_TYPES.IS,
74
102
  OP_TYPES.IS_NOT,
@@ -109,25 +137,18 @@ export const COLUMN_OP_TYPES = {
109
137
  export const AUTOMATION_OP_TYPES = {
110
138
  ...COLUMN_OP_TYPES,
111
139
  [COLUMN_TYPES.TEXT]: [OP_TYPES.CONTAINS, OP_TYPES.NOT_CONTAINS],
140
+ [COLUMN_TYPES.EMAIL]: [OP_TYPES.CONTAINS, OP_TYPES.NOT_CONTAINS],
112
141
  [COLUMN_TYPES.DATE]: [
113
142
  OP_TYPES.EQUAL,
114
143
  OP_TYPES.NOT_EQUAL,
115
- OP_TYPES.GREATER,
116
- OP_TYPES.GREATER_EQUAL,
117
- OP_TYPES.LESS,
118
- OP_TYPES.LESS_EQUAL,
119
- OP_TYPES.EMPTY,
120
- OP_TYPES.NOT_EMPTY,
144
+ OP_TYPES.BEFORE,
145
+ OP_TYPES.AFTER,
121
146
  ],
122
147
  [COLUMN_TYPES.CREATED_AT]: [
123
148
  OP_TYPES.EQUAL,
124
149
  OP_TYPES.NOT_EQUAL,
125
- OP_TYPES.GREATER,
126
- OP_TYPES.GREATER_EQUAL,
127
- OP_TYPES.LESS,
128
- OP_TYPES.LESS_EQUAL,
129
- OP_TYPES.EMPTY,
130
- OP_TYPES.NOT_EMPTY,
150
+ OP_TYPES.BEFORE,
151
+ OP_TYPES.AFTER,
131
152
  ],
132
153
  };
133
154
  export const DYNAMIC_VIEW_OP_TYPES = {
@@ -177,6 +198,7 @@ export const getColumnValueType = (columnType) => {
177
198
  return "stringArray";
178
199
  case COLUMN_TYPES.TIMELINE:
179
200
  case COLUMN_TYPES.TIME_TRACKING:
201
+ case COLUMN_TYPES.LINK:
180
202
  return "object";
181
203
  case COLUMN_TYPES.NUMBER:
182
204
  case COLUMN_TYPES.HOURS:
@@ -40,6 +40,7 @@ export interface IColumnSetting {
40
40
  currency?: string;
41
41
  multiple?: boolean;
42
42
  notify?: boolean;
43
+ autoParseUrl?: boolean;
43
44
  }
44
45
  export interface IDropdownOption {
45
46
  key: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@followupus/common",
3
- "version": "0.9.13",
3
+ "version": "0.9.16",
4
4
  "description": "followup common utils npm package with TypeScript and VSCode",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",