pangea-lib 4.0.5 → 4.0.7

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.
@@ -2,38 +2,35 @@ import { RemoveFilesParams, UploadFilesParams } from '../models';
2
2
 
3
3
  type VideoStr = string;
4
4
  type Video = VideoStr | File;
5
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
- videos: Video[];
7
- maxVideosQuantity?: number;
8
- uploadFn?: (params: UploadFilesParams) => Promise<VideoStr[]>;
9
- deleteFn?: (params: RemoveFilesParams) => Promise<void>;
10
- }>, {
11
- maxVideosQuantity: number;
12
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
- videos: Video[];
14
- maxVideosQuantity?: number;
15
- uploadFn?: (params: UploadFilesParams) => Promise<VideoStr[]>;
16
- deleteFn?: (params: RemoveFilesParams) => Promise<void>;
17
- }>, {
18
- maxVideosQuantity: number;
19
- }>>>, {
20
- maxVideosQuantity: number;
21
- }, {}>;
22
- export default _default;
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToRuntimeProps<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: import('vue').PropType<T[K]>;
5
+ declare const _default: import('vue').DefineComponent<{
6
+ modelValue: {
7
+ required: true;
8
+ type: import('vue').PropType<Video[]>;
9
+ };
10
+ maxVideosQuantity: {
11
+ type: import('vue').PropType<number>;
12
+ required: true;
13
+ };
14
+ uploadFn: {
15
+ type: import('vue').PropType<(params: UploadFilesParams) => Promise<VideoStr[]>>;
16
+ };
17
+ deleteFn: {
18
+ type: import('vue').PropType<(params: RemoveFilesParams) => Promise<void>>;
19
+ };
20
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
+ modelValue: {
22
+ required: true;
23
+ type: import('vue').PropType<Video[]>;
24
+ };
25
+ maxVideosQuantity: {
26
+ type: import('vue').PropType<number>;
29
27
  required: true;
30
28
  };
31
- };
32
- type __VLS_WithDefaults<P, D> = {
33
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
- default: D[K];
35
- }> : P[K];
36
- };
37
- type __VLS_Prettify<T> = {
38
- [K in keyof T]: T[K];
39
- } & {};
29
+ uploadFn: {
30
+ type: import('vue').PropType<(params: UploadFilesParams) => Promise<VideoStr[]>>;
31
+ };
32
+ deleteFn: {
33
+ type: import('vue').PropType<(params: RemoveFilesParams) => Promise<void>>;
34
+ };
35
+ }>>, {}, {}>;
36
+ export default _default;
@@ -2,38 +2,35 @@ import { RemoveFilesParams, UploadFilesParams } from '../../models';
2
2
 
3
3
  type ImageStr = string;
4
4
  type Image = ImageStr | File;
5
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
- images: Image[];
7
- maxImagesQuantity?: number;
8
- uploadFn?: (params: UploadFilesParams) => Promise<ImageStr[]>;
9
- deleteFn?: (params: RemoveFilesParams) => Promise<void>;
10
- }>, {
11
- maxImagesQuantity: number;
12
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
- images: Image[];
14
- maxImagesQuantity?: number;
15
- uploadFn?: (params: UploadFilesParams) => Promise<ImageStr[]>;
16
- deleteFn?: (params: RemoveFilesParams) => Promise<void>;
17
- }>, {
18
- maxImagesQuantity: number;
19
- }>>>, {
20
- maxImagesQuantity: number;
21
- }, {}>;
22
- export default _default;
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToRuntimeProps<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: import('vue').PropType<T[K]>;
5
+ declare const _default: import('vue').DefineComponent<{
6
+ modelValue: {
7
+ required: true;
8
+ type: import('vue').PropType<Image[]>;
9
+ };
10
+ maxImagesQuantity: {
11
+ type: import('vue').PropType<number>;
12
+ required: true;
13
+ };
14
+ uploadFn: {
15
+ type: import('vue').PropType<(params: UploadFilesParams) => Promise<ImageStr[]>>;
16
+ };
17
+ deleteFn: {
18
+ type: import('vue').PropType<(params: RemoveFilesParams) => Promise<void>>;
19
+ };
20
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
+ modelValue: {
22
+ required: true;
23
+ type: import('vue').PropType<Image[]>;
24
+ };
25
+ maxImagesQuantity: {
26
+ type: import('vue').PropType<number>;
29
27
  required: true;
30
28
  };
31
- };
32
- type __VLS_WithDefaults<P, D> = {
33
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
- default: D[K];
35
- }> : P[K];
36
- };
37
- type __VLS_Prettify<T> = {
38
- [K in keyof T]: T[K];
39
- } & {};
29
+ uploadFn: {
30
+ type: import('vue').PropType<(params: UploadFilesParams) => Promise<ImageStr[]>>;
31
+ };
32
+ deleteFn: {
33
+ type: import('vue').PropType<(params: RemoveFilesParams) => Promise<void>>;
34
+ };
35
+ }>>, {}, {}>;
36
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "4.0.5",
4
+ "version": "4.0.7",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea-lib#readme",