@jsb188/graphql 1.1.10 → 1.1.11

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.
Files changed (116) hide show
  1. package/cache/config.ts +64 -50
  2. package/cache/index.test.ts +671 -109
  3. package/cache/index.ts +1700 -1240
  4. package/cache/persist.ts +721 -0
  5. package/cache/store.ts +437 -0
  6. package/client/data-table-realtime-subscriptions.test.ts +740 -0
  7. package/client/data-table-realtime-subscriptions.ts +955 -0
  8. package/client/data-table-realtime.test.ts +792 -0
  9. package/client/data-table-realtime.ts +1218 -0
  10. package/client/fragment-realtime-sequence.ts +52 -0
  11. package/client/index.ts +2 -0
  12. package/client/open-sheet.ts +137 -0
  13. package/client/request-managed-session.test.ts +574 -0
  14. package/client/request-no-store.test.ts +157 -0
  15. package/client/request.ts +954 -163
  16. package/client/sse-ticket.test.ts +26 -0
  17. package/deno.lock +170 -0
  18. package/deno.test.json +8 -4
  19. package/drafts/index.ts +149 -0
  20. package/drafts/store.ts +397 -0
  21. package/gql/eagerQueryMap.ts +12 -0
  22. package/gql/fragments/accountAuthFragments.ts +5 -0
  23. package/gql/fragments/accountFragments.ts +0 -3
  24. package/gql/fragments/accountSessionFragments.ts +16 -0
  25. package/gql/fragments/agentDocFragments.ts +46 -0
  26. package/gql/fragments/agentMemoryFragments.ts +19 -0
  27. package/gql/fragments/aiChatFragments.ts +16 -0
  28. package/gql/fragments/billingFragments.ts +0 -11
  29. package/gql/fragments/campaignFragments.ts +277 -0
  30. package/gql/fragments/dataTableFragments.ts +18 -128
  31. package/gql/fragments/emailFragments.ts +19 -9
  32. package/gql/fragments/fieldDocFragments.ts +82 -0
  33. package/gql/fragments/logFragments.ts +20 -79
  34. package/gql/fragments/organizationFragments.ts +43 -5
  35. package/gql/fragments/scheduleFragments.ts +155 -0
  36. package/gql/fragments/sheetFragments.ts +552 -22
  37. package/gql/fragments/storageFragments.ts +21 -0
  38. package/gql/fragments/workflowFragments.ts +28 -4
  39. package/gql/mutations/accountMutations.ts +0 -2
  40. package/gql/mutations/agentDocMutations.ts +177 -0
  41. package/gql/mutations/agentMemoryMutations.ts +36 -0
  42. package/gql/mutations/aiChatMutations.ts +17 -4
  43. package/gql/mutations/authMutations.ts +158 -17
  44. package/gql/mutations/campaignMutations.ts +215 -0
  45. package/gql/mutations/dataTableMutations.ts +48 -26
  46. package/gql/mutations/fieldDocMutations.ts +24 -0
  47. package/gql/mutations/index.ts +6 -1
  48. package/gql/mutations/logMutations.ts +6 -29
  49. package/gql/mutations/organizationMutations.ts +13 -4
  50. package/gql/mutations/scheduleMutations.ts +423 -0
  51. package/gql/mutations/sheetMutations.ts +273 -56
  52. package/gql/mutations/storageMutations.ts +20 -0
  53. package/gql/mutations/workflowMutations.ts +42 -0
  54. package/gql/queries/agentDocQueries.ts +120 -0
  55. package/gql/queries/agentMemoryQueries.ts +22 -0
  56. package/gql/queries/aiChatQueries.ts +18 -2
  57. package/gql/queries/authQueries.ts +41 -0
  58. package/gql/queries/billingQueries.ts +23 -0
  59. package/gql/queries/campaignQueries.ts +127 -0
  60. package/gql/queries/dataTableQueries.ts +100 -11
  61. package/gql/queries/emailQueries.ts +55 -3
  62. package/gql/queries/fieldDocQueries.ts +158 -0
  63. package/gql/queries/index.ts +8 -2
  64. package/gql/queries/logQueries.ts +11 -28
  65. package/gql/queries/organizationQueries.ts +52 -1
  66. package/gql/queries/scheduleQueries.ts +315 -0
  67. package/gql/queries/sheetQueries.ts +336 -25
  68. package/gql/queries/storageQueries.ts +38 -0
  69. package/gql/queries/workflowQueries.ts +72 -3
  70. package/hooks/index.ts +2065 -971
  71. package/hooks/use-account-mtn.ts +76 -81
  72. package/hooks/use-agentDoc-mtn.ts +285 -0
  73. package/hooks/use-agentDoc-qry.ts +208 -0
  74. package/hooks/use-agentMemory-mtn.ts +73 -0
  75. package/hooks/use-agentMemory-qry.ts +44 -0
  76. package/hooks/use-aiChat-mtn.ts +232 -137
  77. package/hooks/use-aiChat-qry.ts +480 -222
  78. package/hooks/use-app-qry.ts +12 -9
  79. package/hooks/use-auth-mtn.ts +406 -252
  80. package/hooks/use-auth-qry.ts +51 -0
  81. package/hooks/use-campaign-mtn.ts +377 -0
  82. package/hooks/use-campaign-qry.ts +257 -0
  83. package/hooks/use-dataTable-mtn.ts +116 -33
  84. package/hooks/use-dataTable-qry.ts +859 -35
  85. package/hooks/use-email-qry.ts +194 -79
  86. package/hooks/use-fieldDoc-mtn.ts +50 -0
  87. package/hooks/use-fieldDoc-qry.ts +180 -0
  88. package/hooks/use-inboundContact-mtn.ts +19 -16
  89. package/hooks/use-inboundContact-qry.ts +63 -55
  90. package/hooks/use-integration-mtn.ts +56 -38
  91. package/hooks/use-integration-qry.ts +24 -9
  92. package/hooks/use-log-mtn.ts +72 -56
  93. package/hooks/use-log-qry.ts +93 -69
  94. package/hooks/use-organization-mtn.ts +334 -277
  95. package/hooks/use-organization-qry.ts +199 -129
  96. package/hooks/use-schedule-mtn.ts +416 -0
  97. package/hooks/use-schedule-qry.ts +157 -0
  98. package/hooks/use-sheet-mtn.ts +233 -47
  99. package/hooks/use-sheet-qry.ts +353 -70
  100. package/hooks/use-storage-mtn.ts +81 -41
  101. package/hooks/use-storage-qry.ts +104 -13
  102. package/hooks/use-workflow-mtn.ts +55 -0
  103. package/hooks/use-workflow-qry.ts +206 -48
  104. package/loaders/campaign.ts +137 -0
  105. package/package.json +94 -71
  106. package/sse.ts +157 -104
  107. package/tsconfig.json +11 -10
  108. package/types.d.ts +60 -30
  109. package/utils.ts +78 -49
  110. package/gql/fragments/productFragments.ts +0 -39
  111. package/gql/fragments/reportFragments.ts +0 -90
  112. package/gql/mutations/billingMutations.ts +0 -34
  113. package/gql/queries/productQueries.ts +0 -31
  114. package/gql/queries/reportQueries.ts +0 -134
  115. package/hooks/use-product-qry.ts +0 -67
  116. package/hooks/use-report-qry.ts +0 -153
@@ -0,0 +1,215 @@
1
+ import { gql } from 'graphql-tag';
2
+ import {
3
+ campaignFragment,
4
+ campaignTemplateElementFragment,
5
+ campaignTemplateFragment,
6
+ } from '../fragments/campaignFragments.ts';
7
+
8
+ /**
9
+ * Returns a GENERATING template immediately. The definition is written by a
10
+ * durable job, and the settled ACTIVE or ERROR state arrives over the
11
+ * websocket as a $campaignTemplateFragment patch.
12
+ */
13
+
14
+ export const createCampaignTemplateMtn = gql`
15
+ mutation createCampaignTemplate (
16
+ $organizationId: GenericID!
17
+ $kind: CampaignKind!
18
+ $instructions: String
19
+ $sourceStorageIds: [GenericID!]
20
+ $title: String
21
+ $siteId: GenericID
22
+ ) {
23
+ createCampaignTemplate (
24
+ organizationId: $organizationId
25
+ kind: $kind
26
+ instructions: $instructions
27
+ sourceStorageIds: $sourceStorageIds
28
+ title: $title
29
+ siteId: $siteId
30
+ ) {
31
+ ...campaignTemplateFragment
32
+ }
33
+ }
34
+ ${campaignTemplateElementFragment}
35
+ ${campaignTemplateFragment}
36
+ `;
37
+
38
+ export const retryCampaignTemplateGenerationMtn = gql`
39
+ mutation retryCampaignTemplateGeneration (
40
+ $organizationId: GenericID!
41
+ $templateId: GenericID!
42
+ ) {
43
+ retryCampaignTemplateGeneration (
44
+ organizationId: $organizationId
45
+ templateId: $templateId
46
+ ) {
47
+ ...campaignTemplateFragment
48
+ }
49
+ }
50
+ ${campaignTemplateElementFragment}
51
+ ${campaignTemplateFragment}
52
+ `;
53
+
54
+ export const updateCampaignTemplateMtn = gql`
55
+ mutation updateCampaignTemplate (
56
+ $organizationId: GenericID!
57
+ $templateId: GenericID!
58
+ $title: String
59
+ $description: String
60
+ $responseWorkflowId: GenericID
61
+ $siteId: GenericID
62
+ $headerImageStorageId: GenericID
63
+ $settings: CampaignSettingsInput
64
+ ) {
65
+ updateCampaignTemplate (
66
+ organizationId: $organizationId
67
+ templateId: $templateId
68
+ title: $title
69
+ description: $description
70
+ responseWorkflowId: $responseWorkflowId
71
+ siteId: $siteId
72
+ headerImageStorageId: $headerImageStorageId
73
+ settings: $settings
74
+ ) {
75
+ ...campaignTemplateFragment
76
+ }
77
+ }
78
+ ${campaignTemplateElementFragment}
79
+ ${campaignTemplateFragment}
80
+ `;
81
+
82
+ export const saveCampaignTemplateDefinitionMtn = gql`
83
+ mutation saveCampaignTemplateDefinition (
84
+ $organizationId: GenericID!
85
+ $templateId: GenericID!
86
+ $sections: [CampaignSectionInput!]!
87
+ ) {
88
+ saveCampaignTemplateDefinition (
89
+ organizationId: $organizationId
90
+ templateId: $templateId
91
+ sections: $sections
92
+ ) {
93
+ ...campaignTemplateFragment
94
+ }
95
+ }
96
+ ${campaignTemplateElementFragment}
97
+ ${campaignTemplateFragment}
98
+ `;
99
+
100
+ export const saveCampaignDefinitionMtn = gql`
101
+ mutation saveCampaignDefinition (
102
+ $organizationId: GenericID!
103
+ $campaignId: GenericID!
104
+ $title: String
105
+ $description: String
106
+ $sections: [CampaignSectionInput!]!
107
+ ) {
108
+ saveCampaignDefinition (
109
+ organizationId: $organizationId
110
+ campaignId: $campaignId
111
+ title: $title
112
+ description: $description
113
+ sections: $sections
114
+ ) {
115
+ ...campaignFragment
116
+ }
117
+ }
118
+ ${campaignFragment}
119
+ `;
120
+
121
+ export const archiveCampaignTemplateMtn = gql`
122
+ mutation archiveCampaignTemplate (
123
+ $organizationId: GenericID!
124
+ $templateId: GenericID!
125
+ ) {
126
+ archiveCampaignTemplate (
127
+ organizationId: $organizationId
128
+ templateId: $templateId
129
+ ) {
130
+ ...campaignTemplateFragment
131
+ }
132
+ }
133
+ ${campaignTemplateElementFragment}
134
+ ${campaignTemplateFragment}
135
+ `;
136
+
137
+ export const publishCampaignMtn = gql`
138
+ mutation publishCampaign (
139
+ $organizationId: GenericID!
140
+ $templateId: GenericID!
141
+ $audience: CampaignAudience!
142
+ $idempotencyKey: String
143
+ $title: String
144
+ $description: String
145
+ $settings: CampaignSettingsInput
146
+ $opensAt: String
147
+ $closesAt: String
148
+ $scheduledAt: String
149
+ ) {
150
+ publishCampaign (
151
+ organizationId: $organizationId
152
+ templateId: $templateId
153
+ audience: $audience
154
+ idempotencyKey: $idempotencyKey
155
+ title: $title
156
+ description: $description
157
+ settings: $settings
158
+ opensAt: $opensAt
159
+ closesAt: $closesAt
160
+ scheduledAt: $scheduledAt
161
+ ) {
162
+ ...campaignFragment
163
+ }
164
+ }
165
+ ${campaignFragment}
166
+ `;
167
+
168
+ export const sendCampaignEmailMtn = gql`
169
+ mutation sendCampaignEmail (
170
+ $organizationId: GenericID!
171
+ $templateId: GenericID!
172
+ $inboundContactIds: [GenericID!]
173
+ $sendBatchId: String
174
+ ) {
175
+ sendCampaignEmail (
176
+ organizationId: $organizationId
177
+ templateId: $templateId
178
+ inboundContactIds: $inboundContactIds
179
+ sendBatchId: $sendBatchId
180
+ ) {
181
+ ...campaignFragment
182
+ }
183
+ }
184
+ ${campaignFragment}
185
+ `;
186
+
187
+ export const closeCampaignMtn = gql`
188
+ mutation closeCampaign (
189
+ $organizationId: GenericID!
190
+ $campaignId: GenericID!
191
+ ) {
192
+ closeCampaign (
193
+ organizationId: $organizationId
194
+ campaignId: $campaignId
195
+ ) {
196
+ ...campaignFragment
197
+ }
198
+ }
199
+ ${campaignFragment}
200
+ `;
201
+
202
+ export const cancelCampaignMtn = gql`
203
+ mutation cancelCampaign (
204
+ $organizationId: GenericID!
205
+ $campaignId: GenericID!
206
+ ) {
207
+ cancelCampaign (
208
+ organizationId: $organizationId
209
+ campaignId: $campaignId
210
+ ) {
211
+ ...campaignFragment
212
+ }
213
+ }
214
+ ${campaignFragment}
215
+ `;
@@ -1,32 +1,36 @@
1
1
  import { gql } from 'graphql-tag';
2
- import { dataTableCellFragment, dataTableFragment, dataTableRowFragment } from '../fragments/dataTableFragments.ts';
2
+ import {
3
+ dataTableCellFragment,
4
+ dataTableFragment,
5
+ dataTableRowFragment,
6
+ } from '../fragments/dataTableFragments.ts';
3
7
 
4
- export const editDataTableCellMtn = gql`
5
- mutation editDataTableCell (
8
+ export const createDataTableMtn = gql`
9
+ mutation createDataTable (
10
+ $organizationId: GenericID!
11
+ $title: String!
12
+ $name: String
13
+ $description: String
14
+ ) {
15
+ createDataTable (
16
+ organizationId: $organizationId
17
+ title: $title
18
+ name: $name
19
+ description: $description
20
+ )
21
+ }
22
+ `;
23
+
24
+ export const deleteDataTableMtn = gql`
25
+ mutation deleteDataTable (
6
26
  $organizationId: GenericID!
7
27
  $dataTableId: GenericID!
8
- $dataTableRowId: GenericID!
9
- $cellKey: String!
10
- $viewId: String
11
- $viewCellKey: String
12
- $value: String
13
- $reference: DataTableCellReferenceInput
14
28
  ) {
15
- editDataTableCell (
29
+ deleteDataTable (
16
30
  organizationId: $organizationId
17
31
  dataTableId: $dataTableId
18
- dataTableRowId: $dataTableRowId
19
- cellKey: $cellKey
20
- viewId: $viewId
21
- viewCellKey: $viewCellKey
22
- value: $value
23
- reference: $reference
24
- ) {
25
- ...dataTableCellFragment
26
- }
32
+ )
27
33
  }
28
-
29
- ${dataTableCellFragment}
30
34
  `;
31
35
 
32
36
  export const editDataTableCellsMtn = gql`
@@ -34,11 +38,13 @@ mutation editDataTableCells (
34
38
  $organizationId: GenericID!
35
39
  $dataTableId: GenericID!
36
40
  $cells: [DataTableCellEditInput!]!
41
+ $commandId: String
37
42
  ) {
38
43
  editDataTableCells (
39
44
  organizationId: $organizationId
40
45
  dataTableId: $dataTableId
41
46
  cells: $cells
47
+ commandId: $commandId
42
48
  ) {
43
49
  ...dataTableCellFragment
44
50
  }
@@ -47,16 +53,24 @@ mutation editDataTableCells (
47
53
  ${dataTableCellFragment}
48
54
  `;
49
55
 
50
- export const deleteDataTableRowMtn = gql`
51
- mutation deleteDataTableRow (
56
+ export const deleteDataTableRowsMtn = gql`
57
+ mutation deleteDataTableRows (
52
58
  $organizationId: GenericID!
53
59
  $dataTableId: GenericID!
54
- $dataTableRowId: GenericID!
60
+ $dataTableRowIds: [GenericID!]!
61
+ $commandId: String
62
+ $previewClientId: String
63
+ $previewEnvelopeId: String
64
+ $previewSeq: BigInt
55
65
  ) {
56
- deleteDataTableRow (
66
+ deleteDataTableRows (
57
67
  organizationId: $organizationId
58
68
  dataTableId: $dataTableId
59
- dataTableRowId: $dataTableRowId
69
+ dataTableRowIds: $dataTableRowIds
70
+ commandId: $commandId
71
+ previewClientId: $previewClientId
72
+ previewEnvelopeId: $previewEnvelopeId
73
+ previewSeq: $previewSeq
60
74
  ) {
61
75
  ...dataTableRowFragment
62
76
  }
@@ -70,11 +84,19 @@ mutation editDataTableDesign (
70
84
  $organizationId: GenericID!
71
85
  $dataTableId: GenericID!
72
86
  $design: DataTableDesignPatchInput!
87
+ $commandId: String
88
+ $previewClientId: String
89
+ $previewEnvelopeId: String
90
+ $previewSeq: BigInt
73
91
  ) {
74
92
  editDataTableDesign (
75
93
  organizationId: $organizationId
76
94
  dataTableId: $dataTableId
77
95
  design: $design
96
+ commandId: $commandId
97
+ previewClientId: $previewClientId
98
+ previewEnvelopeId: $previewEnvelopeId
99
+ previewSeq: $previewSeq
78
100
  ) {
79
101
  ...dataTableFragment
80
102
  }
@@ -0,0 +1,24 @@
1
+ import { gql } from 'graphql-tag';
2
+ import { fieldDocFragment } from '../fragments/fieldDocFragments.ts';
3
+
4
+ // NOTE: The response is the same mapped document the fieldDoc query serves
5
+ // (same cursor id), so the issuer can merge it straight over its cached
6
+ // fieldDoc fragment.
7
+
8
+ export const editFieldDocAgentHintMtn = gql`
9
+ mutation editFieldDocAgentHint (
10
+ $organizationId: GenericID!
11
+ $fieldDocSourceId: CursorToIDs!
12
+ $agentHint: String
13
+ ) {
14
+ editFieldDocAgentHint (
15
+ organizationId: $organizationId
16
+ fieldDocSourceId: $fieldDocSourceId
17
+ agentHint: $agentHint
18
+ ) {
19
+ ...fieldDocFragment
20
+ }
21
+ }
22
+
23
+ ${fieldDocFragment}
24
+ `;
@@ -1,12 +1,17 @@
1
+ export * from './campaignMutations.ts';
2
+ export * from './agentDocMutations.ts';
3
+ export * from './agentMemoryMutations.ts';
1
4
  export * from './accountMutations.ts';
2
5
  export * from './aiChatMutations.ts';
3
6
  export * from './authMutations.ts';
4
- export * from './billingMutations.ts';
5
7
  export * from './integrationMutations.ts';
8
+ export * from './fieldDocMutations.ts';
6
9
  export * from './inboundContactMutations.ts';
7
10
  export * from './logMutations.ts';
8
11
  export * from './organizationMutations.ts';
9
12
  export * from './dataTableMutations.ts';
13
+ export * from './scheduleMutations.ts';
10
14
  export * from './sheetMutations.ts';
11
15
  export * from './storageMutations.ts';
12
16
  export * from './userAuthMutations.ts';
17
+ export * from './workflowMutations.ts';
@@ -1,10 +1,7 @@
1
1
  import { gql } from 'graphql-tag';
2
2
  import {
3
- logEntryFragment,
4
- logArableFragment,
5
- logFarmersMarketFragment,
6
- logGrowerNetworkFragment,
7
- logLivestockFragment
3
+ logEntryDetailsFragment,
4
+ logEntryFragment,
8
5
  } from '../fragments/logFragments.ts';
9
6
 
10
7
  export const editLogEntryMtn = gql`
@@ -15,10 +12,7 @@ mutation editLogEntry (
15
12
  $date: DateTime
16
13
  $flagColor: String
17
14
 
18
- $arableDetails: LogArableInput
19
- $growerNetworkDetails: GrowerNetworkInput
20
- $livestockDetails: LogLivestockInput
21
- $farmersMarketDetails: LogFarmersMarketInput
15
+ $details: LogEntryDetailsInput
22
16
  ) {
23
17
  editLogEntry (
24
18
  organizationId: $organizationId
@@ -27,35 +21,18 @@ mutation editLogEntry (
27
21
  date: $date
28
22
  flagColor: $flagColor
29
23
 
30
- arableDetails: $arableDetails
31
- growerNetworkDetails: $growerNetworkDetails
32
- livestockDetails: $livestockDetails
33
- farmersMarketDetails: $farmersMarketDetails
24
+ details: $details
34
25
  ) {
35
26
  ...logEntryFragment
36
27
 
37
28
  details {
38
- ...on LogArable {
39
- ...logArableFragment
40
- }
41
- ...on LogFarmersMarket {
42
- ...logFarmersMarketFragment
43
- }
44
- ...on LogGrowerNetwork {
45
- ...logGrowerNetworkFragment
46
- }
47
- ...on LogLivestock {
48
- ...logLivestockFragment
49
- }
29
+ ...logEntryDetailsFragment
50
30
  }
51
31
  }
52
32
  }
53
33
 
54
34
  ${logEntryFragment}
55
- ${logArableFragment}
56
- ${logFarmersMarketFragment}
57
- ${logGrowerNetworkFragment}
58
- ${logLivestockFragment}
35
+ ${logEntryDetailsFragment}
59
36
  `;
60
37
 
61
38
  export const deleteLogEntryMtn = gql`
@@ -1,5 +1,12 @@
1
1
  import { gql } from 'graphql-tag';
2
- import { organizationChildFragment, organizationComplianceFragment, organizationFragment, organizationRelationshipFragment, organizationSettingsFragment, organizationSiteFragment } from '../fragments/organizationFragments.ts';
2
+ import {
3
+ organizationChildFragment,
4
+ organizationComplianceFragment,
5
+ organizationFragment,
6
+ organizationRelationshipFragment,
7
+ organizationSettingsFragment,
8
+ organizationSiteFragment,
9
+ } from '../fragments/organizationFragments.ts';
3
10
 
4
11
  export const switchOrganizationMtn = gql`
5
12
  mutation switchOrganization (
@@ -70,7 +77,7 @@ mutation editOrganizationInboundEmail (
70
77
  ) {
71
78
  editOrganizationInboundEmail (
72
79
  organizationId: $organizationId
73
- inboundEmail: $inboundEmail
80
+ emailHandle: $inboundEmail
74
81
  ) {
75
82
  ...organizationFragment
76
83
  }
@@ -82,15 +89,17 @@ ${organizationFragment}
82
89
  export const editOrganizationSettingsMtn = gql`
83
90
  mutation editOrganizationSettings (
84
91
  $organizationId: GenericID!
85
- $sidebar: [OrganizationSidebarGroupInput!]
92
+ $sidebar: [OrganizationSidebarItemInput!]
86
93
  $routeId: String
87
94
  $columnWidths: [String!]
95
+ $columnOrder: [String!]
88
96
  ) {
89
97
  editOrganizationSettings (
90
98
  organizationId: $organizationId
91
99
  sidebar: $sidebar
92
100
  routeId: $routeId
93
101
  columnWidths: $columnWidths
102
+ columnOrder: $columnOrder
94
103
  ) {
95
104
  ...organizationSettingsFragment
96
105
  }
@@ -104,7 +113,7 @@ mutation editChildOrganization (
104
113
  $organizationId: GenericID!
105
114
  $childOrgId: GenericID!
106
115
  $name: String
107
- $operation: OrganizationOperation
116
+ $operation: String
108
117
  $address: AddressInput
109
118
  $preferredContacts: [OrgContactInput!]
110
119
  ) {