@toa.io/norm 1.0.0-alpha.262 → 1.0.0-alpha.263

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-alpha.263](https://github.com/toa-io/toa/compare/v1.0.0-alpha.262...v1.0.0-alpha.263) (2026-08-29)
7
+
8
+ **Note:** Version bump only for package @toa.io/norm
9
+
10
+
11
+
12
+
13
+
6
14
  # [1.0.0-alpha.262](https://github.com/toa-io/toa/compare/v1.0.0-alpha.261...v1.0.0-alpha.262) (2026-08-28)
7
15
 
8
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/norm",
3
- "version": "1.0.0-alpha.262",
3
+ "version": "1.0.0-alpha.263",
4
4
  "description": "Toa declarations normalization and validation",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -22,8 +22,8 @@
22
22
  "dependencies": {
23
23
  "@toa.io/core": "1.0.0-alpha.262",
24
24
  "@toa.io/generic": "1.0.0-alpha.254",
25
- "@toa.io/schemas": "1.0.0-alpha.254",
25
+ "@toa.io/schemas": "1.0.0-alpha.263",
26
26
  "@toa.io/yaml": "1.0.0-alpha.254"
27
27
  },
28
- "gitHead": "e14059cf5cc364d933f2a4b3d7114f3b5ec0764f"
28
+ "gitHead": "165daa284bb7a75907a593fde359e3553b083417"
29
29
  }
@@ -62,6 +62,8 @@ properties:
62
62
  items:
63
63
  type: string
64
64
  pattern: ^([a-zA-Z]+([_a-zA-Z0-9]*[a-zA-Z0-9]+)?)(\.([a-zA-Z]+([_a-zA-Z0-9]*[a-zA-Z0-9]+)?))$
65
+ resources:
66
+ $ref: '#/definitions/resources'
65
67
  required: [name, components]
66
68
  mono:
67
69
  type: object
@@ -71,21 +73,7 @@ properties:
71
73
  type: integer
72
74
  minimum: 1
73
75
  resources:
74
- type: object
75
- additionalProperties: false
76
- properties:
77
- cpu:
78
- type: array
79
- items:
80
- type: string
81
- minItems: 2
82
- maxItems: 2
83
- memory:
84
- type: array
85
- items:
86
- type: string
87
- minItems: 2
88
- maxItems: 2
76
+ $ref: '#/definitions/resources'
89
77
  ingress:
90
78
  type: object
91
79
  additionalProperties: false
@@ -103,5 +91,28 @@ properties:
103
91
  type: boolean
104
92
  annotations:
105
93
  type: object
94
+ resources:
95
+ $ref: '#/definitions/resources'
106
96
  required: [runtime, name, registry]
107
97
  additionalProperties: false
98
+
99
+ definitions:
100
+ # What a deployment may take. `null` deploys it without any, which is a decision
101
+ # rather than an omission — every deployment has to make one.
102
+ resources:
103
+ type: object
104
+ nullable: true
105
+ additionalProperties: false
106
+ properties:
107
+ cpu:
108
+ type: array
109
+ items:
110
+ type: string
111
+ minItems: 2
112
+ maxItems: 2
113
+ memory:
114
+ type: array
115
+ items:
116
+ type: string
117
+ minItems: 2
118
+ maxItems: 2