required-doc 0.0.6 → 0.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "required-doc",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "files": ["dist", "style.css", "types.d.ts"],
6
6
  "main": "./dist/index.js",
package/types.d.ts CHANGED
@@ -2,8 +2,15 @@ import type { App, Component } from 'vue'
2
2
 
3
3
  export type ItemKind = 'component' | 'page'
4
4
 
5
- export interface VersionEntry {
5
+ export interface ViewVariant {
6
+ id: string
7
+ label: string
6
8
  view: string | Component
9
+ }
10
+
11
+ export interface VersionEntry {
12
+ view?: string | Component
13
+ variants?: ViewVariant[]
7
14
  req: string
8
15
  }
9
16