@punks/backend-entity-manager 0.0.231 → 0.0.232

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.
@@ -46,7 +46,7 @@ export type IMediaFolderRepository = {
46
46
  folderCreate(input: {
47
47
  name: string;
48
48
  parentId?: string;
49
- organizationId: string;
49
+ organizationId?: string;
50
50
  }): Promise<MediaFolderRecord>;
51
51
  folderRename(id: string, name: string): Promise<void>;
52
52
  folderMove(id: string, parentId?: string): Promise<void>;
@@ -57,7 +57,7 @@ export type IMediaFolderRepository = {
57
57
  export type MediaFolderCreateInput = {
58
58
  folderName: string;
59
59
  parentId?: string;
60
- organizationId: string;
60
+ organizationId?: string;
61
61
  };
62
62
  export type MediaFolderReference = {
63
63
  id: string;
@@ -77,7 +77,7 @@ export type MediaInfo = {
77
77
  };
78
78
  export type MediaFolderEnsureInput = {
79
79
  path: string[];
80
- organizationId: string;
80
+ organizationId?: string;
81
81
  };
82
82
  export type IMediaLibraryManager = {
83
83
  mediaUpload(input: MediaUploadInput): Promise<MediaReference>;
@@ -46,7 +46,7 @@ export type IMediaFolderRepository = {
46
46
  folderCreate(input: {
47
47
  name: string;
48
48
  parentId?: string;
49
- organizationId: string;
49
+ organizationId?: string;
50
50
  }): Promise<MediaFolderRecord>;
51
51
  folderRename(id: string, name: string): Promise<void>;
52
52
  folderMove(id: string, parentId?: string): Promise<void>;
@@ -57,7 +57,7 @@ export type IMediaFolderRepository = {
57
57
  export type MediaFolderCreateInput = {
58
58
  folderName: string;
59
59
  parentId?: string;
60
- organizationId: string;
60
+ organizationId?: string;
61
61
  };
62
62
  export type MediaFolderReference = {
63
63
  id: string;
@@ -77,7 +77,7 @@ export type MediaInfo = {
77
77
  };
78
78
  export type MediaFolderEnsureInput = {
79
79
  path: string[];
80
- organizationId: string;
80
+ organizationId?: string;
81
81
  };
82
82
  export type IMediaLibraryManager = {
83
83
  mediaUpload(input: MediaUploadInput): Promise<MediaReference>;
package/dist/index.d.ts CHANGED
@@ -2974,7 +2974,7 @@ type IMediaFolderRepository = {
2974
2974
  folderCreate(input: {
2975
2975
  name: string;
2976
2976
  parentId?: string;
2977
- organizationId: string;
2977
+ organizationId?: string;
2978
2978
  }): Promise<MediaFolderRecord>;
2979
2979
  folderRename(id: string, name: string): Promise<void>;
2980
2980
  folderMove(id: string, parentId?: string): Promise<void>;
@@ -2985,7 +2985,7 @@ type IMediaFolderRepository = {
2985
2985
  type MediaFolderCreateInput = {
2986
2986
  folderName: string;
2987
2987
  parentId?: string;
2988
- organizationId: string;
2988
+ organizationId?: string;
2989
2989
  };
2990
2990
  type MediaFolderReference = {
2991
2991
  id: string;
@@ -3005,7 +3005,7 @@ type MediaInfo = {
3005
3005
  };
3006
3006
  type MediaFolderEnsureInput = {
3007
3007
  path: string[];
3008
- organizationId: string;
3008
+ organizationId?: string;
3009
3009
  };
3010
3010
  type IMediaLibraryManager = {
3011
3011
  mediaUpload(input: MediaUploadInput): Promise<MediaReference>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-entity-manager",
3
- "version": "0.0.231",
3
+ "version": "0.0.232",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",