taggor 0.7.0 → 0.8.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 +11 -11
- package/dist/taggor.mjs +1589 -801
- package/package.json +5 -5
- package/schemas/attach.json +86 -6
- package/schemas/detach.json +2 -2
- package/schemas/pin.json +164 -0
- package/schemas/promote.json +130 -26
- package/schemas/publish.json +274 -13
- package/schemas/rollback.json +130 -26
- package/schemas/sites-create.json +53 -14
- package/schemas/sites-domains-set.json +38 -7
- package/schemas/sites-list.json +27 -7
- package/schemas/sites-props-set.json +81 -3
- package/schemas/sites-protection-set.json +2 -2
- package/schemas/sites-server-keys-create.json +9 -0
- package/schemas/sites-server-keys-list.json +7 -3
- package/schemas/sites-server-keys-revoke.json +9 -0
- package/schemas/sites-show.json +265 -0
- package/schemas/sites-snippet.json +43 -6
- package/schemas/unpin.json +168 -0
|
@@ -0,0 +1,168 @@
|
|
|
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": "unpin"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"site_id": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"site_name": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"environment": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"enum": ["production", "staging"]
|
|
27
|
+
},
|
|
28
|
+
"component_id": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"tag": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"production": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"served_version_id": {
|
|
38
|
+
"type": ["string", "null"]
|
|
39
|
+
},
|
|
40
|
+
"served_semver": {
|
|
41
|
+
"type": ["string", "null"]
|
|
42
|
+
},
|
|
43
|
+
"source": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"enum": [
|
|
46
|
+
"pinned_version",
|
|
47
|
+
"production_channel",
|
|
48
|
+
"staging_channel",
|
|
49
|
+
"fallback_to_production_channel",
|
|
50
|
+
"none"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"pinned_version_id": {
|
|
54
|
+
"type": ["string", "null"]
|
|
55
|
+
},
|
|
56
|
+
"suspended_props": {
|
|
57
|
+
"type": "array",
|
|
58
|
+
"items": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"required": [
|
|
64
|
+
"served_version_id",
|
|
65
|
+
"served_semver",
|
|
66
|
+
"source",
|
|
67
|
+
"pinned_version_id",
|
|
68
|
+
"suspended_props"
|
|
69
|
+
],
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
},
|
|
72
|
+
"staging": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {
|
|
75
|
+
"served_version_id": {
|
|
76
|
+
"type": ["string", "null"]
|
|
77
|
+
},
|
|
78
|
+
"served_semver": {
|
|
79
|
+
"type": ["string", "null"]
|
|
80
|
+
},
|
|
81
|
+
"source": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"enum": [
|
|
84
|
+
"pinned_version",
|
|
85
|
+
"production_channel",
|
|
86
|
+
"staging_channel",
|
|
87
|
+
"fallback_to_production_channel",
|
|
88
|
+
"none"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"pinned_version_id": {
|
|
92
|
+
"type": ["string", "null"]
|
|
93
|
+
},
|
|
94
|
+
"suspended_props": {
|
|
95
|
+
"type": "array",
|
|
96
|
+
"items": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"required": [
|
|
102
|
+
"served_version_id",
|
|
103
|
+
"served_semver",
|
|
104
|
+
"source",
|
|
105
|
+
"pinned_version_id",
|
|
106
|
+
"suspended_props"
|
|
107
|
+
],
|
|
108
|
+
"additionalProperties": false
|
|
109
|
+
},
|
|
110
|
+
"was_pinned": {
|
|
111
|
+
"type": "boolean"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"required": [
|
|
115
|
+
"site_id",
|
|
116
|
+
"site_name",
|
|
117
|
+
"environment",
|
|
118
|
+
"component_id",
|
|
119
|
+
"tag",
|
|
120
|
+
"production",
|
|
121
|
+
"staging",
|
|
122
|
+
"was_pinned"
|
|
123
|
+
],
|
|
124
|
+
"additionalProperties": false
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"required": ["ok", "command", "data"],
|
|
128
|
+
"additionalProperties": false
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "object",
|
|
132
|
+
"properties": {
|
|
133
|
+
"ok": {
|
|
134
|
+
"type": "boolean",
|
|
135
|
+
"const": false
|
|
136
|
+
},
|
|
137
|
+
"command": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"const": "unpin"
|
|
140
|
+
},
|
|
141
|
+
"error": {
|
|
142
|
+
"type": "object",
|
|
143
|
+
"properties": {
|
|
144
|
+
"code": {
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"message": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
},
|
|
150
|
+
"request_id": {
|
|
151
|
+
"type": ["string", "null"]
|
|
152
|
+
},
|
|
153
|
+
"exit_code": {
|
|
154
|
+
"type": "integer",
|
|
155
|
+
"minimum": -9007199254740991,
|
|
156
|
+
"maximum": 9007199254740991
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
160
|
+
"additionalProperties": false
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": ["ok", "command", "error"],
|
|
164
|
+
"additionalProperties": false
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"title": "taggor unpin --json"
|
|
168
|
+
}
|