@jsb188/graphql 1.1.10 → 1.1.12
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/audience.d.ts +343 -0
- package/cache/config.ts +98 -50
- package/cache/index.chat-activity.test.ts +119 -0
- package/cache/index.chat.test.ts +92 -0
- package/cache/index.helpers.ts +96 -0
- package/cache/index.regression.test.ts +149 -0
- package/cache/index.test.ts +1017 -127
- package/cache/index.ts +1256 -1269
- package/cache/optimistic-ui-runtime.ts +46 -0
- package/cache/optimistic-ui.ts +401 -0
- package/cache/persist.ts +800 -0
- package/cache/store.ts +395 -0
- package/cache/value.helpers.ts +17 -0
- package/client/draft-persistence-indexed-db.ts +413 -0
- package/client/draft-persistence.ts +152 -0
- package/client/index.ts +3 -0
- package/client/request.helpers.ts +14 -0
- package/client/request.ts +870 -164
- package/deno.lock +187 -0
- package/deno.test.json +10 -4
- package/gql/eagerQueryMap.ts +12 -0
- package/gql/fragments/accountAuthFragments.ts +5 -0
- package/gql/fragments/accountFragments.ts +0 -3
- package/gql/fragments/accountSessionFragments.ts +16 -0
- package/gql/fragments/agentMemoryFragments.ts +23 -0
- package/gql/fragments/agentNoteFragments.ts +150 -0
- package/gql/fragments/aiChatFragments.ts +42 -0
- package/gql/fragments/audienceFragments.ts +141 -0
- package/gql/fragments/campaignFragments.ts +566 -0
- package/gql/fragments/dataTableFragments.ts +50 -192
- package/gql/fragments/emailFragments.ts +32 -17
- package/gql/fragments/fieldDocFragments.ts +264 -0
- package/gql/fragments/inboundContactFragments.ts +2 -0
- package/gql/fragments/logFragments.ts +101 -69
- package/gql/fragments/organizationFragments.ts +53 -5
- package/gql/fragments/qrCodeFragments.ts +29 -0
- package/gql/fragments/scheduleFragments.ts +667 -0
- package/gql/fragments/sheetFragments.ts +304 -63
- package/gql/fragments/storageFragments.ts +45 -0
- package/gql/fragments/workflowFragments.ts +41 -5
- package/gql/mutations/accountMutations.ts +0 -2
- package/gql/mutations/agentMemoryMutations.ts +68 -0
- package/gql/mutations/agentNoteMutations.ts +62 -0
- package/gql/mutations/aiChatMutations.ts +49 -4
- package/gql/mutations/audienceMutations.ts +71 -0
- package/gql/mutations/authMutations.ts +203 -18
- package/gql/mutations/billingMutations.ts +17 -27
- package/gql/mutations/campaignMutations.ts +258 -0
- package/gql/mutations/contactMutations.ts +23 -0
- package/gql/mutations/dataTableMutations.ts +19 -54
- package/gql/mutations/fieldDocMutations.ts +173 -0
- package/gql/mutations/index.ts +10 -2
- package/gql/mutations/logMutations.ts +6 -29
- package/gql/mutations/organizationMutations.ts +19 -4
- package/gql/mutations/qrCodeMutations.ts +20 -0
- package/gql/mutations/scheduleMutations.ts +1121 -0
- package/gql/mutations/sheetMutations.ts +221 -60
- package/gql/mutations/storageMutations.ts +19 -0
- package/gql/mutations/workflowMutations.ts +60 -0
- package/gql/queries/agentMemoryQueries.ts +28 -0
- package/gql/queries/agentNoteQueries.ts +89 -0
- package/gql/queries/aiChatQueries.ts +70 -2
- package/gql/queries/audienceQueries.ts +128 -0
- package/gql/queries/authQueries.ts +47 -0
- package/gql/queries/billingQueries.ts +118 -6
- package/gql/queries/campaignQueries.ts +236 -0
- package/gql/queries/dataTableQueries.ts +61 -13
- package/gql/queries/emailQueries.ts +26 -17
- package/gql/queries/emailReplyReportQueries.ts +76 -0
- package/gql/queries/fieldDocQueries.ts +166 -0
- package/gql/queries/inboundContactQueries.ts +4 -0
- package/gql/queries/index.ts +10 -2
- package/gql/queries/logQueries.ts +68 -30
- package/gql/queries/organizationQueries.ts +65 -1
- package/gql/queries/qrCodeQueries.ts +20 -0
- package/gql/queries/scheduleQueries.ts +691 -0
- package/gql/queries/sheetQueries.ts +244 -26
- package/gql/queries/storageQueries.ts +38 -0
- package/gql/queries/workflowQueries.ts +77 -2
- package/hooks/index.helpers.test.ts +50 -0
- package/hooks/index.helpers.ts +52 -0
- package/hooks/index.ts +2254 -982
- package/hooks/use-account-mtn.ts +76 -81
- package/hooks/use-agentMemory-mtn.ts +71 -0
- package/hooks/use-agentMemory-qry.ts +56 -0
- package/hooks/use-agentNote-mtn.ts +82 -0
- package/hooks/use-agentNote-qry.ts +190 -0
- package/hooks/use-agentNote-recovery.helpers.test.ts +68 -0
- package/hooks/use-agentNote-recovery.helpers.ts +58 -0
- package/hooks/use-agentNote-recovery.ts +72 -0
- package/hooks/use-aiChat-mtn.ts +220 -141
- package/hooks/use-aiChat-qry.helpers.test.ts +63 -0
- package/hooks/use-aiChat-qry.helpers.ts +124 -0
- package/hooks/use-aiChat-qry.ts +341 -237
- package/hooks/use-aiChat-stream-mtn.ts +14 -0
- package/hooks/use-app-qry.ts +12 -9
- package/hooks/use-audience-mtn.ts +194 -0
- package/hooks/use-audience-qry.helpers.test.ts +80 -0
- package/hooks/use-audience-qry.helpers.ts +63 -0
- package/hooks/use-audience-qry.ts +330 -0
- package/hooks/use-auth-mtn.ts +435 -252
- package/hooks/use-auth-qry.ts +51 -0
- package/hooks/use-billing-mtn.ts +31 -0
- package/hooks/use-billing-qry.ts +76 -0
- package/hooks/use-campaign-generation-recovery.ts +53 -0
- package/hooks/use-campaign-mtn.ts +436 -0
- package/hooks/use-campaign-qry.helpers.ts +40 -0
- package/hooks/use-campaign-qry.ts +834 -0
- package/hooks/use-dataTable-mtn.ts +37 -46
- package/hooks/use-dataTable-qry.ts +102 -128
- package/hooks/use-email-qry.helpers.ts +37 -0
- package/hooks/use-email-qry.ts +56 -86
- package/hooks/use-emailCampaignReplyReport-qry.ts +27 -0
- package/hooks/use-fieldDoc-mtn.ts +262 -0
- package/hooks/use-fieldDoc-qry.helpers.test.ts +65 -0
- package/hooks/use-fieldDoc-qry.helpers.ts +49 -0
- package/hooks/use-fieldDoc-qry.ts +212 -0
- package/hooks/use-inboundContact-mtn.ts +19 -16
- package/hooks/use-inboundContact-qry.ts +62 -56
- package/hooks/use-integration-mtn.ts +56 -38
- package/hooks/use-integration-qry.ts +24 -9
- package/hooks/use-log-mtn.ts +88 -59
- package/hooks/use-log-qry.ts +150 -73
- package/hooks/use-organization-mtn.ts +334 -277
- package/hooks/use-organization-qry.ts +155 -129
- package/hooks/use-publicFormEmail-mtn.ts +27 -0
- package/hooks/use-qrCode-mtn.ts +40 -0
- package/hooks/use-qrCode-qry.ts +78 -0
- package/hooks/use-schedule-mtn.ts +589 -0
- package/hooks/use-schedule-qry.ts +738 -0
- package/hooks/use-schedule-reactive.ts +486 -0
- package/hooks/use-sheet-mtn.ts +157 -79
- package/hooks/use-sheet-qry.ts +221 -92
- package/hooks/use-storage-mtn.ts +81 -41
- package/hooks/use-storage-qry.ts +128 -14
- package/hooks/use-workflow-mtn.ts +72 -0
- package/hooks/use-workflow-qry.ts +184 -47
- package/libs/ai-chat-outgoing.helpers.ts +153 -0
- package/libs/ai-chat-outgoing.ts +11 -0
- package/libs/ai-chat-outgoing.types.ts +25 -0
- package/libs/ai-chat-run-realtime.ts +20 -0
- package/libs/ai-chat-submission-realtime.ts +150 -0
- package/libs/fragment-realtime-sequence.ts +55 -0
- package/libs/fragment-recovery.test.ts +326 -0
- package/libs/fragment-recovery.ts +325 -0
- package/libs/open-sheet.ts +138 -0
- package/libs/orchestrator-realtime.helpers.test.ts +229 -0
- package/libs/orchestrator-realtime.helpers.ts +317 -0
- package/libs/orchestrator-realtime.ts +433 -0
- package/libs/request-cache-regression.test.ts +122 -0
- package/libs/request-managed-session.test.ts +574 -0
- package/libs/request-no-store.test.ts +419 -0
- package/libs/sheet-command-batch.ts +44 -0
- package/libs/sheet-view-realtime-router.test.ts +214 -0
- package/libs/sheet-view-realtime-router.ts +99 -0
- package/libs/sse-ticket.test.ts +26 -0
- package/loaders/campaign.test.ts +186 -0
- package/loaders/campaign.ts +110 -0
- package/loaders/emailPreference.ts +75 -0
- package/loaders/rest.ts +12 -0
- package/package.json +119 -71
- package/schedule.d.ts +1790 -0
- package/sse.helpers.ts +19 -0
- package/sse.ts +70 -106
- package/tests/agent-note-detail-cache.test.ts +120 -0
- package/tests/agent-note-search.test.ts +444 -0
- package/tsconfig.json +11 -10
- package/types.d.ts +77 -26
- package/utils.ts +78 -49
- package/gql/fragments/billingFragments.ts +0 -25
- package/gql/fragments/productFragments.ts +0 -39
- package/gql/fragments/reportFragments.ts +0 -90
- package/gql/queries/productQueries.ts +0 -31
- package/gql/queries/reportQueries.ts +0 -134
- package/hooks/use-product-qry.ts +0 -67
- package/hooks/use-report-qry.ts +0 -153
package/package.json
CHANGED
|
@@ -1,73 +1,121 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
2
|
+
"name": "@jsb188/graphql",
|
|
3
|
+
"version": "1.1.12",
|
|
4
|
+
"description": "GraphQL client for react, using recoil",
|
|
5
|
+
"license": "ISC",
|
|
6
|
+
"author": "jsb188",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"types": "types.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
"./hooks/use-qrCode-qry": "./hooks/use-qrCode-qry.ts",
|
|
11
|
+
"./hooks/use-qrCode-mtn": "./hooks/use-qrCode-mtn.ts",
|
|
12
|
+
"./fragments/qrCode": "./gql/fragments/qrCodeFragments.ts",
|
|
13
|
+
"./queries/qrCode": "./gql/queries/qrCodeQueries.ts",
|
|
14
|
+
"./mutations/qrCode": "./gql/mutations/qrCodeMutations.ts",
|
|
15
|
+
"./audience.d": "./audience.d.ts",
|
|
16
|
+
"./fragments/audience": "./gql/fragments/audienceFragments.ts",
|
|
17
|
+
"./queries/audience": "./gql/queries/audienceQueries.ts",
|
|
18
|
+
"./mutations/audience": "./gql/mutations/audienceMutations.ts",
|
|
19
|
+
"./hooks/use-audience-qry": "./hooks/use-audience-qry.ts",
|
|
20
|
+
"./hooks/use-audience-mtn": "./hooks/use-audience-mtn.ts",
|
|
21
|
+
"./queries/billing": "./gql/queries/billingQueries.ts",
|
|
22
|
+
"./mutations/billing": "./gql/mutations/billingMutations.ts",
|
|
23
|
+
"./hooks/use-billing-qry": "./hooks/use-billing-qry.ts",
|
|
24
|
+
"./hooks/use-billing-mtn": "./hooks/use-billing-mtn.ts",
|
|
25
|
+
"./fragments/account": "./gql/fragments/accountFragments.ts",
|
|
26
|
+
"./fragments/accountAuth": "./gql/fragments/accountAuthFragments.ts",
|
|
27
|
+
"./fragments/accountSession": "./gql/fragments/accountSessionFragments.ts",
|
|
28
|
+
"./fragments/aiChat": "./gql/fragments/aiChatFragments.ts",
|
|
29
|
+
"./fragments/email": "./gql/fragments/emailFragments.ts",
|
|
30
|
+
"./fragments/inboundContact": "./gql/fragments/inboundContactFragments.ts",
|
|
31
|
+
"./fragments/integration": "./gql/fragments/integrationFragments.ts",
|
|
32
|
+
"./fragments/log": "./gql/fragments/logFragments.ts",
|
|
33
|
+
"./fragments/schedule": "./gql/fragments/scheduleFragments.ts",
|
|
34
|
+
"./fragments/agentNote": "./gql/fragments/agentNoteFragments.ts",
|
|
35
|
+
"./fragments/organization": "./gql/fragments/organizationFragments.ts",
|
|
36
|
+
"./fragments/other": "./gql/fragments/otherFragments.ts",
|
|
37
|
+
"./fragments/fieldDoc": "./gql/fragments/fieldDocFragments.ts",
|
|
38
|
+
"./fragments/campaign": "./gql/fragments/campaignFragments.ts",
|
|
39
|
+
"./fragments/dataTable": "./gql/fragments/dataTableFragments.ts",
|
|
40
|
+
"./fragments/sheet": "./gql/fragments/sheetFragments.ts",
|
|
41
|
+
"./fragments/storage": "./gql/fragments/storageFragments.ts",
|
|
42
|
+
"./fragments/workflow": "./gql/fragments/workflowFragments.ts",
|
|
43
|
+
"./hooks": "./hooks/",
|
|
44
|
+
"./hooks/use-aiChat-qry": "./hooks/use-aiChat-qry.ts",
|
|
45
|
+
"./hooks/use-aiChat-qry.helpers": "./hooks/use-aiChat-qry.helpers.ts",
|
|
46
|
+
"./hooks/use-app-qry": "./hooks/use-app-qry.ts",
|
|
47
|
+
"./hooks/use-emailCampaignReplyReport-qry": "./hooks/use-emailCampaignReplyReport-qry.ts",
|
|
48
|
+
"./queries/emailReplyReport": "./gql/queries/emailReplyReportQueries.ts",
|
|
49
|
+
"./hooks/use-email-qry": "./hooks/use-email-qry.ts",
|
|
50
|
+
"./hooks/use-agentMemory-qry": "./hooks/use-agentMemory-qry.ts",
|
|
51
|
+
"./hooks/use-agentNote-qry": "./hooks/use-agentNote-qry.ts",
|
|
52
|
+
"./hooks/use-inboundContact-qry": "./hooks/use-inboundContact-qry.ts",
|
|
53
|
+
"./hooks/use-log-qry": "./hooks/use-log-qry.ts",
|
|
54
|
+
"./hooks/use-schedule-mtn": "./hooks/use-schedule-mtn.ts",
|
|
55
|
+
"./hooks/use-schedule-qry": "./hooks/use-schedule-qry.ts",
|
|
56
|
+
"./hooks/use-organization-qry": "./hooks/use-organization-qry.ts",
|
|
57
|
+
"./hooks/use-fieldDoc-qry": "./hooks/use-fieldDoc-qry.ts",
|
|
58
|
+
"./hooks/use-fieldDoc-mtn": "./hooks/use-fieldDoc-mtn.ts",
|
|
59
|
+
"./hooks/use-campaign-qry": "./hooks/use-campaign-qry.ts",
|
|
60
|
+
"./hooks/use-campaign-mtn": "./hooks/use-campaign-mtn.ts",
|
|
61
|
+
"./hooks/use-dataTable-mtn": "./hooks/use-dataTable-mtn.ts",
|
|
62
|
+
"./hooks/use-dataTable-qry": "./hooks/use-dataTable-qry.ts",
|
|
63
|
+
"./hooks/use-sheet-mtn": "./hooks/use-sheet-mtn.ts",
|
|
64
|
+
"./hooks/use-sheet-qry": "./hooks/use-sheet-qry.ts",
|
|
65
|
+
"./hooks/use-storage-qry": "./hooks/use-storage-qry.ts",
|
|
66
|
+
"./hooks/use-workflow-qry": "./hooks/use-workflow-qry.ts",
|
|
67
|
+
"./hooks/use-workflow-mtn": "./hooks/use-workflow-mtn.ts",
|
|
68
|
+
"./hooks/use-account-mtn": "./hooks/use-account-mtn.ts",
|
|
69
|
+
"./hooks/use-aiChat-mtn": "./hooks/use-aiChat-mtn.ts",
|
|
70
|
+
"./hooks/use-auth-mtn": "./hooks/use-auth-mtn.ts",
|
|
71
|
+
"./hooks/use-auth-qry": "./hooks/use-auth-qry.ts",
|
|
72
|
+
"./hooks/use-publicFormEmail-mtn": "./hooks/use-publicFormEmail-mtn.ts",
|
|
73
|
+
"./hooks/use-integration-qry": "./hooks/use-integration-qry.ts",
|
|
74
|
+
"./hooks/use-integration-mtn": "./hooks/use-integration-mtn.ts",
|
|
75
|
+
"./hooks/use-agentMemory-mtn": "./hooks/use-agentMemory-mtn.ts",
|
|
76
|
+
"./hooks/use-agentNote-mtn": "./hooks/use-agentNote-mtn.ts",
|
|
77
|
+
"./hooks/use-inboundContact-mtn": "./hooks/use-inboundContact-mtn.ts",
|
|
78
|
+
"./hooks/use-log-mtn": "./hooks/use-log-mtn.ts",
|
|
79
|
+
"./hooks/use-organization-mtn": "./hooks/use-organization-mtn.ts",
|
|
80
|
+
"./hooks/use-storage-mtn": "./hooks/use-storage-mtn.ts",
|
|
81
|
+
"./mutations/campaign": "./gql/mutations/campaignMutations.ts",
|
|
82
|
+
"./mutations/integration": "./gql/mutations/integrationMutations.ts",
|
|
83
|
+
"./mutations/dataTable": "./gql/mutations/dataTableMutations.ts",
|
|
84
|
+
"./mutations/fieldDoc": "./gql/mutations/fieldDocMutations.ts",
|
|
85
|
+
"./mutations/schedule": "./gql/mutations/scheduleMutations.ts",
|
|
86
|
+
"./mutations/agentNote": "./gql/mutations/agentNoteMutations.ts",
|
|
87
|
+
"./queries/agentNote": "./gql/queries/agentNoteQueries.ts",
|
|
88
|
+
"./mutations/sheet": "./gql/mutations/sheetMutations.ts",
|
|
89
|
+
"./mutations": "./gql/mutations/index.ts",
|
|
90
|
+
"./queries": "./gql/queries/index.ts",
|
|
91
|
+
"./cache": "./cache/index.ts",
|
|
92
|
+
"./client": "./client/index.ts",
|
|
93
|
+
"./client/draft-persistence": "./client/draft-persistence.ts",
|
|
94
|
+
"./libs/ai-chat-submission-realtime": "./libs/ai-chat-submission-realtime.ts",
|
|
95
|
+
"./libs/ai-chat-outgoing": "./libs/ai-chat-outgoing.ts",
|
|
96
|
+
"./libs/orchestrator-realtime": "./libs/orchestrator-realtime.ts",
|
|
97
|
+
"./libs/open-sheet": "./libs/open-sheet.ts",
|
|
98
|
+
"./libs/sheet-command-batch": "./libs/sheet-command-batch.ts",
|
|
99
|
+
"./libs/sheet-view-realtime-router": "./libs/sheet-view-realtime-router.ts",
|
|
100
|
+
"./loaders/campaign": "./loaders/campaign.ts",
|
|
101
|
+
"./loaders/emailPreference": "./loaders/emailPreference.ts",
|
|
102
|
+
"./sse": "./sse.ts",
|
|
103
|
+
"./types.d": "./types.d.ts",
|
|
104
|
+
"./utils": "./utils.ts",
|
|
105
|
+
"./hooks/use-schedule-reactive": "./hooks/use-schedule-reactive.ts",
|
|
106
|
+
"./schedule.d": "./schedule.d.ts",
|
|
107
|
+
"./queries/schedule": "./gql/queries/scheduleQueries.ts"
|
|
108
|
+
},
|
|
109
|
+
"scripts": {
|
|
110
|
+
"test": "deno test --no-check --allow-env --allow-read --unstable-sloppy-imports --config ./deno.test.json ./cache/ ./libs/request-cache-regression.test.ts ./libs/request-no-store.test.ts ./libs/request-managed-session.test.ts ./libs/fragment-recovery.test.ts ./libs/sse-ticket.test.ts ./loaders/campaign.test.ts ./hooks/index.helpers.test.ts ./hooks/use-agentNote-recovery.helpers.test.ts ./hooks/use-fieldDoc-qry.helpers.test.ts"
|
|
111
|
+
},
|
|
112
|
+
"dependencies": {
|
|
113
|
+
"graphql": "^16.14.2",
|
|
114
|
+
"graphql-tag": "^2.12.7"
|
|
115
|
+
},
|
|
116
|
+
"peerDependencies": {
|
|
117
|
+
"@jsb188/app": "1.1.12",
|
|
118
|
+
"@jsb188/mday": "1.1.12",
|
|
119
|
+
"@jsb188/react": "1.1.12"
|
|
120
|
+
}
|
|
73
121
|
}
|