@spiffcommerce/theme-bridge 1.2.0 → 1.3.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 +11 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,13 +27,21 @@ type SpiffThemeLoader = {
|
|
|
27
27
|
setContext(context: SpiffThemeContext): void;
|
|
28
28
|
};
|
|
29
29
|
interface SpiffThemeConfigurationFile {
|
|
30
|
-
launchData:
|
|
30
|
+
launchData: SpiffThemeConfigurationLaunchData;
|
|
31
31
|
configurationSchema: SpiffThemeConfigurationSchema;
|
|
32
32
|
}
|
|
33
33
|
declare enum SpiffThemeFileType {
|
|
34
34
|
Javascript = "Javascript",
|
|
35
35
|
CSS = "CSS"
|
|
36
36
|
}
|
|
37
|
+
interface SpiffThemeConfigurationLaunchData {
|
|
38
|
+
targetFiles: SpiffThemeConfigurationLaunchDataTargetFile[];
|
|
39
|
+
}
|
|
40
|
+
interface SpiffThemeConfigurationLaunchDataTargetFile {
|
|
41
|
+
filename: string;
|
|
42
|
+
type: SpiffThemeFileType;
|
|
43
|
+
mimeType: string;
|
|
44
|
+
}
|
|
37
45
|
interface SpiffThemeLaunchData {
|
|
38
46
|
targetFiles: SpiffThemeLaunchDataTargetFile[];
|
|
39
47
|
}
|
|
@@ -41,6 +49,7 @@ interface SpiffThemeLaunchDataTargetFile {
|
|
|
41
49
|
filename: string;
|
|
42
50
|
type: SpiffThemeFileType;
|
|
43
51
|
mimeType: string;
|
|
52
|
+
fileLink: string;
|
|
44
53
|
}
|
|
45
54
|
declare enum SpiffThemeConfigurationFieldType {
|
|
46
55
|
SingleLineText = "SingleLineText",
|
|
@@ -115,4 +124,4 @@ interface SpiffAsset {
|
|
|
115
124
|
type SpiffDevOptions = Omit<SpiffThemeContextTransaction, "container"> | Omit<SpiffThemeContextBundle, "container">;
|
|
116
125
|
declare function setSpiffDevOptions(container: HTMLElement | string, context: SpiffDevOptions): void;
|
|
117
126
|
|
|
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 };
|
|
127
|
+
export { type GetBundleOptions, type SpiffAsset, SpiffAssetType, type SpiffDevOptions, SpiffThemeConfigurationFieldType, type SpiffThemeConfigurationFile, type SpiffThemeConfigurationLaunchData, type SpiffThemeConfigurationLaunchDataTargetFile, type SpiffThemeConfigurationSchema, type SpiffThemeConfigurationSchemaField, type SpiffThemeContext, type SpiffThemeContextBundle, type SpiffThemeContextTransaction, SpiffThemeFileType, type SpiffThemeInstallConfiguration, type SpiffThemeInstallConfigurationField, type SpiffThemeLaunchData, type SpiffThemeLaunchDataTargetFile, type SpiffThemeLoader, type SpiffThemeVersion, setSpiffDevOptions };
|