@messenger-box/core 10.0.3-alpha.95 → 10.0.3-alpha.97

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.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- export{MESSAGE_SLOT_FILL_NAME}from'./constants/constant.js';export{objectId}from'./utils/objectid.js';export{IPreDefineInboxPermissions}from'./modules/inbox/enums/index.js';//# sourceMappingURL=index.js.map
1
+ export{MESSAGE_SLOT_FILL_NAME}from'./constants/constant.js';export{objectId}from'./utils/objectid.js';export{PreDefineInboxPermissions}from'./modules/inbox/enums/index.js';//# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export declare enum IPreDefineInboxPermissions {
1
+ export declare enum PreDefineInboxPermissions {
2
2
  viewPosts = "organization.inbox.posts.view",
3
3
  createPost = "organization.inbox.posts.create",
4
4
  editPost = "organization.inbox.posts.edit",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/inbox/enums/index.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IAGlC,SAAS,kCAAkC;IAC3C,UAAU,oCAAoC;IAC9C,QAAQ,kCAAkC;IAC1C,UAAU,oCAAoC;IAG9C,WAAW,oCAAoC;IAC/C,UAAU,oCAAoC;IAC9C,YAAY,sCAAsC;IAClD,WAAW,qCAAqC;IAEhD,aAAa,6CAA6C;IAC1D,qBAAqB,8CAA8C;IACnE,iBAAiB,iDAAiD;IAClE,eAAe,+CAA+C;IAC9D,iBAAiB,iDAAiD;IAGlE,gBAAgB,gDAAgD;IAChE,kBAAkB,kDAAkD;IACpE,iBAAiB,iDAAiD;IAClE,qBAAqB,qDAAqD;IAC1E,uBAAuB,uDAAuD;CACjF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/inbox/enums/index.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB;IAGjC,SAAS,kCAAkC;IAC3C,UAAU,oCAAoC;IAC9C,QAAQ,kCAAkC;IAC1C,UAAU,oCAAoC;IAG9C,WAAW,oCAAoC;IAC/C,UAAU,oCAAoC;IAC9C,YAAY,sCAAsC;IAClD,WAAW,qCAAqC;IAEhD,aAAa,6CAA6C;IAC1D,qBAAqB,8CAA8C;IACnE,iBAAiB,iDAAiD;IAClE,eAAe,+CAA+C;IAC9D,iBAAiB,iDAAiD;IAGlE,gBAAgB,gDAAgD;IAChE,kBAAkB,kDAAkD;IACpE,iBAAiB,iDAAiD;IAClE,qBAAqB,qDAAqD;IAC1E,uBAAuB,uDAAuD;CACjF"}
@@ -1,26 +1,52 @@
1
- var IPreDefineInboxPermissions;
2
- (function (IPreDefineInboxPermissions) {
1
+ var PreDefineInboxPermissions;
2
+ (function (PreDefineInboxPermissions) {
3
3
  //inbox
4
4
  //inbox/posts
5
- IPreDefineInboxPermissions["viewPosts"] = "organization.inbox.posts.view";
6
- IPreDefineInboxPermissions["createPost"] = "organization.inbox.posts.create";
7
- IPreDefineInboxPermissions["editPost"] = "organization.inbox.posts.edit";
8
- IPreDefineInboxPermissions["deletePost"] = "organization.inbox.posts.delete";
5
+ PreDefineInboxPermissions["viewPosts"] = "organization.inbox.posts.view";
6
+ PreDefineInboxPermissions["createPost"] = "organization.inbox.posts.create";
7
+ PreDefineInboxPermissions["editPost"] = "organization.inbox.posts.edit";
8
+ PreDefineInboxPermissions["deletePost"] = "organization.inbox.posts.delete";
9
9
  //inbox/threads
10
- IPreDefineInboxPermissions["viewThreads"] = "organization.inbox.threads.view";
11
- IPreDefineInboxPermissions["editThread"] = "organization.inbox.threads.edit";
12
- IPreDefineInboxPermissions["deleteThread"] = "organization.inbox.threads.delete";
13
- IPreDefineInboxPermissions["replyThread"] = "organization.inbox.threads.reply";
10
+ PreDefineInboxPermissions["viewThreads"] = "organization.inbox.threads.view";
11
+ PreDefineInboxPermissions["editThread"] = "organization.inbox.threads.edit";
12
+ PreDefineInboxPermissions["deleteThread"] = "organization.inbox.threads.delete";
13
+ PreDefineInboxPermissions["replyThread"] = "organization.inbox.threads.reply";
14
14
  //assign threads to members
15
- IPreDefineInboxPermissions["assignThreads"] = "organization.inbox.threads.assignThreads";
16
- IPreDefineInboxPermissions["manageSupportServices"] = "organization.inbox.threads.manageServices";
17
- IPreDefineInboxPermissions["viewThreadReplies"] = "organization.inbox.threads.viewThreadReplies";
18
- IPreDefineInboxPermissions["editThreadReply"] = "organization.inbox.threads.editThreadReply";
19
- IPreDefineInboxPermissions["deleteThreadReply"] = "organization.inbox.threads.deleteThreadReply";
15
+ PreDefineInboxPermissions["assignThreads"] = "organization.inbox.threads.assignThreads";
16
+ PreDefineInboxPermissions["manageSupportServices"] = "organization.inbox.threads.manageServices";
17
+ PreDefineInboxPermissions["viewThreadReplies"] = "organization.inbox.threads.viewThreadReplies";
18
+ PreDefineInboxPermissions["editThreadReply"] = "organization.inbox.threads.editThreadReply";
19
+ PreDefineInboxPermissions["deleteThreadReply"] = "organization.inbox.threads.deleteThreadReply";
20
20
  //Additional permissions
21
- IPreDefineInboxPermissions["editOthersThread"] = "organization.inbox.threads.editOthersThread";
22
- IPreDefineInboxPermissions["deleteOthersThread"] = "organization.inbox.threads.deleteOthersThread";
23
- IPreDefineInboxPermissions["replyOthersThread"] = "organization.inbox.threads.replyOthersThread";
24
- IPreDefineInboxPermissions["editOthersThreadReply"] = "organization.inbox.threads.editOthersThreadReply";
25
- IPreDefineInboxPermissions["deleteOthersThreadReply"] = "organization.inbox.threads.deleteOthersThreadReply";
26
- })(IPreDefineInboxPermissions || (IPreDefineInboxPermissions = {}));export{IPreDefineInboxPermissions};//# sourceMappingURL=index.js.map
21
+ PreDefineInboxPermissions["editOthersThread"] = "organization.inbox.threads.editOthersThread";
22
+ PreDefineInboxPermissions["deleteOthersThread"] = "organization.inbox.threads.deleteOthersThread";
23
+ PreDefineInboxPermissions["replyOthersThread"] = "organization.inbox.threads.replyOthersThread";
24
+ PreDefineInboxPermissions["editOthersThreadReply"] = "organization.inbox.threads.editOthersThreadReply";
25
+ PreDefineInboxPermissions["deleteOthersThreadReply"] = "organization.inbox.threads.deleteOthersThreadReply";
26
+ })(PreDefineInboxPermissions || (PreDefineInboxPermissions = {}));
27
+ // export enum IPreDefineInboxPermissions {
28
+ // //inbox
29
+ // //inbox/posts
30
+ // viewPosts = 'organization.inbox.posts.view',
31
+ // createPost = 'organization.inbox.posts.create',
32
+ // editPost = 'organization.inbox.posts.edit',
33
+ // deletePost = 'organization.inbox.posts.delete',
34
+ // //inbox/threads
35
+ // viewThreads = 'organization.inbox.threads.view',
36
+ // editThread = 'organization.inbox.threads.edit',
37
+ // deleteThread = 'organization.inbox.threads.delete',
38
+ // replyThread = 'organization.inbox.threads.reply',
39
+ // //assign threads to members
40
+ // assignThreads = 'organization.inbox.threads.assignThreads',
41
+ // manageSupportServices = 'organization.inbox.threads.manageServices',
42
+ // viewThreadReplies = 'organization.inbox.threads.viewThreadReplies',
43
+ // editThreadReply = 'organization.inbox.threads.editThreadReply',
44
+ // deleteThreadReply = 'organization.inbox.threads.deleteThreadReply',
45
+ // //Additional permissions
46
+ // editOthersThread = 'organization.inbox.threads.editOthersThread',
47
+ // deleteOthersThread = 'organization.inbox.threads.deleteOthersThread',
48
+ // replyOthersThread = 'organization.inbox.threads.replyOthersThread',
49
+ // editOthersThreadReply = 'organization.inbox.threads.editOthersThreadReply',
50
+ // deleteOthersThreadReply = 'organization.inbox.threads.deleteOthersThreadReply',
51
+ // }
52
+ export{PreDefineInboxPermissions};//# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/modules/inbox/enums/index.ts"],"sourcesContent":[null],"names":[],"mappings":"IAAY;AAAZ,CAAA,UAAY,0BAA0B,EAAA;;;AAGlC,EAAA,0BAAA,CAAA,WAAA,CAAA,GAAA,+BAAA;AACA,EAAA,0BAAA,CAAA,YAAA,CAAA,GAAA,iCAAA;AACA,EAAA,0BAAA,CAAA,UAAA,CAAA,GAAA,+BAAA;AACA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,GAAA,iCAAA;AACA,EAAA,yBAAA,CAAA,cAAA,CAAA,GAAA,mCAAA;AACA,EAAA,yBAAA,CAAA,aAAA,CAAA,GAAA,kCAAA;;AAEA,EAAA,yBAAA,CAAA,eAAA,CAAA,GAAA,0CAAA;AACA,EAAA,yBAAA,CAAA,uBAAA,CAAA,GAAA,2CAAA;AACA,EAAA,yBAAA,CAAA,mBAAA,CAAA,GAAA,8CAAA;AACA,EAAA,yBAAA,CAAA,iBAAA,CAAA,GAAA,4CAAA;AACA,EAAA,yBAAA,CAAA,mBAAA,CAAA,GAAA,8CAAA;;AAGA,EAAA,yBAAA,CAAA,kBAAA,CAAA,GAAA,6CAAA;AACA,EAAA,yBAAA,CAAA,oBAAA,CAAA,GAAA,+CAAA;AACA,EAAA,yBAAA,CAAA,mBAAA,CAAA,GAAA,8CAAA;AACA,EAAA,yBAAA,CAAA,uBAAA,CAAA,GAAA,kDAAA;AACA,EAAA,yBAAA,CAAA,yBAAA,CAAA,GAAA,oDAAA;AACJ,CAAC,EA1BW,yBAAyB,KAAzB,yBAAyB,GAAA,EAAA,CAAA,CAAA;AA4BrC;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messenger-box/core",
3
- "version": "10.0.3-alpha.95",
3
+ "version": "10.0.3-alpha.97",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -20,7 +20,7 @@
20
20
  "watch": "yarn build:lib:watch"
21
21
  },
22
22
  "dependencies": {
23
- "common": "10.0.3-alpha.95"
23
+ "common": "10.0.3-alpha.97"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@common-stack/store-mongo": "*"
@@ -31,5 +31,5 @@
31
31
  "typescript": {
32
32
  "definition": "lib/index.d.ts"
33
33
  },
34
- "gitHead": "ae4f5ccc374f7e5bdf8f4974e0362d57950c30bb"
34
+ "gitHead": "149932789ecba959efee49ee053b3548e54149b7"
35
35
  }