@lunnoa/client 1.3.0 → 1.4.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/dist/react.cjs CHANGED
@@ -1065,7 +1065,7 @@ var EntityTypesResource = class {
1065
1065
  }
1066
1066
  http;
1067
1067
  /**
1068
- * Lists entity types in the workspace. Request
1068
+ * Lists entity types granted to the API key's workspace. Request
1069
1069
  * `expansion: ['attributeSchema', 'stateSchema']` for the field and state
1070
1070
  * machine definitions the codegen CLI builds types from.
1071
1071
  */
@@ -1090,7 +1090,9 @@ var EntityTypesResource = class {
1090
1090
  });
1091
1091
  }
1092
1092
  /**
1093
- * Creates or updates an entity type by workspace-scoped slug.
1093
+ * Creates or updates an entity type by deployment-wide slug.
1094
+ * A new slug is granted to the API key's workspace. A slug already shared
1095
+ * with another workspace is rejected unless the key belongs to a platform admin.
1094
1096
  * Prefer the CLI (`npx @lunnoa/client entity-types deploy`) for happy-path deploy.
1095
1097
  */
1096
1098
  upsertBySlug(definition) {