taggor 0.0.0-stage → 0.2.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 +20 -0
- package/LICENSE +21 -0
- package/README.md +51 -2
- package/bin/taggor.js +8 -0
- package/dist/taggor.mjs +26340 -0
- package/package.json +66 -3
- package/schemas/agent-install.json +131 -0
- package/schemas/attach.json +109 -0
- package/schemas/check.json +200 -0
- package/schemas/data-collections.json +102 -0
- package/schemas/data-export.json +82 -0
- package/schemas/detach.json +80 -0
- package/schemas/dev.json +81 -0
- package/schemas/init.json +139 -0
- package/schemas/login.json +100 -0
- package/schemas/logout.json +73 -0
- package/schemas/logs.json +133 -0
- package/schemas/metrics.json +218 -0
- package/schemas/projects-clean.json +106 -0
- package/schemas/projects-list.json +102 -0
- package/schemas/promote.json +182 -0
- package/schemas/publish.json +426 -0
- package/schemas/pull.json +120 -0
- package/schemas/rollback.json +182 -0
- package/schemas/sites-create.json +128 -0
- package/schemas/sites-domains-set.json +80 -0
- package/schemas/sites-list.json +96 -0
- package/schemas/sites-props-set.json +95 -0
- package/schemas/sites-protection-set.json +79 -0
- package/schemas/sites-server-keys-create.json +102 -0
- package/schemas/sites-server-keys-list.json +92 -0
- package/schemas/sites-server-keys-revoke.json +106 -0
- package/schemas/sites-snippet.json +76 -0
- package/schemas/usage.json +227 -0
- package/schemas/versions.json +125 -0
- package/schemas/whoami.json +121 -0
- package/schemas/workspaces-use.json +74 -0
|
@@ -0,0 +1,125 @@
|
|
|
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": "versions"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"component_id": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"tag": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"channels": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"name": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"enum": ["staging", "production"]
|
|
32
|
+
},
|
|
33
|
+
"version_id": {
|
|
34
|
+
"type": ["string", "null"]
|
|
35
|
+
},
|
|
36
|
+
"semver": {
|
|
37
|
+
"type": ["string", "null"]
|
|
38
|
+
},
|
|
39
|
+
"updated_at": {
|
|
40
|
+
"type": ["string", "null"]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": ["name", "version_id", "semver", "updated_at"],
|
|
44
|
+
"additionalProperties": false
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"versions": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"id": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"semver": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"created_at": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"message": {
|
|
62
|
+
"type": ["string", "null"]
|
|
63
|
+
},
|
|
64
|
+
"breaking": {
|
|
65
|
+
"type": "boolean"
|
|
66
|
+
},
|
|
67
|
+
"channels": {
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"enum": ["staging", "production"]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": ["id", "semver", "created_at", "message", "breaking", "channels"],
|
|
76
|
+
"additionalProperties": false
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": ["component_id", "tag", "channels", "versions"],
|
|
81
|
+
"additionalProperties": false
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"required": ["ok", "command", "data"],
|
|
85
|
+
"additionalProperties": false
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "object",
|
|
89
|
+
"properties": {
|
|
90
|
+
"ok": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"const": false
|
|
93
|
+
},
|
|
94
|
+
"command": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"const": "versions"
|
|
97
|
+
},
|
|
98
|
+
"error": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"code": {
|
|
102
|
+
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
"message": {
|
|
105
|
+
"type": "string"
|
|
106
|
+
},
|
|
107
|
+
"request_id": {
|
|
108
|
+
"type": ["string", "null"]
|
|
109
|
+
},
|
|
110
|
+
"exit_code": {
|
|
111
|
+
"type": "integer",
|
|
112
|
+
"minimum": -9007199254740991,
|
|
113
|
+
"maximum": 9007199254740991
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
117
|
+
"additionalProperties": false
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": ["ok", "command", "error"],
|
|
121
|
+
"additionalProperties": false
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"title": "taggor versions --json"
|
|
125
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
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": "whoami"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"api_url": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"credential": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": ["api_key", "token"]
|
|
24
|
+
},
|
|
25
|
+
"workspace": {
|
|
26
|
+
"type": ["string", "null"]
|
|
27
|
+
},
|
|
28
|
+
"workspace_source": {
|
|
29
|
+
"type": ["string", "null"]
|
|
30
|
+
},
|
|
31
|
+
"role": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"scopes": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"user": {
|
|
41
|
+
"anyOf": [
|
|
42
|
+
{
|
|
43
|
+
"type": "object",
|
|
44
|
+
"properties": {
|
|
45
|
+
"id": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"name": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"email": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": ["id", "name", "email"],
|
|
56
|
+
"additionalProperties": false
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "null"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"workspace_name": {
|
|
64
|
+
"type": ["string", "null"]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": [
|
|
68
|
+
"api_url",
|
|
69
|
+
"credential",
|
|
70
|
+
"workspace",
|
|
71
|
+
"workspace_source",
|
|
72
|
+
"role",
|
|
73
|
+
"scopes",
|
|
74
|
+
"user",
|
|
75
|
+
"workspace_name"
|
|
76
|
+
],
|
|
77
|
+
"additionalProperties": false
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": ["ok", "command", "data"],
|
|
81
|
+
"additionalProperties": false
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": "object",
|
|
85
|
+
"properties": {
|
|
86
|
+
"ok": {
|
|
87
|
+
"type": "boolean",
|
|
88
|
+
"const": false
|
|
89
|
+
},
|
|
90
|
+
"command": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"const": "whoami"
|
|
93
|
+
},
|
|
94
|
+
"error": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"code": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"message": {
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"request_id": {
|
|
104
|
+
"type": ["string", "null"]
|
|
105
|
+
},
|
|
106
|
+
"exit_code": {
|
|
107
|
+
"type": "integer",
|
|
108
|
+
"minimum": -9007199254740991,
|
|
109
|
+
"maximum": 9007199254740991
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
113
|
+
"additionalProperties": false
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": ["ok", "command", "error"],
|
|
117
|
+
"additionalProperties": false
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"title": "taggor whoami --json"
|
|
121
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 use"
|
|
14
|
+
},
|
|
15
|
+
"data": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"workspace": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"scope": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": ["global", "project"]
|
|
24
|
+
},
|
|
25
|
+
"path": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"required": ["workspace", "scope", "path"],
|
|
30
|
+
"additionalProperties": false
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": ["ok", "command", "data"],
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"ok": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"const": false
|
|
42
|
+
},
|
|
43
|
+
"command": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"const": "workspaces use"
|
|
46
|
+
},
|
|
47
|
+
"error": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"code": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
"message": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"request_id": {
|
|
57
|
+
"type": ["string", "null"]
|
|
58
|
+
},
|
|
59
|
+
"exit_code": {
|
|
60
|
+
"type": "integer",
|
|
61
|
+
"minimum": -9007199254740991,
|
|
62
|
+
"maximum": 9007199254740991
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": ["code", "message", "request_id", "exit_code"],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"required": ["ok", "command", "error"],
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"title": "taggor workspaces use --json"
|
|
74
|
+
}
|