buildx-cli 1.0.11 → 1.0.12

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 CHANGED
@@ -170,6 +170,11 @@ Writes:
170
170
  - `collections.json` (unless `--skip-collections-code`)
171
171
  - `collections.manifest.json`
172
172
 
173
+ System-managed fields:
174
+ - `createdAt`, `updatedAt`, `createdBy`, `updatedBy` are ensured in pulled `types.ts`
175
+ - injected type mapping: `createdAt/updatedAt => BxDateTime`, `createdBy/updatedBy => BxAuth`
176
+ - these fields are excluded from collections sync payloads (won't be pushed back)
177
+
173
178
  Key options:
174
179
  - `-p, --project-id <id>`: project to sync from
175
180
  - `-t, --target-dir <path>`: base output directory (recommended)
@@ -200,6 +205,7 @@ Behavior:
200
205
  - validates minimum shape (`collection_id`, `form_schema`)
201
206
  - compares local checksum vs remote checksum
202
207
  - skips remote-drift conflicts unless `--force`
208
+ - excludes system-managed fields (`createdAt`, `updatedAt`, `createdBy`, `updatedBy`) from push
203
209
 
204
210
  Key options:
205
211
  - `-p, --project-id <id>`
@@ -218,7 +224,7 @@ Converts a local `types.ts` file into collections JSON first, so you can review
218
224
 
219
225
  Reads:
220
226
  - `types.ts` (or `--types-file`)
221
- - base `collections.json` to preserve metadata (required by default)
227
+ - optional base `collections.json` to preserve metadata (used when present)
222
228
 
223
229
  Writes:
224
230
  - `collections.json` (or `--collections-file`)
@@ -239,6 +245,9 @@ Field annotations (JSDoc in `types.ts`) are supported:
239
245
  - `@bx.ref <collection_id_or_enum_key>`
240
246
  - `@bx.choices value1:Label 1|value2:Label 2` (for `Choices`/`MultipleChoices`)
241
247
 
248
+ System-managed fields:
249
+ - `createdAt`, `updatedAt`, `createdBy`, `updatedBy` in `types.ts` are ignored by convert output and never synced back
250
+
242
251
  Example:
243
252
  ```ts
244
253
  export type Employees = {
package/dist/README.md CHANGED
@@ -170,6 +170,11 @@ Writes:
170
170
  - `collections.json` (unless `--skip-collections-code`)
171
171
  - `collections.manifest.json`
172
172
 
173
+ System-managed fields:
174
+ - `createdAt`, `updatedAt`, `createdBy`, `updatedBy` are ensured in pulled `types.ts`
175
+ - injected type mapping: `createdAt/updatedAt => BxDateTime`, `createdBy/updatedBy => BxAuth`
176
+ - these fields are excluded from collections sync payloads (won't be pushed back)
177
+
173
178
  Key options:
174
179
  - `-p, --project-id <id>`: project to sync from
175
180
  - `-t, --target-dir <path>`: base output directory (recommended)
@@ -200,6 +205,7 @@ Behavior:
200
205
  - validates minimum shape (`collection_id`, `form_schema`)
201
206
  - compares local checksum vs remote checksum
202
207
  - skips remote-drift conflicts unless `--force`
208
+ - excludes system-managed fields (`createdAt`, `updatedAt`, `createdBy`, `updatedBy`) from push
203
209
 
204
210
  Key options:
205
211
  - `-p, --project-id <id>`
@@ -218,7 +224,7 @@ Converts a local `types.ts` file into collections JSON first, so you can review
218
224
 
219
225
  Reads:
220
226
  - `types.ts` (or `--types-file`)
221
- - base `collections.json` to preserve metadata (required by default)
227
+ - optional base `collections.json` to preserve metadata (used when present)
222
228
 
223
229
  Writes:
224
230
  - `collections.json` (or `--collections-file`)
@@ -239,6 +245,9 @@ Field annotations (JSDoc in `types.ts`) are supported:
239
245
  - `@bx.ref <collection_id_or_enum_key>`
240
246
  - `@bx.choices value1:Label 1|value2:Label 2` (for `Choices`/`MultipleChoices`)
241
247
 
248
+ System-managed fields:
249
+ - `createdAt`, `updatedAt`, `createdBy`, `updatedBy` in `types.ts` are ignored by convert output and never synced back
250
+
242
251
  Example:
243
252
  ```ts
244
253
  export type Employees = {