@vaadin/hilla-generator-plugin-transfertypes 24.7.10 → 24.7.13

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.
Files changed (2) hide show
  1. package/index.js.map +1 -1
  2. package/package.json +6 -6
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":"AAAA,OAAO,oDAAqD;AAG5D,OAAO,oBAAqB;AAE5B,eAAe,MAAM,4BAA4B,OAAO;CACtD,IAAa,OAAe;AAC1B,SAAO,OAAO,KAAK;CACpB;CAED,AAAS,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,eAA8B,EAAQ;AAC5E,gBAAc,IAAI,+CAA+C,MAAM,GAAG,QAAQ,wBAAwB,OAAO,CAAC;AAElH,MAAI,YAAY,SAAS;AACvB,GAAC,WAA2C,UAAU,OAAO,YAC3D,OAAO,QAAQ,WAAW,QAAQ,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,QAAQ,8CAA8C,CAC5G;EACF;CACF;AACF","names":[],"sources":["/opt/agent/work/1af72d8adc613024/hilla/packages/ts/generator-plugin-transfertypes/src/index.ts"],"sourcesContent":["import Plugin from '@vaadin/hilla-generator-core/Plugin.js';\nimport type { SharedStorage } from '@vaadin/hilla-generator-core/SharedStorage.js';\nimport type { Writable } from 'type-fest';\nimport ts from 'typescript';\n\nexport default class TransferTypesPlugin extends Plugin {\n override get path(): string {\n return import.meta.url;\n }\n\n override execute({ api: { components }, transferTypes }: SharedStorage): void {\n transferTypes.set('com.vaadin.hilla.runtime.transfertypes.File', () => ts.factory.createTypeReferenceNode('File'));\n\n if (components?.schemas) {\n (components as Writable<typeof components>).schemas = Object.fromEntries(\n Object.entries(components.schemas).filter(([key]) => key !== 'com.vaadin.hilla.runtime.transfertypes.File'),\n );\n }\n }\n}\n"],"version":3}
1
+ {"mappings":"AAAA,OAAO,oDAAqD;AAE5D,OAAO,oBAAqB;AAE5B,eAAe,MAAM,4BAA4B,OAAO;CACtD,IAAa,OAAe;AAC1B,SAAO,OAAO,KAAK;CACpB;CAED,AAAS,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,eAA8B,EAAQ;AAC5E,gBAAc,IAAI,+CAA+C,MAAM,GAAG,QAAQ,wBAAwB,OAAO,CAAC;AAElH,MAAI,YAAY,SAAS;AACvB,cAAW,UAAU,OAAO,YAC1B,OAAO,QAAQ,WAAW,QAAQ,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,QAAQ,8CAA8C,CAC5G;EACF;CACF;AACF","names":[],"sources":["/opt/agent/work/649c11185a3798db/packages/ts/generator-plugin-transfertypes/src/index.ts"],"sourcesContent":["import Plugin from '@vaadin/hilla-generator-core/Plugin.js';\nimport type { SharedStorage } from '@vaadin/hilla-generator-core/SharedStorage.js';\nimport ts from 'typescript';\n\nexport default class TransferTypesPlugin extends Plugin {\n override get path(): string {\n return import.meta.url;\n }\n\n override execute({ api: { components }, transferTypes }: SharedStorage): void {\n transferTypes.set('com.vaadin.hilla.runtime.transfertypes.File', () => ts.factory.createTypeReferenceNode('File'));\n\n if (components?.schemas) {\n components.schemas = Object.fromEntries(\n Object.entries(components.schemas).filter(([key]) => key !== 'com.vaadin.hilla.runtime.transfertypes.File'),\n );\n }\n }\n}\n"],"version":3}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/hilla-generator-plugin-transfertypes",
3
- "version": "24.7.10",
3
+ "version": "24.7.13",
4
4
  "description": "A plugin to replace types in the generated code",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -49,12 +49,12 @@
49
49
  "access": "public"
50
50
  },
51
51
  "dependencies": {
52
- "@vaadin/hilla-generator-core": "24.7.10",
53
- "@vaadin/hilla-generator-plugin-client": "24.7.10",
54
- "@vaadin/hilla-generator-plugin-model": "24.7.10",
55
- "@vaadin/hilla-generator-utils": "24.7.10",
52
+ "@vaadin/hilla-generator-core": "24.7.13",
53
+ "@vaadin/hilla-generator-plugin-client": "24.7.13",
54
+ "@vaadin/hilla-generator-plugin-model": "24.7.13",
55
+ "@vaadin/hilla-generator-utils": "24.7.13",
56
56
  "fast-deep-equal": "3.1.3",
57
57
  "openapi-types": "12.1.3",
58
- "typescript": "5.7.3"
58
+ "typescript": "5.9.3"
59
59
  }
60
60
  }