zitejs 0.9.146 → 0.9.147

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.
@@ -116,11 +116,11 @@ export type ZiteDatabaseTriggerInput<TRecord extends Record<string, unknown> = R
116
116
  event: ZiteDatabaseTriggerEvent;
117
117
  table: string;
118
118
  recordId: string;
119
- /** Null if it was deleted before the run read it; on `"deleted"`, the record as it was. */
119
+ /** Null on `"deleted"`, which leaves only `recordId`, and if it was deleted before the run read it. */
120
120
  record: TRecord | null;
121
121
  /** The record before an `"updated"`; null otherwise, and on a very large bulk write. */
122
122
  previous: TRecord | null;
123
- /** What an `"updated"` changed. */
123
+ /** What an `"updated"` changed; on a very large bulk write, what the write changed across its records. */
124
124
  changedFields: string[];
125
125
  };
126
126
  /**
@@ -116,11 +116,11 @@ export type ZiteDatabaseTriggerInput<TRecord extends Record<string, unknown> = R
116
116
  event: ZiteDatabaseTriggerEvent;
117
117
  table: string;
118
118
  recordId: string;
119
- /** Null if it was deleted before the run read it; on `"deleted"`, the record as it was. */
119
+ /** Null on `"deleted"`, which leaves only `recordId`, and if it was deleted before the run read it. */
120
120
  record: TRecord | null;
121
121
  /** The record before an `"updated"`; null otherwise, and on a very large bulk write. */
122
122
  previous: TRecord | null;
123
- /** What an `"updated"` changed. */
123
+ /** What an `"updated"` changed; on a very large bulk write, what the write changed across its records. */
124
124
  changedFields: string[];
125
125
  };
126
126
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zitejs",
3
- "version": "0.9.146",
3
+ "version": "0.9.147",
4
4
  "description": "The Zite framework — build apps on Zite Database",
5
5
  "type": "module",
6
6
  "sideEffects": false,