taggor 0.5.0 → 0.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taggor",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "The taggor CLI: login, init, dev, publish, promote, rollback, sites, data and logs.",
5
5
  "keywords": [
6
6
  "taggor",
@@ -36,10 +36,11 @@
36
36
  "@taggor/api-client": "0.0.0",
37
37
  "@taggor/builder": "0.0.0",
38
38
  "@taggor/config": "0.0.0",
39
- "@taggor/contract": "0.5.0",
40
- "@taggor/runtime": "0.5.0",
41
- "@taggor/server": "0.5.0",
42
- "@taggor/component": "0.5.0",
39
+ "@taggor/contract": "0.6.0",
40
+ "@taggor/test-page": "0.0.0",
41
+ "@taggor/runtime": "0.6.0",
42
+ "@taggor/server": "0.6.0",
43
+ "@taggor/component": "0.6.0",
43
44
  "@types/node": "26.6.5",
44
45
  "ajv": "8.20.0",
45
46
  "citty": "0.2.2",
@@ -0,0 +1,136 @@
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": "metrics parameters"
14
+ },
15
+ "data": {
16
+ "type": "object",
17
+ "properties": {
18
+ "workspace_id": {
19
+ "type": "string"
20
+ },
21
+ "from": {
22
+ "type": "string"
23
+ },
24
+ "to": {
25
+ "type": "string"
26
+ },
27
+ "environment": {
28
+ "type": "string"
29
+ },
30
+ "as_of": {
31
+ "type": "string"
32
+ },
33
+ "available": {
34
+ "type": "boolean"
35
+ },
36
+ "reason": {
37
+ "type": ["string", "null"]
38
+ },
39
+ "truncated": {
40
+ "type": "boolean"
41
+ },
42
+ "parameters": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "object",
46
+ "properties": {
47
+ "event": {
48
+ "type": "string"
49
+ },
50
+ "parameter": {
51
+ "type": "string"
52
+ },
53
+ "total": {
54
+ "type": "number"
55
+ },
56
+ "values": {
57
+ "type": "array",
58
+ "items": {
59
+ "type": "object",
60
+ "properties": {
61
+ "value": {
62
+ "type": "string"
63
+ },
64
+ "events": {
65
+ "type": "number"
66
+ },
67
+ "other": {
68
+ "type": "boolean"
69
+ }
70
+ },
71
+ "required": ["value", "events", "other"],
72
+ "additionalProperties": false
73
+ }
74
+ }
75
+ },
76
+ "required": ["event", "parameter", "total", "values"],
77
+ "additionalProperties": false
78
+ }
79
+ }
80
+ },
81
+ "required": [
82
+ "workspace_id",
83
+ "from",
84
+ "to",
85
+ "environment",
86
+ "as_of",
87
+ "available",
88
+ "reason",
89
+ "truncated",
90
+ "parameters"
91
+ ],
92
+ "additionalProperties": false
93
+ }
94
+ },
95
+ "required": ["ok", "command", "data"],
96
+ "additionalProperties": false
97
+ },
98
+ {
99
+ "type": "object",
100
+ "properties": {
101
+ "ok": {
102
+ "type": "boolean",
103
+ "const": false
104
+ },
105
+ "command": {
106
+ "type": "string",
107
+ "const": "metrics parameters"
108
+ },
109
+ "error": {
110
+ "type": "object",
111
+ "properties": {
112
+ "code": {
113
+ "type": "string"
114
+ },
115
+ "message": {
116
+ "type": "string"
117
+ },
118
+ "request_id": {
119
+ "type": ["string", "null"]
120
+ },
121
+ "exit_code": {
122
+ "type": "integer",
123
+ "minimum": -9007199254740991,
124
+ "maximum": 9007199254740991
125
+ }
126
+ },
127
+ "required": ["code", "message", "request_id", "exit_code"],
128
+ "additionalProperties": false
129
+ }
130
+ },
131
+ "required": ["ok", "command", "error"],
132
+ "additionalProperties": false
133
+ }
134
+ ],
135
+ "title": "taggor metrics parameters --json"
136
+ }
@@ -51,10 +51,10 @@
51
51
  "type": "string"
52
52
  },
53
53
  "source": {
54
- "type": ["string", "null"]
54
+ "type": "string"
55
55
  },
56
56
  "trust": {
57
- "type": ["string", "null"]
57
+ "type": "string"
58
58
  },
59
59
  "available": {
60
60
  "type": "boolean"
@@ -112,9 +112,6 @@
112
112
  "overage": {
113
113
  "type": "object",
114
114
  "properties": {
115
- "mode": {
116
- "type": "string"
117
- },
118
115
  "enabled": {
119
116
  "type": "boolean"
120
117
  },
@@ -168,7 +165,6 @@
168
165
  }
169
166
  },
170
167
  "required": [
171
- "mode",
172
168
  "enabled",
173
169
  "spend_cap_usd_cents",
174
170
  "spend_cap_used_percent",