@swell/apps-sdk 1.0.54 → 1.0.57

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.
@@ -24,7 +24,7 @@ export declare class ThemeLoader {
24
24
  */
25
25
  private loadThemeFromManifest;
26
26
  /**
27
- * Fetches the manifest (list of hashes) for a theme version.
27
+ * Fetches the manifest (set of config hashes) for a theme version.
28
28
  */
29
29
  private fetchManifest;
30
30
  /**
@@ -90,6 +90,9 @@ export interface SwellThemeConfig extends SwellRecord {
90
90
  file_data: string;
91
91
  file_path: string;
92
92
  }
93
+ export interface SwellThemeManifest {
94
+ [key: string]: string;
95
+ }
93
96
  export interface SwellMenu {
94
97
  id: string;
95
98
  name: string;
@@ -140,6 +143,7 @@ export interface ThemeSectionBase {
140
143
  settings: ThemeSettings;
141
144
  blocks?: ThemeSettingsBlock[];
142
145
  block_order?: string[];
146
+ custom_css?: string;
143
147
  }
144
148
  export interface ThemeSectionSettings extends ThemeSettings {
145
149
  section: ThemeSectionBase;
@@ -187,6 +191,7 @@ export interface ThemeSection {
187
191
  settings: ThemeSettings;
188
192
  blocks?: Record<string, ThemeSettingsBlock>;
189
193
  block_order?: string[];
194
+ custom_css?: string;
190
195
  }
191
196
  interface ThemeSectionGroupBase {
192
197
  id?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@swell/apps-sdk",
3
3
  "type": "module",
4
- "version": "1.0.54",
4
+ "version": "1.0.57",
5
5
  "description": "Swell SDK for building isomorphic apps.",
6
6
  "author": "Swell",
7
7
  "license": "MIT",