@nice2dev/ui-forms 1.3.13 → 1.3.14

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 CHANGED
@@ -849,6 +849,8 @@ export declare interface NiceStudioModuleContext {
849
849
  key: NiceStudioModuleKey;
850
850
  files: readonly NiceStudioFile[];
851
851
  documents: readonly NiceStudioDocument[];
852
+ /** The module's `contents` as listed (1.3.14): `'manifest'` — only its manifest was given. */
853
+ contents?: NiceStudioModuleRef['contents'];
852
854
  }
853
855
 
854
856
  /** Which module, in which workspace. */
@@ -881,6 +883,13 @@ export declare interface NiceStudioModuleRef extends NiceStudioModuleKey {
881
883
  files?: string[];
882
884
  /** Extra text the explorer's search looks in. */
883
885
  search?: string;
886
+ /**
887
+ * What the provider gives of the module (1.3.14): `'full'` (default) — all its files;
888
+ * `'manifest'` — only the manifest (an API that stores nothing else). The checks then skip what
889
+ * only a full module has (e.g. its icon config), and the preview shows no counts of parts it
890
+ * cannot see.
891
+ */
892
+ contents?: 'full' | 'manifest';
884
893
  }
885
894
 
886
895
  /** The answers of the new-module wizard. */