@spiffcommerce/theme-bridge 1.1.0 → 1.2.0
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 +17 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -35,11 +35,12 @@ declare enum SpiffThemeFileType {
|
|
|
35
35
|
CSS = "CSS"
|
|
36
36
|
}
|
|
37
37
|
interface SpiffThemeLaunchData {
|
|
38
|
-
targetFiles:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
targetFiles: SpiffThemeLaunchDataTargetFile[];
|
|
39
|
+
}
|
|
40
|
+
interface SpiffThemeLaunchDataTargetFile {
|
|
41
|
+
filename: string;
|
|
42
|
+
type: SpiffThemeFileType;
|
|
43
|
+
mimeType: string;
|
|
43
44
|
}
|
|
44
45
|
declare enum SpiffThemeConfigurationFieldType {
|
|
45
46
|
SingleLineText = "SingleLineText",
|
|
@@ -67,10 +68,19 @@ interface SpiffThemeConfigurationSchemaField {
|
|
|
67
68
|
}[];
|
|
68
69
|
assetType?: string;
|
|
69
70
|
}
|
|
71
|
+
interface SpiffThemeVersion {
|
|
72
|
+
id: string;
|
|
73
|
+
version: string;
|
|
74
|
+
createdAt: string;
|
|
75
|
+
updatedAt: string;
|
|
76
|
+
configurationSchema: SpiffThemeConfigurationSchema;
|
|
77
|
+
launchData: SpiffThemeLaunchData;
|
|
78
|
+
}
|
|
70
79
|
interface SpiffThemeInstallConfiguration {
|
|
71
80
|
id: string;
|
|
72
|
-
name: string;
|
|
73
81
|
themeInstallId: string;
|
|
82
|
+
name: string;
|
|
83
|
+
themeVersion: SpiffThemeVersion;
|
|
74
84
|
createdAt: string;
|
|
75
85
|
updatedAt: string;
|
|
76
86
|
fields: SpiffThemeInstallConfigurationField[];
|
|
@@ -105,4 +115,4 @@ interface SpiffAsset {
|
|
|
105
115
|
type SpiffDevOptions = Omit<SpiffThemeContextTransaction, "container"> | Omit<SpiffThemeContextBundle, "container">;
|
|
106
116
|
declare function setSpiffDevOptions(container: HTMLElement | string, context: SpiffDevOptions): void;
|
|
107
117
|
|
|
108
|
-
export { type GetBundleOptions, type SpiffAsset, SpiffAssetType, type SpiffDevOptions, SpiffThemeConfigurationFieldType, type SpiffThemeConfigurationFile, type SpiffThemeConfigurationSchema, type SpiffThemeConfigurationSchemaField, type SpiffThemeContext, type SpiffThemeContextBundle, type SpiffThemeContextTransaction, SpiffThemeFileType, type SpiffThemeInstallConfiguration, type SpiffThemeInstallConfigurationField, type SpiffThemeLaunchData, type SpiffThemeLoader, setSpiffDevOptions };
|
|
118
|
+
export { type GetBundleOptions, type SpiffAsset, SpiffAssetType, type SpiffDevOptions, SpiffThemeConfigurationFieldType, type SpiffThemeConfigurationFile, type SpiffThemeConfigurationSchema, type SpiffThemeConfigurationSchemaField, type SpiffThemeContext, type SpiffThemeContextBundle, type SpiffThemeContextTransaction, SpiffThemeFileType, type SpiffThemeInstallConfiguration, type SpiffThemeInstallConfigurationField, type SpiffThemeLaunchData, type SpiffThemeLaunchDataTargetFile, type SpiffThemeLoader, type SpiffThemeVersion, setSpiffDevOptions };
|