@silexlabs/silex 3.0.0-alpha.169 → 3.0.0-alpha.170

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/.silex.js CHANGED
@@ -56,6 +56,9 @@ module.exports = async function(config, options) {
56
56
  .concat(config.debug ? [{
57
57
  route: '/',
58
58
  path: './',
59
+ }, {
60
+ route: '/js/',
61
+ path: nodeModules('@silexlabs/silex-cms') + '/@silexlabs/silex-cms/',
59
62
  }] : []),
60
63
  },
61
64
  })
@@ -1,10 +1,11 @@
1
+ import { TemplateResult } from 'lit-html';
1
2
  import { WebsiteSettings } from '../../types';
2
3
  export declare const idCodeWrapper = "settings-head-wrapper";
3
4
  export declare function isSite(model: any): boolean;
4
5
  export interface SettingsSection {
5
6
  id: string;
6
7
  label: string;
7
- render: (settings: WebsiteSettings, model: any) => any;
8
+ render: (settings: WebsiteSettings, model: any) => TemplateResult;
8
9
  }
9
10
  /**
10
11
  * This is the settings dialog default sections
@@ -1,2 +1,2 @@
1
- export declare function pauseAutoSave(editor: any): void;
1
+ export declare const cmdPauseAutoSave = "pause-auto-save";
2
2
  export declare const storagePlugin: (editor: any) => void;