@vaadin/hilla-generator-plugin-transfertypes 24.7.14 → 24.7.15
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/index.js.map +1 -1
- package/package.json +6 -6
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"AAAA,OAAO,oDAAqD;
|
|
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.
|
|
3
|
+
"version": "24.7.15",
|
|
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.
|
|
53
|
-
"@vaadin/hilla-generator-plugin-client": "24.7.
|
|
54
|
-
"@vaadin/hilla-generator-plugin-model": "24.7.
|
|
55
|
-
"@vaadin/hilla-generator-utils": "24.7.
|
|
52
|
+
"@vaadin/hilla-generator-core": "24.7.15",
|
|
53
|
+
"@vaadin/hilla-generator-plugin-client": "24.7.15",
|
|
54
|
+
"@vaadin/hilla-generator-plugin-model": "24.7.15",
|
|
55
|
+
"@vaadin/hilla-generator-utils": "24.7.15",
|
|
56
56
|
"fast-deep-equal": "3.1.3",
|
|
57
57
|
"openapi-types": "12.1.3",
|
|
58
|
-
"typescript": "5.
|
|
58
|
+
"typescript": "5.9.3"
|
|
59
59
|
}
|
|
60
60
|
}
|