@redneckz/wildless-cms-uni-blocks 0.14.519 → 0.14.520

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.
@@ -0,0 +1,18 @@
1
+ export declare type FileId = string;
2
+ export declare type ProjectId = string | number;
3
+ export declare type SearchParams = Record<string, string>;
4
+ export interface FileMeta {
5
+ id?: FileId;
6
+ path?: string;
7
+ timestamp?: Date;
8
+ size?: number;
9
+ }
10
+ export interface SearchResult {
11
+ rows: FileMeta[];
12
+ total: number;
13
+ }
14
+ export declare const FileStorage: {
15
+ getById: <T>(id: FileId) => Promise<T | null>;
16
+ getByName: (projectId: ProjectId, name: string) => Promise<any>;
17
+ find: (projectId: ProjectId, params?: SearchParams) => Promise<SearchResult>;
18
+ };
@@ -6446,7 +6446,7 @@
6446
6446
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6447
6447
  });
6448
6448
 
6449
- const packageVersion = "0.14.518";
6449
+ const packageVersion = "0.14.519";
6450
6450
 
6451
6451
  exports.Blocks = Blocks;
6452
6452
  exports.ContentPage = ContentPage;