@dudousxd/nestjs-catalog 0.15.0 → 0.16.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/catalog.events.d.ts +14 -0
- package/dist/catalog.pipeline.d.ts +1124 -75
- package/dist/catalog.pipeline.js +1150 -14
- package/dist/catalog.stage-encoding.d.ts +185 -0
- package/dist/catalog.stage-encoding.js +314 -0
- package/dist/client.d.ts +14 -4
- package/dist/client.js +85 -12
- package/dist/index.d.ts +2 -1
- package/dist/index.js +48 -3
- package/dist/transform-runner.d.ts +19 -1
- package/dist/transform-runner.js +63 -7
- package/package.json +6 -6
- package/LICENSE +0 -21
package/dist/catalog.events.d.ts
CHANGED
|
@@ -85,6 +85,20 @@ export interface CatalogEventPayloads {
|
|
|
85
85
|
typeName: string;
|
|
86
86
|
table: string;
|
|
87
87
|
addedColumns: string[];
|
|
88
|
+
/**
|
|
89
|
+
* Indexes this DDL added, when it added any.
|
|
90
|
+
*
|
|
91
|
+
* Optional and separate from {@link addedColumns} rather than folded into
|
|
92
|
+
* it, because the two are different facts about a table and only one of them
|
|
93
|
+
* changes what can be stored in it. An operator reading the trail for "when
|
|
94
|
+
* did this column appear" must not have an index name come back.
|
|
95
|
+
*
|
|
96
|
+
* A store that evolves an index on an existing table emits this with no
|
|
97
|
+
* columns added, which is a real event and not an empty one — see
|
|
98
|
+
* `ensureSnapshotBatchIndex` in the MikroORM store, where a table that
|
|
99
|
+
* predates the index acquires it on the next load.
|
|
100
|
+
*/
|
|
101
|
+
addedIndexes?: string[];
|
|
88
102
|
created: boolean;
|
|
89
103
|
};
|
|
90
104
|
/** A batch landed. Fires per batch, so a large load emits many. */
|