taggor 0.7.0 → 0.9.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 (49) hide show
  1. package/EXIT_CODES.md +11 -11
  2. package/dist/taggor.mjs +5208 -1842
  3. package/package.json +9 -5
  4. package/schemas/agent-install.json +16 -0
  5. package/schemas/attach.json +102 -6
  6. package/schemas/check.json +18 -2
  7. package/schemas/codegen.json +181 -0
  8. package/schemas/components-archive.json +92 -0
  9. package/schemas/components-list.json +127 -0
  10. package/schemas/components-restore.json +92 -0
  11. package/schemas/data-collections.json +20 -0
  12. package/schemas/data-export.json +16 -0
  13. package/schemas/detach.json +18 -2
  14. package/schemas/dev.json +16 -0
  15. package/schemas/init.json +16 -0
  16. package/schemas/login.json +16 -0
  17. package/schemas/logout.json +16 -0
  18. package/schemas/logs.json +16 -0
  19. package/schemas/metrics-parameters.json +16 -0
  20. package/schemas/metrics.json +16 -0
  21. package/schemas/pin.json +180 -0
  22. package/schemas/preview.json +16 -0
  23. package/schemas/projects-clean.json +16 -0
  24. package/schemas/projects-list.json +16 -0
  25. package/schemas/promote.json +146 -26
  26. package/schemas/publish.json +306 -29
  27. package/schemas/pull.json +16 -0
  28. package/schemas/rollback.json +146 -26
  29. package/schemas/sites-create.json +75 -20
  30. package/schemas/sites-delete.json +127 -0
  31. package/schemas/sites-disable.json +126 -0
  32. package/schemas/sites-domains-set.json +54 -7
  33. package/schemas/sites-enable.json +126 -0
  34. package/schemas/sites-list.json +43 -7
  35. package/schemas/sites-props-set.json +97 -3
  36. package/schemas/sites-protection-set.json +18 -2
  37. package/schemas/sites-server-keys-create.json +30 -5
  38. package/schemas/sites-server-keys-list.json +23 -3
  39. package/schemas/sites-server-keys-revoke.json +28 -3
  40. package/schemas/sites-show.json +281 -0
  41. package/schemas/sites-snippet.json +59 -6
  42. package/schemas/sites-update.json +130 -0
  43. package/schemas/unpin.json +184 -0
  44. package/schemas/usage.json +16 -0
  45. package/schemas/versions.json +16 -0
  46. package/schemas/whoami.json +16 -0
  47. package/schemas/workspaces-list.json +105 -0
  48. package/schemas/workspaces-update.json +112 -0
  49. package/schemas/workspaces-use.json +16 -0
@@ -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"],
@@ -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"],