@frigear-nu/inbox 0.0.0-stage → 0.0.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.
- package/README.md +39 -2
- package/dist/module.d.mts +452 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +242 -0
- package/dist/runtime/access.d.ts +1 -0
- package/dist/runtime/access.js +62 -0
- package/dist/runtime/app/components/InboxChannelSlideover.d.vue.ts +12 -0
- package/dist/runtime/app/components/InboxChannelSlideover.vue +171 -0
- package/dist/runtime/app/components/InboxChannelSlideover.vue.d.ts +12 -0
- package/dist/runtime/app/components/InboxComposer.d.vue.ts +12 -0
- package/dist/runtime/app/components/InboxComposer.vue +71 -0
- package/dist/runtime/app/components/InboxComposer.vue.d.ts +12 -0
- package/dist/runtime/app/components/InboxConversation.d.vue.ts +8 -0
- package/dist/runtime/app/components/InboxConversation.vue +82 -0
- package/dist/runtime/app/components/InboxConversation.vue.d.ts +8 -0
- package/dist/runtime/app/components/InboxHideSlideover.d.vue.ts +12 -0
- package/dist/runtime/app/components/InboxHideSlideover.vue +54 -0
- package/dist/runtime/app/components/InboxHideSlideover.vue.d.ts +12 -0
- package/dist/runtime/app/components/InboxMailboxSlideover.d.vue.ts +11 -0
- package/dist/runtime/app/components/InboxMailboxSlideover.vue +125 -0
- package/dist/runtime/app/components/InboxMailboxSlideover.vue.d.ts +11 -0
- package/dist/runtime/app/composables/index.d.ts +6 -0
- package/dist/runtime/app/composables/index.js +5 -0
- package/dist/runtime/app/composables/useInboxChannelActions.d.ts +15 -0
- package/dist/runtime/app/composables/useInboxChannelActions.js +45 -0
- package/dist/runtime/app/composables/useInboxLinks.d.ts +11 -0
- package/dist/runtime/app/composables/useInboxLinks.js +17 -0
- package/dist/runtime/app/composables/useInboxMailboxActions.d.ts +14 -0
- package/dist/runtime/app/composables/useInboxMailboxActions.js +47 -0
- package/dist/runtime/app/composables/useInboxThreadActions.d.ts +29 -0
- package/dist/runtime/app/composables/useInboxThreadActions.js +76 -0
- package/dist/runtime/app/composables/useInboxTranslate.d.ts +3 -0
- package/dist/runtime/app/composables/useInboxTranslate.js +7 -0
- package/dist/runtime/app/dashboard/InboxMine.d.vue.ts +3 -0
- package/dist/runtime/app/dashboard/InboxMine.vue +25 -0
- package/dist/runtime/app/dashboard/InboxMine.vue.d.ts +3 -0
- package/dist/runtime/app/dashboard/InboxUnassigned.d.vue.ts +3 -0
- package/dist/runtime/app/dashboard/InboxUnassigned.vue +25 -0
- package/dist/runtime/app/dashboard/InboxUnassigned.vue.d.ts +3 -0
- package/dist/runtime/app/pages/admin-settings.d.vue.ts +3 -0
- package/dist/runtime/app/pages/admin-settings.vue +161 -0
- package/dist/runtime/app/pages/admin-settings.vue.d.ts +3 -0
- package/dist/runtime/app/pages/admin-thread.d.vue.ts +3 -0
- package/dist/runtime/app/pages/admin-thread.vue +234 -0
- package/dist/runtime/app/pages/admin-thread.vue.d.ts +3 -0
- package/dist/runtime/app/pages/admin.d.vue.ts +3 -0
- package/dist/runtime/app/pages/admin.vue +211 -0
- package/dist/runtime/app/pages/admin.vue.d.ts +3 -0
- package/dist/runtime/channels/email.d.ts +2 -0
- package/dist/runtime/channels/email.js +8 -0
- package/dist/runtime/channels/form.d.ts +2 -0
- package/dist/runtime/channels/form.js +9 -0
- package/dist/runtime/channels/instagram.d.ts +2 -0
- package/dist/runtime/channels/instagram.js +5 -0
- package/dist/runtime/channels/messenger.d.ts +2 -0
- package/dist/runtime/channels/messenger.js +5 -0
- package/dist/runtime/channels/whatsapp.d.ts +2 -0
- package/dist/runtime/channels/whatsapp.js +5 -0
- package/dist/runtime/i18n/lang/da.json +247 -0
- package/dist/runtime/i18n/lang/en.json +247 -0
- package/dist/runtime/menus.d.ts +2 -0
- package/dist/runtime/menus.js +19 -0
- package/dist/runtime/server/db/schema.postgresql.d.ts +1216 -0
- package/dist/runtime/server/db/schema.postgresql.js +154 -0
- package/dist/runtime/server/db/schema.sqlite.d.ts +1294 -0
- package/dist/runtime/server/db/schema.sqlite.js +154 -0
- package/dist/runtime/server/plugins/forms.d.ts +2 -0
- package/dist/runtime/server/plugins/forms.js +55 -0
- package/dist/runtime/server/plugins/links.d.ts +2 -0
- package/dist/runtime/server/plugins/links.js +18 -0
- package/dist/runtime/server/plugins/notify.d.ts +2 -0
- package/dist/runtime/server/plugins/notify.js +24 -0
- package/dist/runtime/server/plugins/seed.d.ts +2 -0
- package/dist/runtime/server/plugins/seed.js +7 -0
- package/dist/runtime/server/plugins/teams.d.ts +2 -0
- package/dist/runtime/server/plugins/teams.js +3 -0
- package/dist/runtime/server/policies.d.ts +2 -0
- package/dist/runtime/server/policies.js +15 -0
- package/dist/runtime/server/routes/admin/audit.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/audit.get.js +43 -0
- package/dist/runtime/server/routes/admin/channel.delete.d.ts +2 -0
- package/dist/runtime/server/routes/admin/channel.delete.js +13 -0
- package/dist/runtime/server/routes/admin/channel.patch.d.ts +2 -0
- package/dist/runtime/server/routes/admin/channel.patch.js +24 -0
- package/dist/runtime/server/routes/admin/channels.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/channels.get.js +10 -0
- package/dist/runtime/server/routes/admin/channels.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/channels.post.js +21 -0
- package/dist/runtime/server/routes/admin/contact-erase.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/contact-erase.post.js +20 -0
- package/dist/runtime/server/routes/admin/contact-export.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/contact-export.get.js +41 -0
- package/dist/runtime/server/routes/admin/mailbox.delete.d.ts +2 -0
- package/dist/runtime/server/routes/admin/mailbox.delete.js +14 -0
- package/dist/runtime/server/routes/admin/mailbox.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/mailbox.get.js +9 -0
- package/dist/runtime/server/routes/admin/mailbox.patch.d.ts +2 -0
- package/dist/runtime/server/routes/admin/mailbox.patch.js +17 -0
- package/dist/runtime/server/routes/admin/mailboxes.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/mailboxes.get.js +5 -0
- package/dist/runtime/server/routes/admin/mailboxes.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/mailboxes.post.js +22 -0
- package/dist/runtime/server/routes/admin/summary.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/summary.get.js +19 -0
- package/dist/runtime/server/routes/admin/thread-assignees.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/thread-assignees.get.js +11 -0
- package/dist/runtime/server/routes/admin/thread-hide.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/thread-hide.post.js +23 -0
- package/dist/runtime/server/routes/admin/thread-messages.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/thread-messages.post.js +10 -0
- package/dist/runtime/server/routes/admin/thread-notes.post.d.ts +2 -0
- package/dist/runtime/server/routes/admin/thread-notes.post.js +10 -0
- package/dist/runtime/server/routes/admin/thread.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/thread.get.js +27 -0
- package/dist/runtime/server/routes/admin/thread.patch.d.ts +2 -0
- package/dist/runtime/server/routes/admin/thread.patch.js +23 -0
- package/dist/runtime/server/routes/admin/threads.get.d.ts +2 -0
- package/dist/runtime/server/routes/admin/threads.get.js +49 -0
- package/dist/runtime/server/routes/webhooks/channel.post.d.ts +2 -0
- package/dist/runtime/server/routes/webhooks/channel.post.js +11 -0
- package/dist/runtime/server/routes/webhooks/email.post.d.ts +2 -0
- package/dist/runtime/server/routes/webhooks/email.post.js +38 -0
- package/dist/runtime/server/routes/webhooks/meta.get.d.ts +2 -0
- package/dist/runtime/server/routes/webhooks/meta.get.js +19 -0
- package/dist/runtime/server/routes/webhooks/meta.post.d.ts +2 -0
- package/dist/runtime/server/routes/webhooks/meta.post.js +29 -0
- package/dist/runtime/server/search-index.d.ts +2 -0
- package/dist/runtime/server/search-index.js +7 -0
- package/dist/runtime/server/tasks/retention.d.ts +2 -0
- package/dist/runtime/server/tasks/retention.js +12 -0
- package/dist/runtime/server/utils/inbox-audit.d.ts +17 -0
- package/dist/runtime/server/utils/inbox-audit.js +35 -0
- package/dist/runtime/server/utils/inbox-channels.d.ts +42 -0
- package/dist/runtime/server/utils/inbox-channels.js +73 -0
- package/dist/runtime/server/utils/inbox-config.d.ts +12 -0
- package/dist/runtime/server/utils/inbox-config.js +8 -0
- package/dist/runtime/server/utils/inbox-dto.d.ts +19 -0
- package/dist/runtime/server/utils/inbox-dto.js +92 -0
- package/dist/runtime/server/utils/inbox-ingest.d.ts +43 -0
- package/dist/runtime/server/utils/inbox-ingest.js +136 -0
- package/dist/runtime/server/utils/inbox-integrations.d.ts +7 -0
- package/dist/runtime/server/utils/inbox-integrations.js +13 -0
- package/dist/runtime/server/utils/inbox-mailboxes.d.ts +14 -0
- package/dist/runtime/server/utils/inbox-mailboxes.js +27 -0
- package/dist/runtime/server/utils/inbox-registry.d.ts +7 -0
- package/dist/runtime/server/utils/inbox-registry.js +10 -0
- package/dist/runtime/server/utils/inbox-retention.d.ts +57 -0
- package/dist/runtime/server/utils/inbox-retention.js +167 -0
- package/dist/runtime/server/utils/inbox-schemas.d.ts +123 -0
- package/dist/runtime/server/utils/inbox-schemas.js +78 -0
- package/dist/runtime/server/utils/inbox-search.d.ts +8 -0
- package/dist/runtime/server/utils/inbox-search.js +2 -0
- package/dist/runtime/server/utils/inbox-seed.d.ts +9 -0
- package/dist/runtime/server/utils/inbox-seed.js +35 -0
- package/dist/runtime/server/utils/inbox-send.d.ts +25 -0
- package/dist/runtime/server/utils/inbox-send.js +84 -0
- package/dist/runtime/server/utils/inbox-tombstones.d.ts +25 -0
- package/dist/runtime/server/utils/inbox-tombstones.js +47 -0
- package/dist/runtime/server/utils/inbox-webhooks.d.ts +8 -0
- package/dist/runtime/server/utils/inbox-webhooks.js +10 -0
- package/dist/runtime/server/utils/inbox.d.ts +79 -0
- package/dist/runtime/server/utils/inbox.js +134 -0
- package/dist/runtime/utils/api.d.ts +40 -0
- package/dist/runtime/utils/api.js +43 -0
- package/dist/runtime/utils/index.d.ts +44 -0
- package/dist/runtime/utils/index.js +27 -0
- package/dist/runtime/utils/payloads.d.ts +99 -0
- package/dist/runtime/utils/payloads.js +173 -0
- package/dist/runtime/utils/registry.d.ts +17 -0
- package/dist/runtime/utils/registry.js +29 -0
- package/dist/runtime/utils/signature.d.ts +14 -0
- package/dist/runtime/utils/signature.js +16 -0
- package/dist/types.d.mts +7 -0
- package/package.json +118 -3
package/package.json
CHANGED
|
@@ -1,6 +1,121 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frigear-nu/inbox",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Shared support inboxes: staff read and answer messages from the contact form, email, WhatsApp, Messenger and Instagram in one place, with assignment, internal notes, hidden threads, an audit log and retention.",
|
|
5
|
+
"homepage": "https://docs.frigear.dev/modules/communication/inbox",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Frigear-nu/frigear-nu.git",
|
|
9
|
+
"directory": "packages/inbox"
|
|
10
|
+
},
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"type": "module",
|
|
13
|
+
"main": "./dist/module.mjs",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/types.d.mts",
|
|
17
|
+
"import": "./dist/module.mjs",
|
|
18
|
+
"default": "./dist/module.mjs"
|
|
19
|
+
},
|
|
20
|
+
"./utils": {
|
|
21
|
+
"types": "./dist/runtime/utils/index.d.ts",
|
|
22
|
+
"import": "./dist/runtime/utils/index.js",
|
|
23
|
+
"default": "./dist/runtime/utils/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./api": {
|
|
26
|
+
"types": "./dist/runtime/utils/api.d.ts",
|
|
27
|
+
"import": "./dist/runtime/utils/api.js",
|
|
28
|
+
"default": "./dist/runtime/utils/api.js"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist"
|
|
33
|
+
],
|
|
34
|
+
"workspaces": [
|
|
35
|
+
"playground"
|
|
36
|
+
],
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@frigear-nu/auth": "^0.6.4",
|
|
39
|
+
"@frigear-nu/module-kit": "^1.3.8",
|
|
40
|
+
"@frigear-nu/notify": "^0.2.6",
|
|
41
|
+
"@frigear-nu/ui": "^0.2.8",
|
|
42
|
+
"@frigear-nu/users": "^3.1.2",
|
|
43
|
+
"@libsql/client": "^0.18.0",
|
|
44
|
+
"@nuxt/kit": "^4.6.4",
|
|
45
|
+
"drizzle-kit": "^0.31.11",
|
|
46
|
+
"drizzle-orm": "^0.45.4",
|
|
47
|
+
"h3": "^1.15.11",
|
|
48
|
+
"zod": "^4.6.7"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"@frigear-nu/admin": "^0.5.1",
|
|
52
|
+
"@frigear-nu/dashboard": "^0.0.1",
|
|
53
|
+
"@frigear-nu/forms": "^0.5.1",
|
|
54
|
+
"@frigear-nu/menu": "^0.4.0",
|
|
55
|
+
"@frigear-nu/teams": "^0.0.1",
|
|
56
|
+
"@frigear-nu/widget": "^0.4.1",
|
|
57
|
+
"@nuxt/ui": "^4.12.0",
|
|
58
|
+
"@nuxthub/core": "^0.10.12"
|
|
59
|
+
},
|
|
60
|
+
"peerDependenciesMeta": {
|
|
61
|
+
"@frigear-nu/admin": {
|
|
62
|
+
"optional": true
|
|
63
|
+
},
|
|
64
|
+
"@frigear-nu/dashboard": {
|
|
65
|
+
"optional": true
|
|
66
|
+
},
|
|
67
|
+
"@frigear-nu/forms": {
|
|
68
|
+
"optional": true
|
|
69
|
+
},
|
|
70
|
+
"@frigear-nu/menu": {
|
|
71
|
+
"optional": true
|
|
72
|
+
},
|
|
73
|
+
"@frigear-nu/teams": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
76
|
+
"@nuxt/ui": {
|
|
77
|
+
"optional": true
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"devDependencies": {
|
|
81
|
+
"@frigear-nu/admin": "^0.5.1",
|
|
82
|
+
"@frigear-nu/dashboard": "^0.0.1",
|
|
83
|
+
"@frigear-nu/forms": "^0.5.1",
|
|
84
|
+
"@frigear-nu/menu": "^0.4.0",
|
|
85
|
+
"@frigear-nu/teams": "^0.0.1",
|
|
86
|
+
"@frigear-nu/widget": "^0.4.1",
|
|
87
|
+
"@nuxt/devtools": "^4.2.0",
|
|
88
|
+
"@nuxt/eslint-config": "^1.17.0",
|
|
89
|
+
"@nuxt/module-builder": "^1.0.4",
|
|
90
|
+
"@nuxt/schema": "^4.6.4",
|
|
91
|
+
"@nuxt/test-utils": "^4.4.0",
|
|
92
|
+
"@nuxt/ui": "^4.12.0",
|
|
93
|
+
"@nuxthub/core": "^0.10.12",
|
|
94
|
+
"@types/node": "^26.6.6",
|
|
95
|
+
"eslint": "^10.15.0",
|
|
96
|
+
"nuxt": "^4.6.4",
|
|
97
|
+
"typescript": "^6.0.3",
|
|
98
|
+
"unstorage": "^1.17.5",
|
|
99
|
+
"vitest": "^5.1.0",
|
|
100
|
+
"vue-tsc": "^3.3.14"
|
|
101
|
+
},
|
|
102
|
+
"scripts": {
|
|
103
|
+
"dev:stub": "nuxt-module-build build --stub && nuxt prepare",
|
|
104
|
+
"build": "nuxt-module-build build",
|
|
105
|
+
"dev": "npm run dev:prepare && nuxt dev playground",
|
|
106
|
+
"dev:build": "nuxt build playground",
|
|
107
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground",
|
|
108
|
+
"lint": "eslint .",
|
|
109
|
+
"lint:fix": "eslint . --fix",
|
|
110
|
+
"test": "vitest run",
|
|
111
|
+
"test:watch": "vitest watch",
|
|
112
|
+
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
113
|
+
},
|
|
114
|
+
"typesVersions": {
|
|
115
|
+
"*": {
|
|
116
|
+
".": [
|
|
117
|
+
"./dist/types.d.mts"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
}
|
|
6
121
|
}
|