@meshery/schemas 0.8.89 → 0.8.91
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/README.md +5 -7
- package/dist/index.d.mts +11537 -20298
- package/dist/index.d.ts +11537 -20298
- package/dist/index.js +30 -110
- package/dist/index.mjs +30 -110
- package/dist/mesheryApi.d.mts +362 -1130
- package/dist/mesheryApi.d.ts +362 -1130
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -125,7 +125,6 @@ schemas/
|
|
|
125
125
|
<schema-version>/ # e.g., v1beta1
|
|
126
126
|
<construct>/ # e.g., model, component
|
|
127
127
|
<construct>.json # Schema definition for the construct (noun)
|
|
128
|
-
subschemas/ # Reusable modular pieces
|
|
129
128
|
openapi.yml # API operations (verbs: create, update, delete)
|
|
130
129
|
<construct>_template.json # Generated JSON template from schema
|
|
131
130
|
<construct>_template.yaml # Generated YAML template from schema
|
|
@@ -134,12 +133,11 @@ schemas/
|
|
|
134
133
|
### 🧠 Explanation
|
|
135
134
|
|
|
136
135
|
* **`constructs/`** – Holds schemas for various versions.
|
|
137
|
-
* **`<schema-version>/`** – Represents a version (e.g., `v1alpha2`, `v1beta1`).
|
|
138
|
-
* **`<construct>/`** – A
|
|
139
|
-
* **`<construct>.json`** – Defines the **data model (noun)** for the construct.
|
|
140
|
-
* **`
|
|
141
|
-
*
|
|
142
|
-
* **Templates** – `*_template.json` and `*_template.yaml` are auto-generated examples with resolved references and defaults.
|
|
136
|
+
* **`<schema-version>/`** – Represents a version (e.g., `v1alpha2`, `v1beta1`).
|
|
137
|
+
* **`<construct>/`** – A directory to contain all files for any given construct like `pattern`, `component`, etc.
|
|
138
|
+
* **`<construct>.json`** – Defines the **data model (noun)** for the construct.
|
|
139
|
+
* **`openapi.yml`** – Contains a package manifest of all schema files with respect to any given construct (used by openapi generator) AND defines **API operations** (verbs).
|
|
140
|
+
* **Templates** – `*_template.json` and `*_template.yaml` are auto-generated examples with resolved references and defaults.
|
|
143
141
|
|
|
144
142
|
---
|
|
145
143
|
|