@postxl/generator 0.9.1 → 0.9.2

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.
@@ -99,7 +99,7 @@ export class ${meta.data.repositoryClassName} implements Repository<
99
99
 
100
100
  for (const rawItem of data) {
101
101
  const item = this.${decoder}(rawItem)
102
- this.data.set(item.id, item)
102
+ this.set(item)
103
103
 
104
104
  ${model.defaultField ? defaultValueInitFn : ''}
105
105
  ${uniqueStringFields.map((f) => `this.uniqueIds.${f.name}.set(item.${f.name}, item)`).join('\n')}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postxl/generator",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "main": "./dist/generator.js",
5
5
  "typings": "./dist/generator.d.ts",
6
6
  "bin": {