current-cli 0.1.20__tar.gz → 0.1.21__tar.gz

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.
@@ -21,3 +21,6 @@ uv.lock
21
21
  # Node
22
22
  node_modules/
23
23
  dist/
24
+
25
+ # Storybook build output
26
+ storybook-static/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: current-cli
3
- Version: 0.1.20
3
+ Version: 0.1.21
4
4
  Summary: Command line interface for the Current API, generated from its OpenAPI schema at runtime
5
5
  Author-email: Orin <your-email@example.com>
6
6
  License-Expression: MIT
@@ -1568,7 +1568,13 @@ paths:
1568
1568
  description: |-
1569
1569
  Upsert a rendered workflow definition into a workspace and seed its
1570
1570
  record types (from the definition's ``emits[]`` plus the built-ins).
1571
- Existing workspace schemas are never overwritten.
1571
+
1572
+ A definition owns the schemas of the types it declares, so re-applying
1573
+ updates them: the schema lives in the workflow repo and evolves with
1574
+ the steps that stage the records, and a workspace pinned to the schema
1575
+ of the *first* apply 422s every staged record the moment the two
1576
+ drift (a renamed required property is enough). Built-in types and
1577
+ emits that carry no schema never overwrite anything.
1572
1578
  tags:
1573
1579
  - workflows
1574
1580
  requestBody:
@@ -535,7 +535,13 @@ Options:
535
535
 
536
536
  Upsert a rendered workflow definition into a workspace and seed its
537
537
  record types (from the definition's ``emits[]`` plus the built-ins).
538
- Existing workspace schemas are never overwritten.
538
+
539
+ A definition owns the schemas of the types it declares, so re-applying
540
+ updates them: the schema lives in the workflow repo and evolves with
541
+ the steps that stage the records, and a workspace pinned to the schema
542
+ of the *first* apply 422s every staged record the moment the two
543
+ drift (a renamed required property is enough). Built-in types and
544
+ emits that carry no schema never overwrite anything.
539
545
 
540
546
  POST /api/workflows/definitions/apply/
541
547
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.20"
3
+ version = "0.1.21"
4
4
  description = "Command line interface for the Current API, generated from its OpenAPI schema at runtime"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes