rimelight-components 2.0.51 → 2.0.53
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/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { basename } from 'node:path';
|
|
|
5
5
|
export * from '../dist/runtime/types/index.js';
|
|
6
6
|
|
|
7
7
|
const name = "rimelight-components";
|
|
8
|
-
const version = "2.0.
|
|
8
|
+
const version = "2.0.53";
|
|
9
9
|
const homepage = "https://rimelight.com/tools/rimelight-components";
|
|
10
10
|
|
|
11
11
|
const defaultOptions = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Image } from "../types/schemas.js";
|
|
2
2
|
import { type Block } from "./blocks.js";
|
|
3
|
-
export type PageType = "Default" | "Location" | "Species" | "Character" | "Object" | "Tale" | "Item" | "Skill" | "Hero" | "Card" | "Series" | "Episode";
|
|
3
|
+
export type PageType = "Default" | "Document" | "BlogPost" | "PatchNote" | "Location" | "Species" | "Character" | "Object" | "Tale" | "Item" | "Skill" | "Hero" | "Card" | "Series" | "Episode";
|
|
4
4
|
export interface Property {
|
|
5
5
|
label: string;
|
|
6
6
|
type: "number" | "text" | "text-array" | "enum" | "page" | "page-array";
|
|
@@ -17,6 +17,12 @@ export interface PropertyGroup {
|
|
|
17
17
|
}
|
|
18
18
|
export interface BasePageProperties {
|
|
19
19
|
}
|
|
20
|
+
export interface DocumentProperties extends BasePageProperties {
|
|
21
|
+
}
|
|
22
|
+
export interface BlogPostProperties extends BasePageProperties {
|
|
23
|
+
}
|
|
24
|
+
export interface PatchNoteProperties extends BasePageProperties {
|
|
25
|
+
}
|
|
20
26
|
export interface LocationProperties extends BasePageProperties {
|
|
21
27
|
}
|
|
22
28
|
export interface SpeciesProperties extends BasePageProperties {
|
|
@@ -83,6 +89,15 @@ interface BasePage {
|
|
|
83
89
|
export type Page = {
|
|
84
90
|
type: "Default";
|
|
85
91
|
properties: BasePageProperties;
|
|
92
|
+
} & BasePage | {
|
|
93
|
+
type: "Document";
|
|
94
|
+
properties: DocumentProperties;
|
|
95
|
+
} & BasePage | {
|
|
96
|
+
type: "BlogPost";
|
|
97
|
+
properties: BlogPostProperties;
|
|
98
|
+
} & BasePage | {
|
|
99
|
+
type: "PatchNote";
|
|
100
|
+
properties: PatchNoteProperties;
|
|
86
101
|
} & BasePage | {
|
|
87
102
|
type: "Character";
|
|
88
103
|
properties: CharacterProperties;
|