Skip to content

Commit a104bd4

Browse files
committed
Added bundlerType to VisWidget
1 parent a1cfe99 commit a104bd4

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

packages/types-dev/objects.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,8 @@ declare global {
508508
name: string;
509509
url: string;
510510
components: string[];
511+
/** If the widget was written with TypeScript */
512+
bundlerType?: 'module';
511513
/** The vis widget does not support the listed major versions of vis */
512514
ignoreInVersions: number[];
513515
}

schemas/io-package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,6 +1538,13 @@
15381538
"type": "string"
15391539
}
15401540
},
1541+
"bundlerType": {
1542+
"description": "Bundler type of the widget set. Currently only 'module' is supported, if the widget was written with TypeScript. If the widget was written with JavaScript, let it empty.",
1543+
"type": "string",
1544+
"enum": [
1545+
"module"
1546+
]
1547+
},
15411548
"ignoreInVersions": {
15421549
"description": "The vis widget does not support the listed major versions of vis",
15431550
"type": "array",

0 commit comments

Comments
 (0)