@stately-cloud/schema
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -60,3 +60,2 @@ import { Field } from "./fields.js"; | ||
* One or more key paths that determine where the item is stored in the database. | ||
* The item type is derived from the first key path. | ||
*/ | ||
@@ -69,7 +68,2 @@ keyPath: Plural<PathTemplate>; | ||
/** | ||
* Whether or not to automatically include metadata fields on this item type. | ||
* If true, the metadata fields won't be automatically included, and you will | ||
* have to map them in yourself using `fromMetadata` on each field. | ||
*/ | ||
/** | ||
* An optional TTL for the item, which will cause it to be automatically | ||
@@ -76,0 +70,0 @@ * deleted after some time. |
{ | ||
"name": "@stately-cloud/schema", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"author": "Stately Cloud <support@stately.cloud> (https://stately.cloud/)", | ||
@@ -5,0 +5,0 @@ "description": "Schema language for StatelyDB", |
@@ -11,3 +11,3 @@ # StatelyDB Schema Language | ||
4. Run `stately schema validate index.ts` to check your schema. | ||
5. Run `stately schema put --store-id 12345 index.ts` to upload the schema to your store. | ||
5. Run `stately schema put --schema-id 12345 --message "an update message" index.ts` to upload the schema to your store. | ||
6. Run `stately schema generate --language typescript index.ts --out <output-dir>` to generate typed models for your schema. |
Sorry, the diff of this file is not supported yet
229314
2670