taggor 0.8.0 → 0.10.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.
- package/EXIT_CODES.md +2 -1
- package/README.md +4 -0
- package/dist/taggor.mjs +3930 -1291
- package/package.json +11 -6
- package/schemas/agent-install.json +16 -0
- package/schemas/attach.json +16 -0
- package/schemas/check.json +18 -2
- package/schemas/codegen.json +181 -0
- package/schemas/components-archive.json +92 -0
- package/schemas/components-list.json +127 -0
- package/schemas/components-restore.json +92 -0
- package/schemas/data-collections.json +20 -0
- package/schemas/data-export.json +16 -0
- package/schemas/detach.json +16 -0
- package/schemas/dev.json +16 -0
- package/schemas/init.json +16 -0
- package/schemas/login.json +16 -0
- package/schemas/logout.json +16 -0
- package/schemas/logs.json +16 -0
- package/schemas/metrics-parameters.json +16 -0
- package/schemas/metrics.json +16 -0
- package/schemas/pin.json +16 -0
- package/schemas/preview.json +16 -0
- package/schemas/projects-clean.json +16 -0
- package/schemas/projects-list.json +16 -0
- package/schemas/promote.json +16 -0
- package/schemas/publish.json +156 -140
- package/schemas/pull.json +16 -0
- package/schemas/rollback.json +16 -0
- package/schemas/sites-create.json +24 -8
- package/schemas/sites-delete.json +127 -0
- package/schemas/sites-disable.json +126 -0
- package/schemas/sites-domains-set.json +24 -8
- package/schemas/sites-enable.json +126 -0
- package/schemas/sites-list.json +16 -0
- package/schemas/sites-props-set.json +16 -0
- package/schemas/sites-protection-set.json +16 -0
- package/schemas/sites-server-keys-create.json +22 -6
- package/schemas/sites-server-keys-list.json +16 -0
- package/schemas/sites-server-keys-revoke.json +20 -4
- package/schemas/sites-show.json +24 -8
- package/schemas/sites-snippet.json +16 -0
- package/schemas/sites-update.json +130 -0
- package/schemas/unpin.json +16 -0
- package/schemas/usage.json +16 -0
- package/schemas/versions.json +16 -0
- package/schemas/whoami.json +16 -0
- package/schemas/workspaces-list.json +105 -0
- package/schemas/workspaces-update.json +112 -0
- package/schemas/workspaces-use.json +16 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"anyOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"ok": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"const": true
|
|
10
|
+
},
|
|
11
|
+
"command": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "sites update"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"status": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"production_site_key": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"production_allowed_domains": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"staging_site_key": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"staging_allowed_domains": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"staging_fixed_domains": {
|
|
40
|
+
"type": "array",
|
|
41
|
+
"items": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"site_id": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"site_name": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"previous_name": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"changed": {
|
|
55
|
+
"type": "boolean"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": [
|
|
59
|
+
"status",
|
|
60
|
+
"production_site_key",
|
|
61
|
+
"production_allowed_domains",
|
|
62
|
+
"staging_site_key",
|
|
63
|
+
"staging_allowed_domains",
|
|
64
|
+
"staging_fixed_domains",
|
|
65
|
+
"site_id",
|
|
66
|
+
"site_name",
|
|
67
|
+
"previous_name",
|
|
68
|
+
"changed"
|
|
69
|
+
],
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": ["ok", "command", "data"],
|
|
74
|
+
"additionalProperties": false
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "object",
|
|
78
|
+
"properties": {
|
|
79
|
+
"ok": {
|
|
80
|
+
"type": "boolean",
|
|
81
|
+
"const": false
|
|
82
|
+
},
|
|
83
|
+
"command": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"const": "sites update"
|
|
86
|
+
},
|
|
87
|
+
"error": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"properties": {
|
|
90
|
+
"code": {
|
|
91
|
+
"type": "string"
|
|
92
|
+
},
|
|
93
|
+
"message": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"request_id": {
|
|
97
|
+
"type": ["string", "null"]
|
|
98
|
+
},
|
|
99
|
+
"exit_code": {
|
|
100
|
+
"type": "integer",
|
|
101
|
+
"minimum": -9007199254740991,
|
|
102
|
+
"maximum": 9007199254740991
|
|
103
|
+
},
|
|
104
|
+
"api_code": {
|
|
105
|
+
"type": "string"
|
|
106
|
+
},
|
|
107
|
+
"hint": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"docs_url": {
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
"human_action": {
|
|
114
|
+
"type": "object",
|
|
115
|
+
"propertyNames": {
|
|
116
|
+
"type": "string"
|
|
117
|
+
},
|
|
118
|
+
"additionalProperties": {}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
122
|
+
"additionalProperties": false
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required": ["ok", "command", "error"],
|
|
126
|
+
"additionalProperties": false
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"title": "taggor sites update --json"
|
|
130
|
+
}
|
package/schemas/unpin.json
CHANGED
|
@@ -154,6 +154,22 @@
|
|
|
154
154
|
"type": "integer",
|
|
155
155
|
"minimum": -9007199254740991,
|
|
156
156
|
"maximum": 9007199254740991
|
|
157
|
+
},
|
|
158
|
+
"api_code": {
|
|
159
|
+
"type": "string"
|
|
160
|
+
},
|
|
161
|
+
"hint": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
164
|
+
"docs_url": {
|
|
165
|
+
"type": "string"
|
|
166
|
+
},
|
|
167
|
+
"human_action": {
|
|
168
|
+
"type": "object",
|
|
169
|
+
"propertyNames": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
},
|
|
172
|
+
"additionalProperties": {}
|
|
157
173
|
}
|
|
158
174
|
},
|
|
159
175
|
"required": ["code", "message", "request_id", "exit_code"],
|
package/schemas/usage.json
CHANGED
|
@@ -209,6 +209,22 @@
|
|
|
209
209
|
"type": "integer",
|
|
210
210
|
"minimum": -9007199254740991,
|
|
211
211
|
"maximum": 9007199254740991
|
|
212
|
+
},
|
|
213
|
+
"api_code": {
|
|
214
|
+
"type": "string"
|
|
215
|
+
},
|
|
216
|
+
"hint": {
|
|
217
|
+
"type": "string"
|
|
218
|
+
},
|
|
219
|
+
"docs_url": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
},
|
|
222
|
+
"human_action": {
|
|
223
|
+
"type": "object",
|
|
224
|
+
"propertyNames": {
|
|
225
|
+
"type": "string"
|
|
226
|
+
},
|
|
227
|
+
"additionalProperties": {}
|
|
212
228
|
}
|
|
213
229
|
},
|
|
214
230
|
"required": ["code", "message", "request_id", "exit_code"],
|
package/schemas/versions.json
CHANGED
|
@@ -111,6 +111,22 @@
|
|
|
111
111
|
"type": "integer",
|
|
112
112
|
"minimum": -9007199254740991,
|
|
113
113
|
"maximum": 9007199254740991
|
|
114
|
+
},
|
|
115
|
+
"api_code": {
|
|
116
|
+
"type": "string"
|
|
117
|
+
},
|
|
118
|
+
"hint": {
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
"docs_url": {
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
"human_action": {
|
|
125
|
+
"type": "object",
|
|
126
|
+
"propertyNames": {
|
|
127
|
+
"type": "string"
|
|
128
|
+
},
|
|
129
|
+
"additionalProperties": {}
|
|
114
130
|
}
|
|
115
131
|
},
|
|
116
132
|
"required": ["code", "message", "request_id", "exit_code"],
|
package/schemas/whoami.json
CHANGED
|
@@ -107,6 +107,22 @@
|
|
|
107
107
|
"type": "integer",
|
|
108
108
|
"minimum": -9007199254740991,
|
|
109
109
|
"maximum": 9007199254740991
|
|
110
|
+
},
|
|
111
|
+
"api_code": {
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
"hint": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
"docs_url": {
|
|
118
|
+
"type": "string"
|
|
119
|
+
},
|
|
120
|
+
"human_action": {
|
|
121
|
+
"type": "object",
|
|
122
|
+
"propertyNames": {
|
|
123
|
+
"type": "string"
|
|
124
|
+
},
|
|
125
|
+
"additionalProperties": {}
|
|
110
126
|
}
|
|
111
127
|
},
|
|
112
128
|
"required": ["code", "message", "request_id", "exit_code"],
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"anyOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"ok": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"const": true
|
|
10
|
+
},
|
|
11
|
+
"command": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "workspaces list"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"workspace": {
|
|
19
|
+
"type": ["string", "null"]
|
|
20
|
+
},
|
|
21
|
+
"workspaces": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"items": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"id": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"slug": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"name": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"role": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": ["id", "slug", "name", "role"],
|
|
40
|
+
"additionalProperties": false
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"required": ["workspace", "workspaces"],
|
|
45
|
+
"additionalProperties": false
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": ["ok", "command", "data"],
|
|
49
|
+
"additionalProperties": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"ok": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"const": false
|
|
57
|
+
},
|
|
58
|
+
"command": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"const": "workspaces list"
|
|
61
|
+
},
|
|
62
|
+
"error": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"properties": {
|
|
65
|
+
"code": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"message": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"request_id": {
|
|
72
|
+
"type": ["string", "null"]
|
|
73
|
+
},
|
|
74
|
+
"exit_code": {
|
|
75
|
+
"type": "integer",
|
|
76
|
+
"minimum": -9007199254740991,
|
|
77
|
+
"maximum": 9007199254740991
|
|
78
|
+
},
|
|
79
|
+
"api_code": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"hint": {
|
|
83
|
+
"type": "string"
|
|
84
|
+
},
|
|
85
|
+
"docs_url": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"human_action": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"propertyNames": {
|
|
91
|
+
"type": "string"
|
|
92
|
+
},
|
|
93
|
+
"additionalProperties": {}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
97
|
+
"additionalProperties": false
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"required": ["ok", "command", "error"],
|
|
101
|
+
"additionalProperties": false
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"title": "taggor workspaces list --json"
|
|
105
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"anyOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"ok": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"const": true
|
|
10
|
+
},
|
|
11
|
+
"command": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "workspaces update"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"workspace": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"workspace_id": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"name": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"previous_workspace": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"previous_name": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"changed": {
|
|
34
|
+
"type": "boolean"
|
|
35
|
+
},
|
|
36
|
+
"config_updated": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"workspace",
|
|
45
|
+
"workspace_id",
|
|
46
|
+
"name",
|
|
47
|
+
"previous_workspace",
|
|
48
|
+
"previous_name",
|
|
49
|
+
"changed",
|
|
50
|
+
"config_updated"
|
|
51
|
+
],
|
|
52
|
+
"additionalProperties": false
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": ["ok", "command", "data"],
|
|
56
|
+
"additionalProperties": false
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "object",
|
|
60
|
+
"properties": {
|
|
61
|
+
"ok": {
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"const": false
|
|
64
|
+
},
|
|
65
|
+
"command": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"const": "workspaces update"
|
|
68
|
+
},
|
|
69
|
+
"error": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"code": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"message": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"request_id": {
|
|
79
|
+
"type": ["string", "null"]
|
|
80
|
+
},
|
|
81
|
+
"exit_code": {
|
|
82
|
+
"type": "integer",
|
|
83
|
+
"minimum": -9007199254740991,
|
|
84
|
+
"maximum": 9007199254740991
|
|
85
|
+
},
|
|
86
|
+
"api_code": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
"hint": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
"docs_url": {
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"human_action": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"propertyNames": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"additionalProperties": {}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
104
|
+
"additionalProperties": false
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"required": ["ok", "command", "error"],
|
|
108
|
+
"additionalProperties": false
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"title": "taggor workspaces update --json"
|
|
112
|
+
}
|
|
@@ -60,6 +60,22 @@
|
|
|
60
60
|
"type": "integer",
|
|
61
61
|
"minimum": -9007199254740991,
|
|
62
62
|
"maximum": 9007199254740991
|
|
63
|
+
},
|
|
64
|
+
"api_code": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"hint": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"docs_url": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"human_action": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"propertyNames": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"additionalProperties": {}
|
|
63
79
|
}
|
|
64
80
|
},
|
|
65
81
|
"required": ["code", "message", "request_id", "exit_code"],
|