@jsb188/graphql 1.1.12 → 1.1.13
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/LICENSE +21 -0
- package/audience.d.ts +14 -152
- package/cache/config.ts +35 -32
- package/cache/index.helpers.ts +1 -1
- package/cache/index.ts +73 -44
- package/cache/mounted-queries.ts +33 -0
- package/cache/persist.ts +10 -4
- package/cache/realtime-fence.ts +47 -0
- package/cache/realtime-live.ts +17 -0
- package/client/draft-persistence.ts +10 -39
- package/client/index.ts +2 -1
- package/client/request.ts +9 -34
- package/client/storage-asset.ts +58 -0
- package/gql/fragments/accountAuthFragments.ts +0 -4
- package/gql/fragments/agentNoteFragments.ts +8 -2
- package/gql/fragments/aiChatFragments.ts +0 -2
- package/gql/fragments/aiChatLinkFragments.ts +8 -0
- package/gql/fragments/audienceFragments.ts +1 -66
- package/gql/fragments/emailFragments.ts +27 -4
- package/gql/fragments/emailOutreachFragments.ts +281 -0
- package/gql/fragments/inboundContactFragments.ts +1 -1
- package/gql/fragments/libraryFragments.ts +120 -0
- package/gql/fragments/organizationFragments.ts +4 -2
- package/gql/fragments/scheduleFragments.ts +241 -324
- package/gql/fragments/sheetFragments.ts +4 -53
- package/gql/fragments/workWaitFragments.ts +13 -0
- package/gql/fragments/workflowFragments.ts +20 -4
- package/gql/mutations/agentNoteMutations.ts +2 -0
- package/gql/mutations/aiChatLinkMutations.ts +13 -0
- package/gql/mutations/aiChatMutations.ts +4 -6
- package/gql/mutations/audienceMutations.ts +0 -13
- package/gql/mutations/authMutations.ts +12 -60
- package/gql/mutations/emailMutations.ts +22 -0
- package/gql/mutations/emailOutreachMutations.ts +139 -0
- package/gql/mutations/index.ts +3 -1
- package/gql/mutations/organizationMutations.ts +2 -2
- package/gql/mutations/scheduleMutations.ts +61 -787
- package/gql/mutations/storageMutations.ts +1 -0
- package/gql/mutations/workflowMutations.ts +76 -0
- package/gql/queries/agentMemoryQueries.ts +6 -2
- package/gql/queries/agentNoteQueries.ts +26 -29
- package/gql/queries/aiChatQueries.ts +39 -40
- package/gql/queries/audienceQueries.ts +31 -55
- package/gql/queries/authQueries.ts +16 -6
- package/gql/queries/billingQueries.ts +26 -10
- package/gql/queries/dataTableQueries.ts +24 -15
- package/gql/queries/emailOutreachQueries.ts +282 -0
- package/gql/queries/emailQueries.ts +39 -12
- package/gql/queries/emailReplyReportQueries.ts +60 -9
- package/gql/queries/fieldDocQueries.ts +36 -14
- package/gql/queries/inboundContactQueries.ts +11 -4
- package/gql/queries/index.ts +2 -2
- package/gql/queries/libraryQueries.ts +112 -0
- package/gql/queries/logQueries.ts +31 -12
- package/gql/queries/organizationQueries.ts +31 -12
- package/gql/queries/qrCodeQueries.ts +11 -4
- package/gql/queries/scheduleQueries.ts +252 -505
- package/gql/queries/sheetQueries.ts +36 -14
- package/gql/queries/storageQueries.ts +11 -4
- package/gql/queries/workflowQueries.ts +53 -10
- package/gql/reactivity.ts +98 -0
- package/gql/recordReads.ts +171 -0
- package/hooks/index.ts +79 -52
- package/hooks/use-agentNote-mtn.ts +7 -0
- package/hooks/use-agentNote-qry.ts +30 -58
- package/hooks/use-agentNote-recovery.ts +6 -21
- package/hooks/use-aiChat-mtn.ts +9 -4
- package/hooks/use-aiChat-qry.ts +28 -7
- package/hooks/use-audience-mtn.ts +0 -24
- package/hooks/use-audience-qry.helpers.ts +0 -24
- package/hooks/use-audience-qry.ts +1 -86
- package/hooks/use-dataTable-mtn.ts +3 -3
- package/hooks/use-dataTable-qry.ts +7 -2
- package/hooks/use-email-mtn.ts +26 -0
- package/hooks/use-email-qry.helpers.ts +1 -1
- package/hooks/use-email-qry.ts +18 -3
- package/hooks/use-emailOutreach-mtn.ts +211 -0
- package/hooks/use-emailOutreach-qry.helpers.ts +25 -0
- package/hooks/use-emailOutreach-qry.ts +367 -0
- package/hooks/use-emailOutreachReplyReport-qry.ts +46 -0
- package/hooks/use-fieldDoc-qry.ts +1 -1
- package/hooks/use-library-qry.ts +233 -0
- package/hooks/use-qrCode-qry.ts +1 -1
- package/hooks/use-schedule-mtn.ts +10 -300
- package/hooks/use-schedule-qry.ts +168 -680
- package/hooks/use-schedule-reactive.ts +71 -339
- package/hooks/use-sheet-qry.ts +6 -1
- package/hooks/use-workflow-mtn.ts +45 -1
- package/hooks/use-workflow-qry.ts +22 -2
- package/libs/ai-chat-link-events.ts +78 -0
- package/libs/data-changes.helpers.ts +161 -0
- package/libs/data-changes.ts +382 -0
- package/libs/fragment-realtime-sequence.ts +3 -3
- package/libs/record-read.ts +327 -0
- package/libs/sheet-command-batch.ts +3 -2
- package/libs/sheet-realtime-packet.ts +53 -0
- package/loaders/emailPreference.ts +18 -24
- package/package.json +44 -17
- package/schedule.d.ts +267 -874
- package/types.d.ts +3 -1
- package/cache/index.chat-activity.test.ts +0 -119
- package/cache/index.chat.test.ts +0 -92
- package/cache/index.regression.test.ts +0 -149
- package/cache/index.test.ts +0 -1209
- package/deno.lock +0 -187
- package/deno.test.json +0 -12
- package/gql/fragments/campaignFragments.ts +0 -566
- package/gql/mutations/campaignMutations.ts +0 -258
- package/gql/queries/appQueries.ts +0 -14
- package/gql/queries/campaignQueries.ts +0 -236
- package/hooks/index.helpers.test.ts +0 -50
- package/hooks/use-agentNote-recovery.helpers.test.ts +0 -68
- package/hooks/use-aiChat-qry.helpers.test.ts +0 -63
- package/hooks/use-app-qry.ts +0 -22
- package/hooks/use-audience-qry.helpers.test.ts +0 -80
- package/hooks/use-campaign-generation-recovery.ts +0 -53
- package/hooks/use-campaign-mtn.ts +0 -436
- package/hooks/use-campaign-qry.helpers.ts +0 -40
- package/hooks/use-campaign-qry.ts +0 -834
- package/hooks/use-emailCampaignReplyReport-qry.ts +0 -27
- package/hooks/use-fieldDoc-qry.helpers.test.ts +0 -65
- package/hooks/use-publicFormEmail-mtn.ts +0 -27
- package/libs/fragment-recovery.test.ts +0 -326
- package/libs/fragment-recovery.ts +0 -325
- package/libs/orchestrator-realtime.helpers.test.ts +0 -229
- package/libs/orchestrator-realtime.helpers.ts +0 -317
- package/libs/orchestrator-realtime.ts +0 -433
- package/libs/request-cache-regression.test.ts +0 -122
- package/libs/request-managed-session.test.ts +0 -574
- package/libs/request-no-store.test.ts +0 -419
- package/libs/sheet-view-realtime-router.test.ts +0 -214
- package/libs/sse-ticket.test.ts +0 -26
- package/loaders/campaign.test.ts +0 -186
- package/loaders/campaign.ts +0 -110
- package/tests/agent-note-detail-cache.test.ts +0 -120
- package/tests/agent-note-search.test.ts +0 -444
- package/tsconfig.json +0 -13
|
@@ -1,79 +1,77 @@
|
|
|
1
1
|
import { gql } from 'graphql-tag';
|
|
2
2
|
import {
|
|
3
|
+
scheduleActivityAssignmentFragment,
|
|
3
4
|
scheduleActivityFragment,
|
|
5
|
+
scheduleBaselineActivityFragment,
|
|
6
|
+
scheduleBaselineFragment,
|
|
4
7
|
scheduleCalendarFragment,
|
|
5
|
-
|
|
8
|
+
scheduleCodeTypeFragment,
|
|
6
9
|
scheduleProjectFragment,
|
|
7
10
|
scheduleProjectRunFragment,
|
|
8
|
-
schedulePublicationFragment,
|
|
9
11
|
scheduleRelationshipFragment,
|
|
10
|
-
|
|
12
|
+
scheduleResourceCapacityFragment,
|
|
11
13
|
scheduleResourceFragment,
|
|
12
|
-
|
|
14
|
+
scheduleRoleFragment,
|
|
15
|
+
scheduleShiftFragment,
|
|
16
|
+
scheduleTaskFragment,
|
|
13
17
|
scheduleTimeOffFragment,
|
|
14
18
|
scheduleViolationFragment,
|
|
19
|
+
scheduleWbsNodeFragment,
|
|
20
|
+
scheduleWorkCalendarExceptionFragment,
|
|
15
21
|
scheduleWorkCalendarFragment,
|
|
16
22
|
} from '../fragments/scheduleFragments.ts';
|
|
23
|
+
import { live } from '../reactivity.ts';
|
|
17
24
|
|
|
18
|
-
export const scheduleWorkCalendarsQry =
|
|
25
|
+
export const scheduleWorkCalendarsQry = live(
|
|
26
|
+
gql`
|
|
19
27
|
query scheduleWorkCalendars($organizationId: GenericID!) {
|
|
20
28
|
scheduleWorkCalendars(organizationId: $organizationId) {
|
|
21
29
|
...scheduleWorkCalendarFragment
|
|
22
30
|
exceptions {
|
|
23
|
-
|
|
24
|
-
workCalendarId
|
|
25
|
-
date
|
|
26
|
-
ranges {
|
|
27
|
-
start
|
|
28
|
-
end
|
|
29
|
-
}
|
|
30
|
-
note
|
|
31
|
+
...scheduleWorkCalendarExceptionFragment
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
${scheduleWorkCalendarFragment}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
${scheduleWorkCalendarExceptionFragment}
|
|
37
|
+
`,
|
|
38
|
+
{ refresh: 'auto', lists: ['scheduleWorkCalendar'], derived: ['scheduleWorkCalendar'] },
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
export const scheduleResourcesQry = live(
|
|
42
|
+
gql`
|
|
43
|
+
query scheduleResources($organizationId: GenericID!, $kinds: [ScheduleResourceKind!], $includeRetired: Boolean) {
|
|
44
|
+
scheduleResources(organizationId: $organizationId, kinds: $kinds, includeRetired: $includeRetired) {
|
|
40
45
|
...scheduleResourceFragment
|
|
41
46
|
viewerNotify {
|
|
42
47
|
channels
|
|
48
|
+
inherited
|
|
43
49
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
resourceId
|
|
47
|
-
startsOn
|
|
48
|
-
endsOn
|
|
49
|
-
maxUnitsPerDay
|
|
50
|
-
note
|
|
50
|
+
capacityPeriods {
|
|
51
|
+
...scheduleResourceCapacityFragment
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
55
|
${scheduleResourceFragment}
|
|
55
|
-
|
|
56
|
+
${scheduleResourceCapacityFragment}
|
|
57
|
+
`,
|
|
58
|
+
{ refresh: 'auto', lists: ['scheduleResource'], derived: ['scheduleResource'] },
|
|
59
|
+
);
|
|
56
60
|
|
|
57
|
-
export const scheduleCodeTypesQry =
|
|
61
|
+
export const scheduleCodeTypesQry = live(
|
|
62
|
+
gql`
|
|
58
63
|
query scheduleCodeTypes($organizationId: GenericID!, $projectId: GenericID) {
|
|
59
64
|
scheduleCodeTypes(organizationId: $organizationId, projectId: $projectId) {
|
|
60
|
-
|
|
61
|
-
organizationId
|
|
62
|
-
projectId
|
|
63
|
-
key
|
|
64
|
-
name
|
|
65
|
-
values {
|
|
66
|
-
key
|
|
67
|
-
label
|
|
68
|
-
color
|
|
69
|
-
}
|
|
70
|
-
ordinal
|
|
65
|
+
...scheduleCodeTypeFragment
|
|
71
66
|
}
|
|
72
67
|
}
|
|
68
|
+
${scheduleCodeTypeFragment}
|
|
69
|
+
`,
|
|
70
|
+
{ refresh: 'auto', derived: ['scheduleCodeType', 'scheduleProject'] },
|
|
71
|
+
);
|
|
73
72
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
export const scheduleResourceUsageQry = gql`
|
|
73
|
+
export const scheduleResourceUsageQry = live(
|
|
74
|
+
gql`
|
|
77
75
|
query scheduleResourceUsage($organizationId: GenericID!, $projectId: GenericID!, $resourceIds: [GenericID!], $from: String!, $to: String!) {
|
|
78
76
|
scheduleResourceUsage(organizationId: $organizationId, projectId: $projectId, resourceIds: $resourceIds, from: $from, to: $to) {
|
|
79
77
|
resourceId
|
|
@@ -85,326 +83,188 @@ overallocated
|
|
|
85
83
|
}
|
|
86
84
|
}
|
|
87
85
|
|
|
88
|
-
|
|
86
|
+
`,
|
|
87
|
+
{ refresh: 'auto', derived: ['scheduleProjectNetwork', 'scheduleProject'] },
|
|
88
|
+
);
|
|
89
89
|
|
|
90
|
-
export const scheduleCalendarsQry =
|
|
90
|
+
export const scheduleCalendarsQry = live(
|
|
91
|
+
gql`
|
|
91
92
|
query scheduleCalendars($organizationId: GenericID!) {
|
|
92
93
|
scheduleCalendars(organizationId: $organizationId) {
|
|
93
94
|
...scheduleCalendarFragment
|
|
94
95
|
viewerPermission
|
|
95
|
-
viewerCanEdit
|
|
96
|
-
viewerCanEditAccess
|
|
97
96
|
viewerIsManager
|
|
98
97
|
viewerResourceId
|
|
99
98
|
}
|
|
100
99
|
}
|
|
101
100
|
${scheduleCalendarFragment}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
...scheduleOccurrenceFragment
|
|
123
|
-
}
|
|
124
|
-
hasMore
|
|
125
|
-
from
|
|
126
|
-
to
|
|
127
|
-
}
|
|
101
|
+
`,
|
|
102
|
+
{
|
|
103
|
+
refresh: 'auto',
|
|
104
|
+
lists: ['scheduleCalendar'],
|
|
105
|
+
derived: ['scheduleCalendarWindow', 'scheduleResource', 'scheduleWorkCalendar', 'scheduleTimeOff', 'scheduleRole'],
|
|
106
|
+
},
|
|
107
|
+
);
|
|
108
|
+
|
|
109
|
+
export const scheduleShiftsQry = live(
|
|
110
|
+
gql`
|
|
111
|
+
query scheduleShifts($organizationId: GenericID!, $calendarId: GenericID!, $fromDate: String!, $toDate: String!) {
|
|
112
|
+
scheduleShifts(organizationId: $organizationId, calendarId: $calendarId, fromDate: $fromDate, toDate: $toDate) {
|
|
113
|
+
shifts {
|
|
114
|
+
...scheduleShiftFragment
|
|
115
|
+
}
|
|
116
|
+
roles {
|
|
117
|
+
...scheduleRoleFragment
|
|
118
|
+
}
|
|
119
|
+
locations {
|
|
120
|
+
...scheduleResourceFragment
|
|
128
121
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
export const scheduleOccurrenceQry = gql`
|
|
133
|
-
query scheduleOccurrence($organizationId: GenericID!, $occurrenceId: GenericID!) {
|
|
134
|
-
scheduleOccurrence(organizationId: $organizationId, occurrenceId: $occurrenceId) {
|
|
135
|
-
...scheduleOccurrenceFragment
|
|
122
|
+
people {
|
|
123
|
+
...scheduleResourceFragment
|
|
136
124
|
}
|
|
125
|
+
fromDate
|
|
126
|
+
toDate
|
|
137
127
|
}
|
|
138
|
-
${scheduleOccurrenceFragment}
|
|
139
|
-
`;
|
|
140
|
-
|
|
141
|
-
export const scheduleMyShiftsQry = gql`
|
|
142
|
-
query scheduleMyShifts($organizationId: GenericID!, $from: DateTime!, $to: DateTime!) {
|
|
143
|
-
scheduleMyShifts(organizationId: $organizationId, from: $from, to: $to) {
|
|
144
|
-
occurrences {
|
|
145
|
-
...scheduleOccurrenceFragment
|
|
146
128
|
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
129
|
+
${scheduleShiftFragment}
|
|
130
|
+
${scheduleRoleFragment}
|
|
131
|
+
${scheduleResourceFragment}
|
|
132
|
+
`,
|
|
133
|
+
{
|
|
134
|
+
refresh: 'auto',
|
|
135
|
+
derived: ['scheduleCalendarWindow', 'scheduleResource', 'scheduleWorkCalendar', 'scheduleTimeOff', 'scheduleRole'],
|
|
136
|
+
},
|
|
137
|
+
);
|
|
138
|
+
|
|
139
|
+
export const scheduleMyShiftsQry = live(
|
|
140
|
+
gql`
|
|
141
|
+
query scheduleMyShifts($organizationId: GenericID!, $fromDate: String!, $toDate: String!) {
|
|
142
|
+
scheduleMyShifts(organizationId: $organizationId, fromDate: $fromDate, toDate: $toDate) {
|
|
143
|
+
shifts {
|
|
144
|
+
...scheduleShiftFragment
|
|
145
|
+
}
|
|
146
|
+
calendars {
|
|
147
|
+
...scheduleCalendarFragment
|
|
148
|
+
viewerPermission
|
|
149
|
+
viewerIsManager
|
|
150
|
+
viewerResourceId
|
|
150
151
|
}
|
|
152
|
+
roles {
|
|
153
|
+
...scheduleRoleFragment
|
|
151
154
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
scheduleOpenShifts(organizationId: $organizationId, calendarId: $calendarId, from: $from, to: $to, forMe: $forMe) {
|
|
158
|
-
occurrence {
|
|
159
|
-
...scheduleOccurrenceFragment
|
|
160
|
-
}
|
|
161
|
-
slotKey
|
|
162
|
-
openCount
|
|
163
|
-
eligibility {
|
|
164
|
-
eligible
|
|
165
|
-
slotKey
|
|
166
|
-
reasons {
|
|
167
|
-
code
|
|
168
|
-
severity
|
|
169
|
-
ruleId
|
|
170
|
-
startAt
|
|
171
|
-
endAt
|
|
172
|
-
message
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
${scheduleOccurrenceFragment}
|
|
178
|
-
`;
|
|
179
|
-
|
|
180
|
-
export const scheduleShiftEligibilityQry = gql`
|
|
181
|
-
query scheduleShiftEligibility($organizationId: GenericID!, $occurrenceId: GenericID!, $slotKey: String, $resourceId: GenericID) {
|
|
182
|
-
scheduleShiftEligibility(organizationId: $organizationId, occurrenceId: $occurrenceId, slotKey: $slotKey, resourceId: $resourceId) {
|
|
183
|
-
eligible
|
|
184
|
-
slotKey
|
|
185
|
-
reasons {
|
|
186
|
-
code
|
|
187
|
-
severity
|
|
188
|
-
ruleId
|
|
189
|
-
startAt
|
|
190
|
-
endAt
|
|
191
|
-
message
|
|
155
|
+
locations {
|
|
156
|
+
...scheduleResourceFragment
|
|
157
|
+
viewerNotify {
|
|
158
|
+
channels
|
|
159
|
+
inherited
|
|
192
160
|
}
|
|
161
|
+
capacityPeriods {
|
|
162
|
+
...scheduleResourceCapacityFragment
|
|
193
163
|
}
|
|
194
164
|
}
|
|
195
|
-
|
|
196
|
-
`;
|
|
197
|
-
|
|
198
|
-
export const scheduleShiftCandidatesQry = gql`
|
|
199
|
-
query scheduleShiftCandidates($organizationId: GenericID!, $occurrenceId: GenericID!, $slotKey: String) {
|
|
200
|
-
scheduleShiftCandidates(organizationId: $organizationId, occurrenceId: $occurrenceId, slotKey: $slotKey) {
|
|
201
|
-
resource {
|
|
165
|
+
me {
|
|
202
166
|
...scheduleResourceFragment
|
|
203
167
|
viewerNotify {
|
|
204
168
|
channels
|
|
169
|
+
inherited
|
|
205
170
|
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
resourceId
|
|
209
|
-
startsOn
|
|
210
|
-
endsOn
|
|
211
|
-
maxUnitsPerDay
|
|
212
|
-
note
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
eligibility {
|
|
216
|
-
eligible
|
|
217
|
-
slotKey
|
|
218
|
-
reasons {
|
|
219
|
-
code
|
|
220
|
-
severity
|
|
221
|
-
ruleId
|
|
222
|
-
startAt
|
|
223
|
-
endAt
|
|
224
|
-
message
|
|
171
|
+
capacityPeriods {
|
|
172
|
+
...scheduleResourceCapacityFragment
|
|
225
173
|
}
|
|
226
174
|
}
|
|
175
|
+
fromDate
|
|
176
|
+
toDate
|
|
227
177
|
}
|
|
228
178
|
}
|
|
179
|
+
${scheduleShiftFragment}
|
|
180
|
+
${scheduleCalendarFragment}
|
|
181
|
+
${scheduleRoleFragment}
|
|
229
182
|
${scheduleResourceFragment}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
startAt
|
|
250
|
-
endAt
|
|
251
|
-
note
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
`;
|
|
256
|
-
|
|
257
|
-
export const scheduleRulesQry = gql`
|
|
258
|
-
query scheduleRules($organizationId: GenericID!, $calendarId: GenericID) {
|
|
259
|
-
scheduleRules(organizationId: $organizationId, calendarId: $calendarId) {
|
|
260
|
-
key
|
|
261
|
-
id
|
|
262
|
-
organizationId
|
|
263
|
-
calendarId
|
|
264
|
-
resourceId
|
|
265
|
-
kind
|
|
266
|
-
label
|
|
267
|
-
config {
|
|
268
|
-
ratios {
|
|
269
|
-
key
|
|
270
|
-
childrenPerAdult
|
|
271
|
-
}
|
|
272
|
-
predicate {
|
|
273
|
-
roles
|
|
274
|
-
qualifications
|
|
275
|
-
tags
|
|
276
|
-
}
|
|
277
|
-
minAdults
|
|
278
|
-
windowDays
|
|
279
|
-
maxMinutes
|
|
280
|
-
minRestMinutes
|
|
281
|
-
}
|
|
282
|
-
severity
|
|
283
|
-
active
|
|
284
|
-
ordinal
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
`;
|
|
289
|
-
|
|
290
|
-
export const scheduleViolationsQry = gql`
|
|
291
|
-
query scheduleViolations($organizationId: GenericID!, $calendarId: GenericID!, $from: DateTime!, $to: DateTime!) {
|
|
292
|
-
scheduleViolations(organizationId: $organizationId, calendarId: $calendarId, from: $from, to: $to) {
|
|
183
|
+
${scheduleResourceCapacityFragment}
|
|
184
|
+
`,
|
|
185
|
+
{
|
|
186
|
+
refresh: 'auto',
|
|
187
|
+
derived: [
|
|
188
|
+
'scheduleCalendarWindow',
|
|
189
|
+
'scheduleResource',
|
|
190
|
+
'scheduleWorkCalendar',
|
|
191
|
+
'scheduleTimeOff',
|
|
192
|
+
'scheduleRole',
|
|
193
|
+
'scheduleMyItems',
|
|
194
|
+
],
|
|
195
|
+
},
|
|
196
|
+
);
|
|
197
|
+
|
|
198
|
+
export const scheduleViolationsQry = live(
|
|
199
|
+
gql`
|
|
200
|
+
query scheduleViolations($organizationId: GenericID!, $calendarId: GenericID!, $fromDate: String!, $toDate: String!) {
|
|
201
|
+
scheduleViolations(organizationId: $organizationId, calendarId: $calendarId, fromDate: $fromDate, toDate: $toDate) {
|
|
293
202
|
...scheduleViolationFragment
|
|
294
203
|
}
|
|
295
204
|
}
|
|
296
205
|
${scheduleViolationFragment}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
...scheduleViolationFragment
|
|
307
|
-
}
|
|
308
|
-
diagnostics {
|
|
309
|
-
code
|
|
310
|
-
message
|
|
311
|
-
resourceId
|
|
312
|
-
ruleId
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
${scheduleViolationFragment}
|
|
317
|
-
`;
|
|
318
|
-
|
|
319
|
-
export const schedulePublicationsQry = gql`
|
|
320
|
-
query schedulePublications($organizationId: GenericID!, $calendarId: GenericID!, $cursor: Cursor, $after: Boolean, $limit: Int) {
|
|
321
|
-
schedulePublications(organizationId: $organizationId, calendarId: $calendarId, cursor: $cursor, after: $after, limit: $limit) {
|
|
322
|
-
...schedulePublicationFragment
|
|
323
|
-
viewerAcknowledgedAt
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
${schedulePublicationFragment}
|
|
327
|
-
`;
|
|
328
|
-
|
|
329
|
-
export const scheduleRequestsQry = gql`
|
|
330
|
-
query scheduleRequests($organizationId: GenericID!, $calendarId: GenericID, $kinds: [ScheduleRequestKind!], $statuses: [ScheduleRequestStatus!], $involvingMe: Boolean, $from: DateTime, $to: DateTime, $cursor: Cursor, $after: Boolean, $limit: Int) {
|
|
331
|
-
scheduleRequests(organizationId: $organizationId, calendarId: $calendarId, kinds: $kinds, statuses: $statuses, involvingMe: $involvingMe, from: $from, to: $to, cursor: $cursor, after: $after, limit: $limit) {
|
|
332
|
-
...scheduleRequestFragment
|
|
333
|
-
occurrence {
|
|
334
|
-
...scheduleOccurrenceFragment
|
|
335
|
-
}
|
|
336
|
-
targetOccurrence {
|
|
337
|
-
...scheduleOccurrenceFragment
|
|
338
|
-
}
|
|
339
|
-
eligibility {
|
|
340
|
-
eligible
|
|
341
|
-
slotKey
|
|
342
|
-
reasons {
|
|
343
|
-
code
|
|
344
|
-
severity
|
|
345
|
-
ruleId
|
|
346
|
-
startAt
|
|
347
|
-
endAt
|
|
348
|
-
message
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
viewerIsRequester
|
|
352
|
-
viewerIsCounterparty
|
|
353
|
-
viewerCanDecide
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
${scheduleRequestFragment}
|
|
357
|
-
${scheduleOccurrenceFragment}
|
|
358
|
-
`;
|
|
359
|
-
|
|
360
|
-
export const scheduleRequestQry = gql`
|
|
361
|
-
query scheduleRequest($organizationId: GenericID!, $requestId: GenericID!) {
|
|
362
|
-
scheduleRequest(organizationId: $organizationId, requestId: $requestId) {
|
|
363
|
-
...scheduleRequestFragment
|
|
364
|
-
occurrence {
|
|
365
|
-
...scheduleOccurrenceFragment
|
|
366
|
-
}
|
|
367
|
-
targetOccurrence {
|
|
368
|
-
...scheduleOccurrenceFragment
|
|
369
|
-
}
|
|
370
|
-
eligibility {
|
|
371
|
-
eligible
|
|
372
|
-
slotKey
|
|
373
|
-
reasons {
|
|
374
|
-
code
|
|
375
|
-
severity
|
|
376
|
-
ruleId
|
|
377
|
-
startAt
|
|
378
|
-
endAt
|
|
379
|
-
message
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
viewerIsRequester
|
|
383
|
-
viewerIsCounterparty
|
|
384
|
-
viewerCanDecide
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
${scheduleRequestFragment}
|
|
388
|
-
${scheduleOccurrenceFragment}
|
|
389
|
-
`;
|
|
390
|
-
|
|
391
|
-
export const scheduleTimeOffListQry = gql`
|
|
206
|
+
`,
|
|
207
|
+
{
|
|
208
|
+
refresh: 'auto',
|
|
209
|
+
derived: ['scheduleCalendarWindow', 'scheduleResource', 'scheduleWorkCalendar', 'scheduleTimeOff', 'scheduleRole'],
|
|
210
|
+
},
|
|
211
|
+
);
|
|
212
|
+
|
|
213
|
+
export const scheduleTimeOffListQry = live(
|
|
214
|
+
gql`
|
|
392
215
|
query scheduleTimeOffList($organizationId: GenericID!, $resourceIds: [GenericID!], $statuses: [ScheduleTimeOffStatus!], $mine: Boolean, $from: DateTime, $to: DateTime, $cursor: Cursor, $after: Boolean, $limit: Int) {
|
|
393
216
|
scheduleTimeOffList(organizationId: $organizationId, resourceIds: $resourceIds, statuses: $statuses, mine: $mine, from: $from, to: $to, cursor: $cursor, after: $after, limit: $limit) {
|
|
394
217
|
...scheduleTimeOffFragment
|
|
395
|
-
|
|
396
|
-
...
|
|
218
|
+
conflictingShifts {
|
|
219
|
+
...scheduleShiftFragment
|
|
397
220
|
}
|
|
398
|
-
|
|
221
|
+
releasedShiftIds
|
|
399
222
|
viewerIsRequester
|
|
400
223
|
viewerCanDecide
|
|
401
224
|
}
|
|
402
225
|
}
|
|
403
226
|
${scheduleTimeOffFragment}
|
|
404
|
-
${
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
227
|
+
${scheduleShiftFragment}
|
|
228
|
+
`,
|
|
229
|
+
{
|
|
230
|
+
refresh: 'auto',
|
|
231
|
+
derived: [
|
|
232
|
+
'scheduleCalendarWindow',
|
|
233
|
+
'scheduleResource',
|
|
234
|
+
'scheduleWorkCalendar',
|
|
235
|
+
'scheduleTimeOff',
|
|
236
|
+
'scheduleRole',
|
|
237
|
+
'scheduleMyItems',
|
|
238
|
+
],
|
|
239
|
+
},
|
|
240
|
+
);
|
|
241
|
+
|
|
242
|
+
export const scheduleTasksQry = live(
|
|
243
|
+
gql`
|
|
244
|
+
query scheduleTasks($organizationId: GenericID!, $calendarId: GenericID, $projectId: GenericID, $statuses: [ScheduleTaskStatus!]) {
|
|
245
|
+
scheduleTasks(organizationId: $organizationId, calendarId: $calendarId, projectId: $projectId, statuses: $statuses) {
|
|
246
|
+
...scheduleTaskFragment
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
${scheduleTaskFragment}
|
|
250
|
+
`,
|
|
251
|
+
{ refresh: 'auto', lists: ['scheduleTask'] },
|
|
252
|
+
);
|
|
253
|
+
|
|
254
|
+
export const scheduleMyTasksQry = live(
|
|
255
|
+
gql`
|
|
256
|
+
query scheduleMyTasks($organizationId: GenericID!, $statuses: [ScheduleTaskStatus!]) {
|
|
257
|
+
scheduleMyTasks(organizationId: $organizationId, statuses: $statuses) {
|
|
258
|
+
...scheduleTaskFragment
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
${scheduleTaskFragment}
|
|
262
|
+
`,
|
|
263
|
+
{ refresh: 'auto', lists: ['scheduleTask'] },
|
|
264
|
+
);
|
|
265
|
+
|
|
266
|
+
export const scheduleProjectsQry = live(
|
|
267
|
+
gql`
|
|
408
268
|
query scheduleProjects($organizationId: GenericID!, $statuses: [ScheduleProjectStatus!], $includeArchived: Boolean, $search: String) {
|
|
409
269
|
scheduleProjects(organizationId: $organizationId, statuses: $statuses, includeArchived: $includeArchived, search: $search) {
|
|
410
270
|
...scheduleProjectFragment
|
|
@@ -418,25 +278,12 @@ viewerIsManager
|
|
|
418
278
|
}
|
|
419
279
|
${scheduleProjectFragment}
|
|
420
280
|
${scheduleProjectRunFragment}
|
|
421
|
-
|
|
281
|
+
`,
|
|
282
|
+
{ refresh: 'auto', lists: ['scheduleProject'], derived: ['scheduleProjectNetwork'] },
|
|
283
|
+
);
|
|
422
284
|
|
|
423
|
-
export const
|
|
424
|
-
|
|
425
|
-
scheduleProject(projectId: $projectId) {
|
|
426
|
-
...scheduleProjectFragment
|
|
427
|
-
activityCount
|
|
428
|
-
unreviewedCount
|
|
429
|
-
viewerPermission
|
|
430
|
-
viewerCanEdit
|
|
431
|
-
viewerCanEditAccess
|
|
432
|
-
viewerIsManager
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
${scheduleProjectFragment}
|
|
436
|
-
${scheduleProjectRunFragment}
|
|
437
|
-
`;
|
|
438
|
-
|
|
439
|
-
export const scheduleProjectNetworkQry = gql`
|
|
285
|
+
export const scheduleProjectNetworkQry = live(
|
|
286
|
+
gql`
|
|
440
287
|
query scheduleProjectNetwork($projectId: GenericID!, $filter: ScheduleNetworkFilter) {
|
|
441
288
|
scheduleProjectNetwork(projectId: $projectId, filter: $filter) {
|
|
442
289
|
project {
|
|
@@ -449,17 +296,7 @@ viewerCanEditAccess
|
|
|
449
296
|
viewerIsManager
|
|
450
297
|
}
|
|
451
298
|
wbsNodes {
|
|
452
|
-
|
|
453
|
-
projectId
|
|
454
|
-
parentId
|
|
455
|
-
code
|
|
456
|
-
name
|
|
457
|
-
path
|
|
458
|
-
depth
|
|
459
|
-
ordinal
|
|
460
|
-
startAt
|
|
461
|
-
finishAt
|
|
462
|
-
percentComplete
|
|
299
|
+
...scheduleWbsNodeFragment
|
|
463
300
|
}
|
|
464
301
|
activities {
|
|
465
302
|
...scheduleActivityFragment
|
|
@@ -468,55 +305,25 @@ relationships {
|
|
|
468
305
|
...scheduleRelationshipFragment
|
|
469
306
|
}
|
|
470
307
|
assignments {
|
|
471
|
-
|
|
472
|
-
projectId
|
|
473
|
-
activityId
|
|
474
|
-
resourceId
|
|
475
|
-
plannedUnits
|
|
476
|
-
unitsPerDay
|
|
477
|
-
actualUnits
|
|
478
|
-
remainingUnits
|
|
308
|
+
...scheduleActivityAssignmentFragment
|
|
479
309
|
}
|
|
480
310
|
baselineActivities {
|
|
481
|
-
|
|
482
|
-
plannedFinishAt
|
|
483
|
-
id
|
|
484
|
-
baselineId
|
|
485
|
-
activityId
|
|
486
|
-
code
|
|
487
|
-
name
|
|
488
|
-
startAt
|
|
489
|
-
finishAt
|
|
490
|
-
plannedDurationMinutes
|
|
491
|
-
totalFloatMinutes
|
|
492
|
-
plannedUnits
|
|
493
|
-
percentComplete
|
|
311
|
+
...scheduleBaselineActivityFragment
|
|
494
312
|
}
|
|
495
313
|
resources {
|
|
496
314
|
...scheduleResourceFragment
|
|
497
315
|
viewerNotify {
|
|
498
316
|
channels
|
|
317
|
+
inherited
|
|
499
318
|
}
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
resourceId
|
|
503
|
-
startsOn
|
|
504
|
-
endsOn
|
|
505
|
-
maxUnitsPerDay
|
|
506
|
-
note
|
|
319
|
+
capacityPeriods {
|
|
320
|
+
...scheduleResourceCapacityFragment
|
|
507
321
|
}
|
|
508
322
|
}
|
|
509
323
|
workCalendars {
|
|
510
324
|
...scheduleWorkCalendarFragment
|
|
511
325
|
exceptions {
|
|
512
|
-
|
|
513
|
-
workCalendarId
|
|
514
|
-
date
|
|
515
|
-
ranges {
|
|
516
|
-
start
|
|
517
|
-
end
|
|
518
|
-
}
|
|
519
|
-
note
|
|
326
|
+
...scheduleWorkCalendarExceptionFragment
|
|
520
327
|
}
|
|
521
328
|
}
|
|
522
329
|
networkRevision
|
|
@@ -526,166 +333,106 @@ truncated
|
|
|
526
333
|
}
|
|
527
334
|
}
|
|
528
335
|
${scheduleProjectFragment}
|
|
336
|
+
${scheduleProjectRunFragment}
|
|
337
|
+
${scheduleWbsNodeFragment}
|
|
529
338
|
${scheduleActivityFragment}
|
|
530
339
|
${scheduleRelationshipFragment}
|
|
340
|
+
${scheduleActivityAssignmentFragment}
|
|
341
|
+
${scheduleBaselineActivityFragment}
|
|
531
342
|
${scheduleResourceFragment}
|
|
343
|
+
${scheduleResourceCapacityFragment}
|
|
532
344
|
${scheduleWorkCalendarFragment}
|
|
533
|
-
${
|
|
534
|
-
|
|
345
|
+
${scheduleWorkCalendarExceptionFragment}
|
|
346
|
+
`,
|
|
347
|
+
{ refresh: 'auto', derived: ['scheduleProjectNetwork'] },
|
|
348
|
+
);
|
|
535
349
|
|
|
536
|
-
export const scheduleProjectRunsQry =
|
|
350
|
+
export const scheduleProjectRunsQry = live(
|
|
351
|
+
gql`
|
|
537
352
|
query scheduleProjectRuns($projectId: GenericID!, $cursor: Cursor, $after: Boolean, $limit: Int) {
|
|
538
353
|
scheduleProjectRuns(projectId: $projectId, cursor: $cursor, after: $after, limit: $limit) {
|
|
539
354
|
...scheduleProjectRunFragment
|
|
540
355
|
}
|
|
541
356
|
}
|
|
542
357
|
${scheduleProjectRunFragment}
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
query scheduleProjectRun($projectId: GenericID!, $runId: GenericID!) {
|
|
547
|
-
scheduleProjectRun(projectId: $projectId, runId: $runId) {
|
|
548
|
-
...scheduleProjectRunFragment
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
${scheduleProjectRunFragment}
|
|
552
|
-
`;
|
|
358
|
+
`,
|
|
359
|
+
{ refresh: 'auto', lists: ['scheduleRun'], derived: ['scheduleProject'] },
|
|
360
|
+
);
|
|
553
361
|
|
|
554
|
-
export const scheduleBaselinesQry =
|
|
362
|
+
export const scheduleBaselinesQry = live(
|
|
363
|
+
gql`
|
|
555
364
|
query scheduleBaselines($projectId: GenericID!, $cursor: Cursor, $after: Boolean, $limit: Int) {
|
|
556
365
|
scheduleBaselines(projectId: $projectId, cursor: $cursor, after: $after, limit: $limit) {
|
|
557
|
-
|
|
558
|
-
projectId
|
|
559
|
-
name
|
|
560
|
-
note
|
|
561
|
-
dataDateAt
|
|
562
|
-
isCurrent
|
|
563
|
-
createdByAccountId
|
|
564
|
-
createdAt
|
|
565
|
-
cursor
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
`;
|
|
570
|
-
|
|
571
|
-
export const scheduleBaselineActivitiesQry = gql`
|
|
572
|
-
query scheduleBaselineActivities($projectId: GenericID!, $baselineId: GenericID!) {
|
|
573
|
-
scheduleBaselineActivities(projectId: $projectId, baselineId: $baselineId) {
|
|
574
|
-
plannedStartAt
|
|
575
|
-
plannedFinishAt
|
|
576
|
-
id
|
|
577
|
-
baselineId
|
|
578
|
-
activityId
|
|
579
|
-
code
|
|
580
|
-
name
|
|
581
|
-
startAt
|
|
582
|
-
finishAt
|
|
583
|
-
plannedDurationMinutes
|
|
584
|
-
totalFloatMinutes
|
|
585
|
-
plannedUnits
|
|
586
|
-
percentComplete
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
`;
|
|
591
|
-
|
|
592
|
-
export const scheduleBaselineVarianceQry = gql`
|
|
593
|
-
query scheduleBaselineVariance($projectId: GenericID!, $baselineId: GenericID) {
|
|
594
|
-
scheduleBaselineVariance(projectId: $projectId, baselineId: $baselineId) {
|
|
595
|
-
baseline {
|
|
596
|
-
id
|
|
597
|
-
projectId
|
|
598
|
-
name
|
|
599
|
-
note
|
|
600
|
-
dataDateAt
|
|
601
|
-
isCurrent
|
|
602
|
-
createdByAccountId
|
|
603
|
-
createdAt
|
|
604
|
-
cursor
|
|
605
|
-
}
|
|
606
|
-
rows {
|
|
607
|
-
activityId
|
|
608
|
-
code
|
|
609
|
-
baselineStartAt
|
|
610
|
-
baselineFinishAt
|
|
611
|
-
startAt
|
|
612
|
-
finishAt
|
|
613
|
-
startVarianceMinutes
|
|
614
|
-
finishVarianceMinutes
|
|
615
|
-
durationVarianceMinutes
|
|
616
|
-
floatVarianceMinutes
|
|
617
|
-
}
|
|
618
|
-
slippedCount
|
|
619
|
-
addedCount
|
|
620
|
-
removedCount
|
|
621
|
-
finishVarianceMinutes
|
|
366
|
+
...scheduleBaselineFragment
|
|
622
367
|
}
|
|
623
368
|
}
|
|
369
|
+
${scheduleBaselineFragment}
|
|
370
|
+
`,
|
|
371
|
+
{ refresh: 'auto', derived: ['scheduleBaseline', 'scheduleProject'] },
|
|
372
|
+
);
|
|
624
373
|
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
export const scheduleWorkCalendarQry = gql`
|
|
374
|
+
export const scheduleWorkCalendarQry = live(
|
|
375
|
+
gql`
|
|
628
376
|
query scheduleWorkCalendar($organizationId: GenericID!, $workCalendarId: GenericID!) {
|
|
629
377
|
scheduleWorkCalendar(organizationId: $organizationId, workCalendarId: $workCalendarId) {
|
|
630
378
|
...scheduleWorkCalendarFragment
|
|
631
379
|
exceptions {
|
|
632
|
-
|
|
633
|
-
workCalendarId
|
|
634
|
-
date
|
|
635
|
-
ranges {
|
|
636
|
-
start
|
|
637
|
-
end
|
|
638
|
-
}
|
|
639
|
-
note
|
|
380
|
+
...scheduleWorkCalendarExceptionFragment
|
|
640
381
|
}
|
|
641
382
|
}
|
|
642
383
|
}
|
|
643
384
|
${scheduleWorkCalendarFragment}
|
|
644
|
-
|
|
385
|
+
${scheduleWorkCalendarExceptionFragment}
|
|
386
|
+
`,
|
|
387
|
+
{ refresh: 'auto', derived: ['scheduleWorkCalendar'] },
|
|
388
|
+
);
|
|
645
389
|
|
|
646
|
-
export const scheduleResourceQry =
|
|
390
|
+
export const scheduleResourceQry = live(
|
|
391
|
+
gql`
|
|
647
392
|
query scheduleResource($organizationId: GenericID!, $resourceId: GenericID!) {
|
|
648
393
|
scheduleResource(organizationId: $organizationId, resourceId: $resourceId) {
|
|
649
394
|
...scheduleResourceFragment
|
|
650
395
|
viewerNotify {
|
|
651
396
|
channels
|
|
397
|
+
inherited
|
|
652
398
|
}
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
resourceId
|
|
656
|
-
startsOn
|
|
657
|
-
endsOn
|
|
658
|
-
maxUnitsPerDay
|
|
659
|
-
note
|
|
399
|
+
capacityPeriods {
|
|
400
|
+
...scheduleResourceCapacityFragment
|
|
660
401
|
}
|
|
661
402
|
}
|
|
662
403
|
}
|
|
663
404
|
${scheduleResourceFragment}
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
405
|
+
${scheduleResourceCapacityFragment}
|
|
406
|
+
`,
|
|
407
|
+
{ refresh: 'auto', derived: ['scheduleResource'] },
|
|
408
|
+
);
|
|
409
|
+
|
|
410
|
+
// Revision probes (use-schedule-reactive.ts) read one counter with
|
|
411
|
+
// graphqlRequestNoStore. They never write the cache, so selecting only the id
|
|
412
|
+
// and the counter instead of the shared fragment leaves no partial records.
|
|
413
|
+
|
|
414
|
+
export const scheduleProjectRevisionQry = live(
|
|
415
|
+
gql`
|
|
416
|
+
query scheduleProjectRevision($projectId: GenericID!) {
|
|
417
|
+
scheduleProject(projectId: $projectId) {
|
|
418
|
+
id
|
|
419
|
+
networkRevision
|
|
679
420
|
}
|
|
680
421
|
}
|
|
681
422
|
|
|
682
|
-
|
|
423
|
+
`,
|
|
424
|
+
{ refresh: 'auto' },
|
|
425
|
+
);
|
|
683
426
|
|
|
684
|
-
export const
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
427
|
+
export const scheduleCalendarRevisionQry = live(
|
|
428
|
+
gql`
|
|
429
|
+
query scheduleCalendarRevision($calendarId: GenericID!) {
|
|
430
|
+
scheduleCalendar(calendarId: $calendarId) {
|
|
431
|
+
id
|
|
432
|
+
revision
|
|
688
433
|
}
|
|
689
434
|
}
|
|
690
435
|
|
|
691
|
-
|
|
436
|
+
`,
|
|
437
|
+
{ refresh: 'auto' },
|
|
438
|
+
);
|