@spiffcommerce/theme-bridge 1.27.1-alpha.0 → 1.27.1-alpha.2
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.cjs.map +1 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js.map +1 -1
- package/dist/plugin.cjs +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -351,6 +351,7 @@ interface ThemeVersionResource {
|
|
|
351
351
|
updatedAt: string;
|
|
352
352
|
configurationSchema: ThemeConfigurationSchemaResource;
|
|
353
353
|
launchData: ThemeLaunchDataResource;
|
|
354
|
+
pageSettings?: ThemeConfigurationPageSettings;
|
|
354
355
|
}
|
|
355
356
|
interface ThemeConfigurationSchemaResource {
|
|
356
357
|
fields: ThemeConfigurationSchemaFieldResource[];
|
|
@@ -409,6 +410,17 @@ interface ThemeInstallConfigurationResource {
|
|
|
409
410
|
createdAt: string;
|
|
410
411
|
updatedAt: string;
|
|
411
412
|
fields: ThemeInstallConfigurationFieldResource[];
|
|
413
|
+
pageSettings?: ThemeInstallPageSettings;
|
|
414
|
+
}
|
|
415
|
+
/** The user-configured values for the given theme's page settings */
|
|
416
|
+
interface ThemeInstallPageSettings {
|
|
417
|
+
pageOrder?: string[];
|
|
418
|
+
items: ThemeInstallPageSettingsItem[];
|
|
419
|
+
}
|
|
420
|
+
interface ThemeInstallPageSettingsItem {
|
|
421
|
+
key: string;
|
|
422
|
+
/** Only provided if the user actually changed the default value. */
|
|
423
|
+
enabled?: boolean;
|
|
412
424
|
}
|
|
413
425
|
/**
|
|
414
426
|
* Defines the locations at which a conversion attempt can take place.
|
|
@@ -672,4 +684,4 @@ declare function setSpiffDevOptions(container: HTMLElement | string, context: Sp
|
|
|
672
684
|
declare function exampleThemeInstallConfig(opts?: Partial<ThemeInstallConfigurationResource>): ThemeInstallConfigurationResource;
|
|
673
685
|
declare function getDefaultsForSchema(schema: ThemeConfigurationSchema, ...excludeKeys: string[]): ThemeInstallConfigurationFieldResource[];
|
|
674
686
|
|
|
675
|
-
export { type AssetResource, AssetType, type CompleteQuoteMessage, type ConversionConfiguration, type ConversionData, ConversionLocation, CustomSchemaType, FieldType, MetafieldConfigurationEntityType, type MetafieldConfigurationResource, type ProductCollectionResource, type SpiffDevOptions, type SpiffThemeLoader, type ThemeConfigurationConfigurableFields, type ThemeConfigurationFile, type ThemeConfigurationLaunchData, type ThemeConfigurationLaunchDataTargetFile, type ThemeConfigurationPageItem, type ThemeConfigurationPageSection, type ThemeConfigurationPageSettings, type ThemeConfigurationSchema, type ThemeConfigurationSchemaCustomSchema, type ThemeConfigurationSchemaCustomSchemaGraphQl, type ThemeConfigurationSchemaCustomSchemaResource, type ThemeConfigurationSchemaField, type ThemeConfigurationSchemaFieldGraphQl, type ThemeConfigurationSchemaFieldResource, type ThemeConfigurationSchemaGraphQl, type ThemeConfigurationSchemaResource, type ThemeContext, type ThemeContextBundle, type ThemeContextBundleOptions, type ThemeContextBundleOptionsExisting, type ThemeContextBundleOptionsNew, type ThemeContextTransaction, type ThemeContextWorkflowOptions, type ThemeContextWorkflowOptionsExternalProduct, type ThemeContextWorkflowOptionsIntegrationProduct, type ThemeContextWorkflowOptionsNewBase, type ThemeContextWorkflowOptionsTransaction, ThemeFileType, type ThemeInstallConfigurationField, type ThemeInstallConfigurationFieldGraphQl, type ThemeInstallConfigurationFieldResource, type ThemeInstallConfigurationResource, type ThemeLaunchDataResource, type ThemeLaunchDataTargetFileResource, type ThemeResource, type ThemeVersionGraphQl, type ThemeVersionResource, exampleThemeInstallConfig, getDefaultsForSchema, setSpiffDevOptions, themeInstallConfigurationFieldsToRecordObject, themeInstallConfigurationGraphQlToResource, themeInstallConfigurationToRecordObject, themeVersionConfigurationGraphQlToResource, themeVersionGraphQlToResource };
|
|
687
|
+
export { type AssetResource, AssetType, type CompleteQuoteMessage, type ConversionConfiguration, type ConversionData, ConversionLocation, CustomSchemaType, FieldType, MetafieldConfigurationEntityType, type MetafieldConfigurationResource, type ProductCollectionResource, type SpiffDevOptions, type SpiffThemeLoader, type ThemeConfigurationConfigurableFields, type ThemeConfigurationFile, type ThemeConfigurationLaunchData, type ThemeConfigurationLaunchDataTargetFile, type ThemeConfigurationPageItem, type ThemeConfigurationPageSection, type ThemeConfigurationPageSettings, type ThemeConfigurationSchema, type ThemeConfigurationSchemaCustomSchema, type ThemeConfigurationSchemaCustomSchemaGraphQl, type ThemeConfigurationSchemaCustomSchemaResource, type ThemeConfigurationSchemaField, type ThemeConfigurationSchemaFieldGraphQl, type ThemeConfigurationSchemaFieldResource, type ThemeConfigurationSchemaGraphQl, type ThemeConfigurationSchemaResource, type ThemeContext, type ThemeContextBundle, type ThemeContextBundleOptions, type ThemeContextBundleOptionsExisting, type ThemeContextBundleOptionsNew, type ThemeContextTransaction, type ThemeContextWorkflowOptions, type ThemeContextWorkflowOptionsExternalProduct, type ThemeContextWorkflowOptionsIntegrationProduct, type ThemeContextWorkflowOptionsNewBase, type ThemeContextWorkflowOptionsTransaction, ThemeFileType, type ThemeInstallConfigurationField, type ThemeInstallConfigurationFieldGraphQl, type ThemeInstallConfigurationFieldResource, type ThemeInstallConfigurationResource, type ThemeInstallPageSettings, type ThemeInstallPageSettingsItem, type ThemeLaunchDataResource, type ThemeLaunchDataTargetFileResource, type ThemeResource, type ThemeVersionGraphQl, type ThemeVersionResource, exampleThemeInstallConfig, getDefaultsForSchema, setSpiffDevOptions, themeInstallConfigurationFieldsToRecordObject, themeInstallConfigurationGraphQlToResource, themeInstallConfigurationToRecordObject, themeVersionConfigurationGraphQlToResource, themeVersionGraphQlToResource };
|