@gadgetinc/ggt 0.4.10 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +165 -93
- package/lib/__generated__/graphql.js +66 -1
- package/lib/__generated__/graphql.js.map +1 -1
- package/lib/commands/deploy.js +328 -230
- package/lib/commands/deploy.js.map +1 -1
- package/lib/commands/dev.js +445 -0
- package/lib/commands/dev.js.map +1 -0
- package/lib/commands/list.js +27 -19
- package/lib/commands/list.js.map +1 -1
- package/lib/commands/login.js +15 -11
- package/lib/commands/login.js.map +1 -1
- package/lib/commands/logout.js +5 -5
- package/lib/commands/logout.js.map +1 -1
- package/lib/commands/open.js +200 -0
- package/lib/commands/open.js.map +1 -0
- package/lib/commands/pull.js +128 -0
- package/lib/commands/pull.js.map +1 -0
- package/lib/commands/push.js +126 -0
- package/lib/commands/push.js.map +1 -0
- package/lib/commands/root.js +46 -28
- package/lib/commands/root.js.map +1 -1
- package/lib/commands/status.js +61 -0
- package/lib/commands/status.js.map +1 -0
- package/lib/commands/version.js +6 -6
- package/lib/commands/version.js.map +1 -1
- package/lib/commands/whoami.js +6 -6
- package/lib/commands/whoami.js.map +1 -1
- package/lib/ggt.js +33 -8
- package/lib/ggt.js.map +1 -1
- package/lib/main.js +5 -0
- package/lib/main.js.map +1 -0
- package/lib/services/app/api/api.js +191 -0
- package/lib/services/app/api/api.js.map +1 -0
- package/lib/services/app/api/operation.js +12 -0
- package/lib/services/app/api/operation.js.map +1 -0
- package/lib/services/app/app.js +44 -10
- package/lib/services/app/app.js.map +1 -1
- package/lib/services/app/{edit/client.js → client.js} +29 -19
- package/lib/services/app/client.js.map +1 -0
- package/lib/services/app/edit/edit.js +67 -31
- package/lib/services/app/edit/edit.js.map +1 -1
- package/lib/services/app/edit/operation.js +4 -3
- package/lib/services/app/edit/operation.js.map +1 -1
- package/lib/services/app/{edit/error.js → error.js} +6 -6
- package/lib/services/app/error.js.map +1 -0
- package/lib/services/command/arg.js +4 -4
- package/lib/services/command/arg.js.map +1 -1
- package/lib/services/command/command.js +9 -7
- package/lib/services/command/command.js.map +1 -1
- package/lib/services/command/context.js +82 -20
- package/lib/services/command/context.js.map +1 -1
- package/lib/services/config/config.js +4 -7
- package/lib/services/config/config.js.map +1 -1
- package/lib/services/config/env.js +1 -1
- package/lib/services/config/env.js.map +1 -1
- package/lib/services/filesync/changes.js +76 -37
- package/lib/services/filesync/changes.js.map +1 -1
- package/lib/services/filesync/conflicts.js +10 -9
- package/lib/services/filesync/conflicts.js.map +1 -1
- package/lib/services/filesync/directory.js +16 -1
- package/lib/services/filesync/directory.js.map +1 -1
- package/lib/services/filesync/error.js +96 -27
- package/lib/services/filesync/error.js.map +1 -1
- package/lib/services/filesync/filesync.js +516 -516
- package/lib/services/filesync/filesync.js.map +1 -1
- package/lib/services/filesync/hashes.js +8 -5
- package/lib/services/filesync/hashes.js.map +1 -1
- package/lib/services/filesync/strategy.js +59 -0
- package/lib/services/filesync/strategy.js.map +1 -0
- package/lib/services/filesync/sync-json.js +475 -0
- package/lib/services/filesync/sync-json.js.map +1 -0
- package/lib/services/http/auth.js +30 -1
- package/lib/services/http/auth.js.map +1 -1
- package/lib/services/http/http.js +5 -0
- package/lib/services/http/http.js.map +1 -1
- package/lib/services/output/confirm.js +149 -0
- package/lib/services/output/confirm.js.map +1 -0
- package/lib/services/output/footer.js +22 -0
- package/lib/services/output/footer.js.map +1 -0
- package/lib/services/output/log/format/pretty.js +2 -1
- package/lib/services/output/log/format/pretty.js.map +1 -1
- package/lib/services/output/log/logger.js +13 -5
- package/lib/services/output/log/logger.js.map +1 -1
- package/lib/services/output/log/structured.js +2 -2
- package/lib/services/output/log/structured.js.map +1 -1
- package/lib/services/output/output.js +197 -0
- package/lib/services/output/output.js.map +1 -0
- package/lib/services/output/print.js +31 -0
- package/lib/services/output/print.js.map +1 -0
- package/lib/services/output/problems.js +84 -0
- package/lib/services/output/problems.js.map +1 -0
- package/lib/services/output/prompt.js +173 -40
- package/lib/services/output/prompt.js.map +1 -1
- package/lib/services/output/report.js +63 -19
- package/lib/services/output/report.js.map +1 -1
- package/lib/services/output/select.js +198 -0
- package/lib/services/output/select.js.map +1 -0
- package/lib/services/output/spinner.js +141 -0
- package/lib/services/output/spinner.js.map +1 -0
- package/lib/services/output/sprint.js +38 -15
- package/lib/services/output/sprint.js.map +1 -1
- package/lib/services/output/symbols.js +23 -0
- package/lib/services/output/symbols.js.map +1 -0
- package/lib/services/output/table.js +98 -0
- package/lib/services/output/table.js.map +1 -0
- package/lib/services/output/timestamp.js +12 -0
- package/lib/services/output/timestamp.js.map +1 -0
- package/lib/services/output/update.js +29 -9
- package/lib/services/output/update.js.map +1 -1
- package/lib/services/user/session.js +4 -0
- package/lib/services/user/session.js.map +1 -1
- package/lib/services/user/user.js +15 -10
- package/lib/services/user/user.js.map +1 -1
- package/lib/services/util/assert.js +11 -0
- package/lib/services/util/assert.js.map +1 -0
- package/lib/services/util/boolean.js +2 -2
- package/lib/services/util/boolean.js.map +1 -1
- package/lib/services/util/function.js +45 -7
- package/lib/services/util/function.js.map +1 -1
- package/lib/services/util/is.js +35 -2
- package/lib/services/util/is.js.map +1 -1
- package/lib/services/util/json.js +16 -13
- package/lib/services/util/json.js.map +1 -1
- package/lib/services/util/object.js +2 -2
- package/lib/services/util/object.js.map +1 -1
- package/lib/services/util/promise.js +5 -2
- package/lib/services/util/promise.js.map +1 -1
- package/lib/services/util/types.js.map +1 -1
- package/npm-shrinkwrap.json +3425 -2983
- package/package.json +48 -41
- package/bin/dev.cmd +0 -3
- package/bin/dev.js +0 -14
- package/bin/run.cmd +0 -3
- package/bin/run.js +0 -5
- package/lib/commands/sync.js +0 -284
- package/lib/commands/sync.js.map +0 -1
- package/lib/services/app/edit/client.js.map +0 -1
- package/lib/services/app/edit/error.js.map +0 -1
- package/lib/services/output/log/printer.js +0 -120
- package/lib/services/output/log/printer.js.map +0 -1
- package/lib/services/output/stream.js +0 -54
- 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
|
|
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.
|
|
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
|
-
|
|
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
|
|
50
|
+
npx ggt@latest dev ~/gadget/example --app=example
|
|
48
51
|
```
|
|
49
52
|
|
|
50
|
-
|
|
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
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
|
72
|
-
-v, --verbose
|
|
73
|
-
--
|
|
79
|
+
-h, --help Print how to use a command
|
|
80
|
+
-v, --verbose Print more verbose output
|
|
81
|
+
--telemetry Enable telemetry
|
|
74
82
|
|
|
75
|
-
|
|
83
|
+
Run "ggt [COMMAND] -h" for more information about a specific command.
|
|
76
84
|
```
|
|
77
85
|
|
|
78
86
|
## Commands
|
|
79
87
|
|
|
80
|
-
### `ggt
|
|
88
|
+
### `ggt dev`
|
|
81
89
|
|
|
82
90
|
```sh-session
|
|
83
|
-
$ ggt
|
|
84
|
-
|
|
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
|
|
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
|
|
107
|
+
DIRECTORY The directory to synchronize files to (default: ".")
|
|
91
108
|
|
|
92
109
|
FLAGS
|
|
93
|
-
-a, --app=<name> The
|
|
94
|
-
|
|
95
|
-
--
|
|
96
|
-
|
|
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
|
-
|
|
99
|
-
Sync allows you to synchronize your Gadget application's source
|
|
100
|
-
code with your local filesystem.
|
|
156
|
+
EXAMPLES
|
|
101
157
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
immediately saved to your local filesystem.
|
|
158
|
+
$ ggt status
|
|
159
|
+
```
|
|
105
160
|
|
|
106
|
-
|
|
107
|
-
• Local development with editors like VSCode
|
|
108
|
-
• Storing source code in a Git repository like GitHub
|
|
161
|
+
### `ggt push`
|
|
109
162
|
|
|
110
|
-
|
|
111
|
-
|
|
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
|
-
|
|
114
|
-
|
|
115
|
-
• .gadget
|
|
116
|
-
• .git
|
|
117
|
-
• node_modules
|
|
169
|
+
USAGE
|
|
170
|
+
ggt push
|
|
118
171
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
172
|
+
EXAMPLES
|
|
173
|
+
$ ggt push
|
|
174
|
+
$ ggt push --env=staging
|
|
175
|
+
$ ggt push --env=staging --force
|
|
123
176
|
|
|
124
|
-
|
|
125
|
-
|
|
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
|
-
|
|
128
|
-
|
|
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
|
-
|
|
133
|
-
• https://example.gadget.app
|
|
134
|
-
• https://example--development.gadget.app
|
|
185
|
+
### `ggt pull`
|
|
135
186
|
|
|
136
|
-
|
|
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
|
-
|
|
139
|
-
|
|
193
|
+
USAGE
|
|
194
|
+
ggt pull
|
|
140
195
|
|
|
141
|
-
|
|
142
|
-
|
|
196
|
+
EXAMPLES
|
|
197
|
+
$ ggt pull
|
|
198
|
+
$ ggt pull --env=staging
|
|
199
|
+
$ ggt pull --env=staging --force
|
|
143
200
|
|
|
144
|
-
|
|
145
|
-
|
|
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
|
-
|
|
148
|
-
|
|
149
|
-
^C Stopping... press Ctrl+C again to force
|
|
206
|
+
Run "ggt pull --help" for more information.
|
|
207
|
+
```
|
|
150
208
|
|
|
151
|
-
|
|
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
|
|
158
|
-
List
|
|
242
|
+
$ ggt list -h
|
|
243
|
+
List your available applications.
|
|
159
244
|
|
|
160
245
|
USAGE
|
|
161
246
|
ggt list
|
|
162
247
|
|
|
163
|
-
|
|
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
|
|
255
|
+
$ ggt login -h
|
|
176
256
|
Log in to your account.
|
|
177
257
|
|
|
178
258
|
USAGE
|
|
179
259
|
ggt login
|
|
180
260
|
|
|
181
|
-
|
|
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
|
|
268
|
+
$ ggt logout -h
|
|
194
269
|
Log out of your account.
|
|
195
270
|
|
|
196
271
|
USAGE
|
|
197
272
|
ggt logout
|
|
198
273
|
|
|
199
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
222
|
-
Print
|
|
294
|
+
$ ggt version -h
|
|
295
|
+
Print this version of ggt.
|
|
223
296
|
|
|
224
297
|
USAGE
|
|
225
298
|
ggt version
|
|
226
299
|
|
|
227
|
-
|
|
300
|
+
EXAMPLES
|
|
228
301
|
$ ggt version
|
|
229
|
-
0.4.10
|
|
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
|
|
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
|