@gadgetinc/ggt 0.4.9 → 1.0.0

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 (142) hide show
  1. package/README.md +165 -93
  2. package/lib/__generated__/graphql.js +66 -1
  3. package/lib/__generated__/graphql.js.map +1 -1
  4. package/lib/commands/deploy.js +329 -184
  5. package/lib/commands/deploy.js.map +1 -1
  6. package/lib/commands/dev.js +445 -0
  7. package/lib/commands/dev.js.map +1 -0
  8. package/lib/commands/list.js +27 -19
  9. package/lib/commands/list.js.map +1 -1
  10. package/lib/commands/login.js +15 -11
  11. package/lib/commands/login.js.map +1 -1
  12. package/lib/commands/logout.js +5 -5
  13. package/lib/commands/logout.js.map +1 -1
  14. package/lib/commands/open.js +200 -0
  15. package/lib/commands/open.js.map +1 -0
  16. package/lib/commands/pull.js +128 -0
  17. package/lib/commands/pull.js.map +1 -0
  18. package/lib/commands/push.js +126 -0
  19. package/lib/commands/push.js.map +1 -0
  20. package/lib/commands/root.js +46 -28
  21. package/lib/commands/root.js.map +1 -1
  22. package/lib/commands/status.js +61 -0
  23. package/lib/commands/status.js.map +1 -0
  24. package/lib/commands/version.js +6 -6
  25. package/lib/commands/version.js.map +1 -1
  26. package/lib/commands/whoami.js +6 -6
  27. package/lib/commands/whoami.js.map +1 -1
  28. package/lib/ggt.js +33 -8
  29. package/lib/ggt.js.map +1 -1
  30. package/lib/main.js +5 -0
  31. package/lib/main.js.map +1 -0
  32. package/lib/services/app/api/api.js +191 -0
  33. package/lib/services/app/api/api.js.map +1 -0
  34. package/lib/services/app/api/operation.js +12 -0
  35. package/lib/services/app/api/operation.js.map +1 -0
  36. package/lib/services/app/app.js +44 -10
  37. package/lib/services/app/app.js.map +1 -1
  38. package/lib/services/app/{edit/client.js → client.js} +29 -19
  39. package/lib/services/app/client.js.map +1 -0
  40. package/lib/services/app/edit/edit.js +67 -31
  41. package/lib/services/app/edit/edit.js.map +1 -1
  42. package/lib/services/app/edit/operation.js +19 -3
  43. package/lib/services/app/edit/operation.js.map +1 -1
  44. package/lib/services/app/{edit/error.js → error.js} +6 -6
  45. package/lib/services/app/error.js.map +1 -0
  46. package/lib/services/command/arg.js +4 -4
  47. package/lib/services/command/arg.js.map +1 -1
  48. package/lib/services/command/command.js +9 -7
  49. package/lib/services/command/command.js.map +1 -1
  50. package/lib/services/command/context.js +82 -20
  51. package/lib/services/command/context.js.map +1 -1
  52. package/lib/services/config/config.js +4 -7
  53. package/lib/services/config/config.js.map +1 -1
  54. package/lib/services/config/env.js +1 -1
  55. package/lib/services/config/env.js.map +1 -1
  56. package/lib/services/filesync/changes.js +76 -37
  57. package/lib/services/filesync/changes.js.map +1 -1
  58. package/lib/services/filesync/conflicts.js +10 -9
  59. package/lib/services/filesync/conflicts.js.map +1 -1
  60. package/lib/services/filesync/directory.js +16 -1
  61. package/lib/services/filesync/directory.js.map +1 -1
  62. package/lib/services/filesync/error.js +96 -27
  63. package/lib/services/filesync/error.js.map +1 -1
  64. package/lib/services/filesync/filesync.js +448 -472
  65. package/lib/services/filesync/filesync.js.map +1 -1
  66. package/lib/services/filesync/hashes.js +8 -5
  67. package/lib/services/filesync/hashes.js.map +1 -1
  68. package/lib/services/filesync/strategy.js +59 -0
  69. package/lib/services/filesync/strategy.js.map +1 -0
  70. package/lib/services/filesync/sync-json.js +475 -0
  71. package/lib/services/filesync/sync-json.js.map +1 -0
  72. package/lib/services/http/auth.js +30 -1
  73. package/lib/services/http/auth.js.map +1 -1
  74. package/lib/services/http/http.js +5 -0
  75. package/lib/services/http/http.js.map +1 -1
  76. package/lib/services/output/confirm.js +149 -0
  77. package/lib/services/output/confirm.js.map +1 -0
  78. package/lib/services/output/footer.js +22 -0
  79. package/lib/services/output/footer.js.map +1 -0
  80. package/lib/services/output/log/format/pretty.js +2 -1
  81. package/lib/services/output/log/format/pretty.js.map +1 -1
  82. package/lib/services/output/log/logger.js +13 -5
  83. package/lib/services/output/log/logger.js.map +1 -1
  84. package/lib/services/output/log/structured.js +2 -2
  85. package/lib/services/output/log/structured.js.map +1 -1
  86. package/lib/services/output/output.js +197 -0
  87. package/lib/services/output/output.js.map +1 -0
  88. package/lib/services/output/print.js +31 -0
  89. package/lib/services/output/print.js.map +1 -0
  90. package/lib/services/output/problems.js +84 -0
  91. package/lib/services/output/problems.js.map +1 -0
  92. package/lib/services/output/prompt.js +173 -40
  93. package/lib/services/output/prompt.js.map +1 -1
  94. package/lib/services/output/report.js +63 -19
  95. package/lib/services/output/report.js.map +1 -1
  96. package/lib/services/output/select.js +198 -0
  97. package/lib/services/output/select.js.map +1 -0
  98. package/lib/services/output/spinner.js +141 -0
  99. package/lib/services/output/spinner.js.map +1 -0
  100. package/lib/services/output/sprint.js +38 -15
  101. package/lib/services/output/sprint.js.map +1 -1
  102. package/lib/services/output/symbols.js +23 -0
  103. package/lib/services/output/symbols.js.map +1 -0
  104. package/lib/services/output/table.js +98 -0
  105. package/lib/services/output/table.js.map +1 -0
  106. package/lib/services/output/timestamp.js +12 -0
  107. package/lib/services/output/timestamp.js.map +1 -0
  108. package/lib/services/output/update.js +29 -9
  109. package/lib/services/output/update.js.map +1 -1
  110. package/lib/services/user/session.js +4 -0
  111. package/lib/services/user/session.js.map +1 -1
  112. package/lib/services/user/user.js +15 -10
  113. package/lib/services/user/user.js.map +1 -1
  114. package/lib/services/util/assert.js +11 -0
  115. package/lib/services/util/assert.js.map +1 -0
  116. package/lib/services/util/boolean.js +2 -2
  117. package/lib/services/util/boolean.js.map +1 -1
  118. package/lib/services/util/function.js +45 -7
  119. package/lib/services/util/function.js.map +1 -1
  120. package/lib/services/util/is.js +23 -2
  121. package/lib/services/util/is.js.map +1 -1
  122. package/lib/services/util/json.js +16 -13
  123. package/lib/services/util/json.js.map +1 -1
  124. package/lib/services/util/object.js +2 -2
  125. package/lib/services/util/object.js.map +1 -1
  126. package/lib/services/util/promise.js +5 -2
  127. package/lib/services/util/promise.js.map +1 -1
  128. package/lib/services/util/types.js.map +1 -1
  129. package/npm-shrinkwrap.json +3436 -2833
  130. package/package.json +47 -40
  131. package/bin/dev.cmd +0 -3
  132. package/bin/dev.js +0 -14
  133. package/bin/run.cmd +0 -3
  134. package/bin/run.js +0 -5
  135. package/lib/commands/sync.js +0 -284
  136. package/lib/commands/sync.js.map +0 -1
  137. package/lib/services/app/edit/client.js.map +0 -1
  138. package/lib/services/app/edit/error.js.map +0 -1
  139. package/lib/services/output/log/printer.js +0 -120
  140. package/lib/services/output/log/printer.js.map +0 -1
  141. package/lib/services/output/stream.js +0 -54
  142. package/lib/services/output/stream.js.map +0 -1
package/README.md CHANGED
@@ -18,8 +18,6 @@
18
18
  <br>
19
19
  <br>
20
20
 
21
- <i>Status: alpha -- please report any issues to the [issue tracker](https://github.com/gadget-inc/ggt/issues?q=is%3Aissue+is%3Aopen) here so we can fix them!</i>
22
-
23
21
  </div>
24
22
 
25
23
  ## Table of Contents
@@ -28,7 +26,12 @@
28
26
  - [Quick Start](#quick-start)
29
27
  - [Usage](#usage)
30
28
  - [Commands](#commands)
31
- - [`ggt sync`](#ggt-sync)
29
+ - [`ggt dev`](#ggt-dev)
30
+ - [`ggt deploy`](#ggt-deploy)
31
+ - [`ggt status`](#ggt-status)
32
+ - [`ggt push`](#ggt-push)
33
+ - [`ggt pull`](#ggt-pull)
34
+ - [`ggt open`](#ggt-open)
32
35
  - [`ggt list`](#ggt-list)
33
36
  - [`ggt login`](#ggt-login)
34
37
  - [`ggt logout`](#ggt-logout)
@@ -37,194 +40,263 @@
37
40
 
38
41
  ## Intro
39
42
 
40
- `ggt` is the command line interface for the Gadget platform, providing additional functionality for working with your Gadget applications using your existing tools on your machine. `ggt` isn't required for building end-to-end Gadget apps but supports syncing files locally (and more soon) for your preferred coding experience.
43
+ `ggt` is the command line interface for the Gadget platform, providing additional functionality for working with your Gadget applications using your existing tools on your machine.
41
44
 
42
45
  ## Quick Start
43
46
 
44
- Run the following to sync a `my-app.gadget.app` application to the `~/gadget/my-app` on your local machine:
47
+ Assuming you have a Gadget application named `example`, run the following to clone your application's source code to `~/gadget/example` to begin developing:
45
48
 
46
49
  ```sh
47
- npx ggt@latest sync ~/gadget/my-app --app=my-app
50
+ npx ggt@latest dev ~/gadget/example --app=example
48
51
  ```
49
52
 
50
- With this running in the background, your local `~/gadget/my-app` folder will become two-way synced with your application's filesystem in Gadget's cloud. Changes you make locally will be immediately reflected by your application's API and actions if you re-run them.
53
+ While `ggt dev` is running, `~/gadget/example` will synchronized with your application's filesystem in Gadget's cloud. Any file changes you make locally will be immediately reflected by your application's API and actions if you re-run them.
51
54
 
52
55
  ## Usage
53
56
 
54
57
  ```sh-session
55
58
  $ npm install -g ggt
56
59
  $ ggt
57
- The command-line interface for Gadget
60
+ The command-line interface for Gadget.
58
61
 
59
62
  USAGE
60
63
  ggt [COMMAND]
61
64
 
62
65
  COMMANDS
63
- sync Sync your Gadget application's source code
64
- list List your apps
65
- login Log in to your account
66
- logout Log out of your account
67
- whoami Print the currently logged in account
68
- version Print the version of ggt
66
+ dev Start developing your application
67
+ deploy Deploy your environment to production
68
+ status Show your local and environment's file changes
69
+ push Push your local files to your environment
70
+ pull Pull your environment's files to your local computer
71
+ open Open a Gadget location in your browser
72
+ list List your available applications
73
+ login Log in to your account
74
+ logout Log out of your account
75
+ whoami Print the currently logged in account
76
+ version Print this version of ggt
69
77
 
70
78
  FLAGS
71
- -h, --help Print command's usage
72
- -v, --verbose Print verbose output
73
- --json Print output as JSON
79
+ -h, --help Print how to use a command
80
+ -v, --verbose Print more verbose output
81
+ --telemetry Enable telemetry
74
82
 
75
- For more information on a specific command, use 'ggt [COMMAND] --help'
83
+ Run "ggt [COMMAND] -h" for more information about a specific command.
76
84
  ```
77
85
 
78
86
  ## Commands
79
87
 
80
- ### `ggt sync`
88
+ ### `ggt dev`
81
89
 
82
90
  ```sh-session
83
- $ ggt sync --help
84
- Sync your Gadget environment's source code with your local filesystem.
91
+ $ ggt dev -h
92
+ Develop your app by synchronizing your local files with your
93
+ environment's files, in real-time. Changes are tracked from
94
+ the last "ggt dev", "ggt push", or "ggt pull" run locally.
85
95
 
86
96
  USAGE
87
- ggt sync [DIRECTORY]
97
+ ggt dev [DIRECTORY]
98
+
99
+ EXAMPLES
100
+ $ ggt dev
101
+ $ ggt dev ~/gadget/example
102
+ $ ggt dev ~/gadget/example
103
+ $ ggt dev ~/gadget/example --app=example
104
+ $ ggt dev ~/gadget/example --app=example --env=development --prefer=local
88
105
 
89
106
  ARGUMENTS
90
- DIRECTORY The directory to sync files to (default: ".")
107
+ DIRECTORY The directory to synchronize files to (default: ".")
91
108
 
92
109
  FLAGS
93
- -a, --app=<name> The Gadget application to sync files to
94
- --prefer=<filesystem> Prefer "local" or "gadget" conflicting changes
95
- --once Sync once and exit
96
- --force Sync regardless of local filesystem state
110
+ -a, --app=<name> The application to synchronize files with
111
+ -e, --env=<name> The environment to synchronize files with
112
+ --prefer=<filesystem> Prefer "local" or "environment" conflicting changes
113
+
114
+ Run "ggt dev --help" for more information.
115
+ ```
116
+
117
+ ### `ggt deploy`
118
+
119
+ ```sh-session
120
+ $ ggt deploy -h
121
+ Deploy an environment to production.
122
+
123
+ Your local files must match your environment's files
124
+ before you can deploy. Changes are tracked from
125
+ the last "ggt dev", "ggt push", or "ggt pull" run locally.
126
+
127
+ USAGE
128
+ ggt deploy
129
+
130
+ EXAMPLES
131
+ $ ggt deploy
132
+ $ ggt deploy --from=staging
133
+ $ ggt deploy --from=staging --force
134
+ $ ggt deploy --from=staging --force --allow-problems
135
+
136
+ FLAGS
137
+ -a, --app=<name> The application to deploy
138
+ -e, --from=<env> The environment to deploy from
139
+ --force Discard changes to your environment's filesystem
140
+ --allow-problems Deploy regardless of any problems the environment has
141
+ --allow-charges Deploy even if doing so will add charges to your account
142
+
143
+ Run "ggt deploy --help" for more information.
144
+ ```
145
+
146
+ ### `ggt status`
147
+
148
+ ```sh-session
149
+ $ ggt status -h
150
+ Show file changes since your last dev, push, or pull.
151
+
152
+ USAGE
153
+
154
+ ggt status
97
155
 
98
- DESCRIPTION
99
- Sync allows you to synchronize your Gadget application's source
100
- code with your local filesystem.
156
+ EXAMPLES
101
157
 
102
- While ggt sync is running, local file changes are immediately
103
- reflected within Gadget, while files that are changed in Gadget are
104
- immediately saved to your local filesystem.
158
+ $ ggt status
159
+ ```
105
160
 
106
- Ideal for:
107
- • Local development with editors like VSCode
108
- • Storing source code in a Git repository like GitHub
161
+ ### `ggt push`
109
162
 
110
- Sync looks for a ".ignore" file to exclude certain files/directories
111
- from being synced. The format is identical to Git's.
163
+ ```sh-session
164
+ $ ggt push -h
165
+ Push your local files to your environment's filesystem.
166
+ Changes are tracked from the last "ggt dev", "ggt push", or
167
+ "ggt pull" run locally.
112
168
 
113
- These files are always ignored:
114
- .DS_Store
115
- • .gadget
116
- • .git
117
- • node_modules
169
+ USAGE
170
+ ggt push
118
171
 
119
- Note:
120
- Sync only works with your development environment
121
- Avoid deleting/moving all your files while sync is running
122
- Gadget only supports Yarn v1 for dependency installation
172
+ EXAMPLES
173
+ $ ggt push
174
+ $ ggt push --env=staging
175
+ $ ggt push --env=staging --force
123
176
 
124
- EXAMPLE
125
- $ ggt sync ~/gadget/example --app example
177
+ FLAGS
178
+ -a, --app=<name> The application to push files to
179
+ -e, --env=<name> The environment to push files to
180
+ --force Discard changes to your environment's filesystem
126
181
 
127
- App example
128
- Editor https://example.gadget.app/edit
129
- Playground https://example.gadget.app/api/graphql/playground
130
- Docs https://docs.gadget.dev/api/example
182
+ Run "ggt push --help" for more information.
183
+ ```
131
184
 
132
- Endpoints
133
- • https://example.gadget.app
134
- • https://example--development.gadget.app
185
+ ### `ggt pull`
135
186
 
136
- Watching for file changes... Press Ctrl+C to stop
187
+ ```sh-session
188
+ $ ggt pull -h
189
+ Pull your environment's files to your local filesystem.
190
+ Changes are tracked from the last "ggt dev", "ggt push", or
191
+ "ggt pull" run locally.
137
192
 
138
- → Sent 09:06:25 AM
139
- routes/GET-hello.js + created
193
+ USAGE
194
+ ggt pull
140
195
 
141
- → Sent 09:06:49 AM
142
- routes/GET-hello.js ± updated
196
+ EXAMPLES
197
+ $ ggt pull
198
+ $ ggt pull --env=staging
199
+ $ ggt pull --env=staging --force
143
200
 
144
- ← Received 09:06:54 AM
145
- routes/GET-hello.js ± updated
201
+ FLAGS
202
+ -a, --app=<name> The application to pull files from
203
+ -e, --env=<name> The environment to pull files from
204
+ --force Discard changes to your local filesystem
146
205
 
147
- Received 09:06:56 AM
148
- routes/GET-hello.js - deleted
149
- ^C Stopping... press Ctrl+C again to force
206
+ Run "ggt pull --help" for more information.
207
+ ```
150
208
 
151
- Goodbye!
209
+ ### `ggt open`
210
+
211
+ ```sh-session
212
+ $ ggt open -h
213
+ Open a Gadget location in your browser.
214
+
215
+ USAGE
216
+ ggt open [LOCATION] [MODEL]
217
+
218
+ EXAMPLES
219
+ $ ggt open
220
+ $ ggt open logs
221
+ $ ggt open permissions
222
+ $ ggt open data modelA
223
+ $ ggt open schema modelA
224
+ $ ggt open data --show-all
225
+ $ ggt open schema --show-all
226
+
227
+ ARGUMENTS
228
+ LOCATION The location to open
229
+ MODEL The model to open
230
+
231
+ FLAGS
232
+ -a, --app=<name> The application to open
233
+ -e, --env=<env> The environment to open
234
+ --show-all Show all available models to open
235
+
236
+ Run "ggt open --help" for more information.
152
237
  ```
153
238
 
154
239
  ### `ggt list`
155
240
 
156
241
  ```sh-session
157
- $ ggt list --help
158
- List the apps available to the currently logged in user.
242
+ $ ggt list -h
243
+ List your available applications.
159
244
 
160
245
  USAGE
161
246
  ggt list
162
247
 
163
- EXAMPLE
248
+ EXAMPLES
164
249
  $ ggt list
165
- Slug Domain
166
- ─────── ──────────────────
167
- my-app my-app.gadget.app
168
- example example.gadget.app
169
- test test.gadget.app
170
250
  ```
171
251
 
172
252
  ### `ggt login`
173
253
 
174
254
  ```sh-session
175
- $ ggt login --help
255
+ $ ggt login -h
176
256
  Log in to your account.
177
257
 
178
258
  USAGE
179
259
  ggt login
180
260
 
181
- EXAMPLE
261
+ EXAMPLES
182
262
  $ ggt login
183
- We've opened Gadget's login page using your default browser.
184
-
185
- Please log in and then return to this terminal.
186
-
187
- Hello, Jane Doe (jane@example.com)
188
263
  ```
189
264
 
190
265
  ### `ggt logout`
191
266
 
192
267
  ```sh-session
193
- $ ggt logout --help
268
+ $ ggt logout -h
194
269
  Log out of your account.
195
270
 
196
271
  USAGE
197
272
  ggt logout
198
273
 
199
- EXAMPLE
274
+ EXAMPLES
200
275
  $ ggt logout
201
- Goodbye
202
276
  ```
203
277
 
204
278
  ### `ggt whoami`
205
279
 
206
280
  ```sh-session
207
- $ ggt whoami --help
208
- Show the name and email address of the currently logged in user
281
+ $ ggt whoami -h
282
+ Show the name and email address of the currently logged in user.
209
283
 
210
284
  USAGE
211
285
  ggt whoami
212
286
 
213
- EXAMPLE
287
+ EXAMPLES
214
288
  $ ggt whoami
215
- You are logged in as Jane Doe (jane@example.com)
216
289
  ```
217
290
 
218
291
  ### `ggt version`
219
292
 
220
293
  ```sh-session
221
- $ ggt version --help
222
- Print the version of ggt
294
+ $ ggt version -h
295
+ Print this version of ggt.
223
296
 
224
297
  USAGE
225
298
  ggt version
226
299
 
227
- EXAMPLE
300
+ EXAMPLES
228
301
  $ ggt version
229
- 0.4.9
230
302
  ```
@@ -4,10 +4,75 @@
4
4
  *
5
5
  * You can regenerate it by running `npm run generate-graphql`.
6
6
  * ======================================================
7
- */ export var FileSyncEncoding;
7
+ */ export var BackgroundActionAttemptState;
8
+ (function(BackgroundActionAttemptState) {
9
+ BackgroundActionAttemptState["Failed"] = "FAILED";
10
+ BackgroundActionAttemptState["Running"] = "RUNNING";
11
+ BackgroundActionAttemptState["Succeeded"] = "SUCCEEDED";
12
+ })(BackgroundActionAttemptState || (BackgroundActionAttemptState = {}));
13
+ export var BackgroundActionState;
14
+ (function(BackgroundActionState) {
15
+ BackgroundActionState["Cancelled"] = "CANCELLED";
16
+ BackgroundActionState["Completed"] = "COMPLETED";
17
+ BackgroundActionState["Failed"] = "FAILED";
18
+ BackgroundActionState["Retrying"] = "RETRYING";
19
+ BackgroundActionState["Running"] = "RUNNING";
20
+ BackgroundActionState["Scheduled"] = "SCHEDULED";
21
+ BackgroundActionState["Waiting"] = "WAITING";
22
+ })(BackgroundActionState || (BackgroundActionState = {}));
23
+ export var EnvironmentStatus;
24
+ (function(EnvironmentStatus) {
25
+ EnvironmentStatus["Active"] = "ACTIVE";
26
+ EnvironmentStatus["FatalError"] = "FATAL_ERROR";
27
+ EnvironmentStatus["Paused"] = "PAUSED";
28
+ EnvironmentStatus["Pending"] = "PENDING";
29
+ })(EnvironmentStatus || (EnvironmentStatus = {}));
30
+ export var EnvironmentType;
31
+ (function(EnvironmentType) {
32
+ EnvironmentType["Development"] = "DEVELOPMENT";
33
+ EnvironmentType["Production"] = "PRODUCTION";
34
+ EnvironmentType["Test"] = "TEST";
35
+ })(EnvironmentType || (EnvironmentType = {}));
36
+ export var FileSyncEncoding;
8
37
  (function(FileSyncEncoding) {
9
38
  FileSyncEncoding["Base64"] = "base64";
10
39
  FileSyncEncoding["Utf8"] = "utf8";
11
40
  })(FileSyncEncoding || (FileSyncEncoding = {}));
41
+ export var GadgetFieldType;
42
+ (function(GadgetFieldType) {
43
+ GadgetFieldType["Any"] = "Any";
44
+ GadgetFieldType["Array"] = "Array";
45
+ GadgetFieldType["BelongsTo"] = "BelongsTo";
46
+ GadgetFieldType["Boolean"] = "Boolean";
47
+ GadgetFieldType["Code"] = "Code";
48
+ GadgetFieldType["Color"] = "Color";
49
+ GadgetFieldType["Computed"] = "Computed";
50
+ GadgetFieldType["DateTime"] = "DateTime";
51
+ GadgetFieldType["Email"] = "Email";
52
+ GadgetFieldType["EncryptedString"] = "EncryptedString";
53
+ GadgetFieldType["Enum"] = "Enum";
54
+ GadgetFieldType["File"] = "File";
55
+ GadgetFieldType["HasMany"] = "HasMany";
56
+ GadgetFieldType["HasManyThrough"] = "HasManyThrough";
57
+ GadgetFieldType["HasOne"] = "HasOne";
58
+ GadgetFieldType["Id"] = "ID";
59
+ GadgetFieldType["Json"] = "JSON";
60
+ GadgetFieldType["Money"] = "Money";
61
+ GadgetFieldType["Null"] = "Null";
62
+ GadgetFieldType["Number"] = "Number";
63
+ GadgetFieldType["Object"] = "Object";
64
+ GadgetFieldType["Password"] = "Password";
65
+ GadgetFieldType["RecordState"] = "RecordState";
66
+ GadgetFieldType["RichText"] = "RichText";
67
+ GadgetFieldType["RoleAssignments"] = "RoleAssignments";
68
+ GadgetFieldType["String"] = "String";
69
+ GadgetFieldType["Url"] = "URL";
70
+ GadgetFieldType["Vector"] = "Vector";
71
+ })(GadgetFieldType || (GadgetFieldType = {}));
72
+ export var ModelExportFormat;
73
+ (function(ModelExportFormat) {
74
+ ModelExportFormat["Csv"] = "CSV";
75
+ ModelExportFormat["Ndjson"] = "NDJSON";
76
+ })(ModelExportFormat || (ModelExportFormat = {}));
12
77
 
13
78
  //# sourceMappingURL=graphql.js.map