export-table-pulgin-csharp 1.0.4 → 1.0.5

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/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import { HandleSheetParams, PluginBase } from "windy-quicktable";
2
2
  export declare function export_stuff(paras: HandleSheetParams): string | null;
3
3
  export declare class ExportPlugin extends PluginBase {
4
+ name: string;
5
+ tags: string[];
4
6
  handleSheet(paras: HandleSheetParams): string | null;
5
7
  }
6
8
  export declare const ExportPlugins: ExportPlugin[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,iBAAiB,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGnG,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CA+JpE;AAED,qBAAa,YAAa,SAAQ,UAAU;IAC3C,WAAW,CAAC,KAAK,EAAE,iBAAiB;CAOpC;AAED,eAAO,MAAM,aAAa,gBAEzB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,iBAAiB,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGnG,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,MAAM,GAAG,IAAI,CA+JpE;AAED,qBAAa,YAAa,SAAQ,UAAU;IAC3C,IAAI,SAAW;IACf,IAAI,EAAE,MAAM,EAAE,CAAS;IAEvB,WAAW,CAAC,KAAK,EAAE,iBAAiB;CAOpC;AAED,eAAO,MAAM,aAAa,gBAEzB,CAAA"}
package/dist/index.js CHANGED
@@ -179,6 +179,11 @@ ${(0, windy_quicktable_1.foreach)(fields, f => ` public ${getFieldType(f.type)}
179
179
  }
180
180
  exports.export_stuff = export_stuff;
181
181
  class ExportPlugin extends windy_quicktable_1.PluginBase {
182
+ constructor() {
183
+ super(...arguments);
184
+ this.name = "csharp";
185
+ this.tags = ["cs"];
186
+ }
182
187
  handleSheet(paras) {
183
188
  let content = export_stuff(paras);
184
189
  if (content != null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "export-table-pulgin-csharp",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -163,6 +163,9 @@ ${foreach(fields, f =>
163
163
  }
164
164
 
165
165
  export class ExportPlugin extends PluginBase {
166
+ name = "csharp"
167
+ tags: string[] = ["cs"]
168
+
166
169
  handleSheet(paras: HandleSheetParams) {
167
170
  let content = export_stuff(paras)
168
171
  if (content != null) {