jamespot-user-api 1.0.179 → 1.0.181
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/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +14 -14
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.html +2 -2
- package/documentation/classes/JApplicationApi.html +8 -8
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +1 -1
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBbbApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JBusinessNetworkingApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JDatasourceApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFaqApi.html +1 -1
- package/documentation/classes/JFileApi.html +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGlobalApi.html +1 -1
- package/documentation/classes/JGroupApi.html +12 -12
- package/documentation/classes/JIAApi.html +1 -1
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JObjectApi.html +1 -1
- package/documentation/classes/JSearchApi.html +8 -8
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JSocialActionApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- package/documentation/classes/JUserApi.html +7 -7
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JWidgetApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/TVDisplayApi.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/enums/BookmarkType.html +1 -1
- package/documentation/enums/Format.html +1 -1
- package/documentation/enums/GroupModerateStatus.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/enums/WidgetsName.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/Category.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WidgetType.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +11 -11
- package/jest.config.ts +2 -2
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/admin/license.d.ts +2 -2
- package/lib/src/apis/admin/utils.d.ts +2 -2
- package/lib/src/apis/bookmark/bookmark.d.ts +18 -18
- package/lib/src/apis/datasource/datasource.d.ts +1 -1
- package/lib/src/apis/file/file.d.ts +2 -2
- package/lib/src/apis/filebank/filebank.d.ts +19 -19
- package/lib/src/apis/filebank/filebank.mock.d.ts +11 -2
- package/lib/src/apis/user/user.d.ts +15 -111
- package/lib/src/types/adminLicence.d.ts +31 -56
- package/lib/src/types/adminUtils.d.ts +14 -14
- package/lib/src/types/article.d.ts +3160 -7359
- package/lib/src/types/asei.d.ts +197 -822
- package/lib/src/types/assetReservation.d.ts +1352 -4283
- package/lib/src/types/autocomplete.d.ts +55 -36
- package/lib/src/types/bookmark.d.ts +222 -234
- package/lib/src/types/businessContact.d.ts +243 -880
- package/lib/src/types/comment.d.ts +200 -900
- package/lib/src/types/diapazone.d.ts +77 -11
- package/lib/src/types/drive.d.ts +27 -21
- package/lib/src/types/faq.d.ts +2077 -5450
- package/lib/src/types/file.d.ts +18 -9
- package/lib/src/types/group.d.ts +10 -6
- package/lib/src/types/license.d.ts +12 -48
- package/lib/src/types/link.d.ts +25 -14
- package/lib/src/types/mediaLibrary.d.ts +223 -820
- package/lib/src/types/meeting.d.ts +1104 -3044
- package/lib/src/types/model.d.ts +3 -0
- package/lib/src/types/object.d.ts +90 -10
- package/lib/src/types/objectBase.d.ts +4 -3
- package/lib/src/types/pollSurvey.d.ts +1075 -3015
- package/lib/src/types/quizz.d.ts +1002 -2942
- package/lib/src/types/search.d.ts +134 -131
- package/lib/src/types/share.d.ts +130 -60
- package/lib/src/types/socialEvent.d.ts +1002 -2942
- package/lib/src/types/support.d.ts +1125 -3059
- package/lib/src/types/surveyDate.d.ts +1005 -2941
- package/lib/src/types/tinymce.d.ts +4 -3
- package/lib/src/types/tvDisplay.d.ts +2 -2
- package/lib/src/types/user.d.ts +72 -45
- package/lib/src/types/utils.d.ts +17 -89
- package/lib/src/types/widgets/default.d.ts +365 -1642
- package/lib/src/types/widgets/widgetArticleButton.d.ts +5 -4
- package/lib/src/types/widgets/widgetDatasourceTable.d.ts +37 -76
- package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +39 -33
- package/lib/src/types/widgets.d.ts +4268 -11774
- package/lib/src/util/Test.d.ts +64 -660
- package/package.json +1 -2
- package/phpunitMock/fileBankGetBanks-success.json +69 -0
- package/phpunitMock/fileBankGetDocuments-success.json +110 -0
- package/phpunitMock/fileBankGetFolders-success.json +188 -0
- package/phpunitMock/fileBankGetPath-success.json +43 -43
- package/phpunitMock/fileBankSearchContent-success.json +45 -0
package/lib/src/types/file.d.ts
CHANGED
|
@@ -50,19 +50,23 @@ export declare const fileCropConfigSchema: z.ZodObject<{
|
|
|
50
50
|
killSize?: boolean | undefined;
|
|
51
51
|
}>;
|
|
52
52
|
export type FileCropConfig = z.infer<typeof fileCropConfigSchema>;
|
|
53
|
-
export declare const jFileLittleSchema: z.ZodObject<{
|
|
54
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
53
|
+
export declare const jFileLittleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
55
54
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
56
55
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
56
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
57
57
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
58
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
59
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
60
|
+
}, {
|
|
58
61
|
title: z.ZodString;
|
|
59
62
|
_url: z.ZodString;
|
|
63
|
+
}>, {
|
|
60
64
|
dateCreation: z.ZodString;
|
|
61
65
|
dateModified: z.ZodNullable<z.ZodString>;
|
|
62
66
|
mimetype: z.ZodString;
|
|
63
67
|
path: z.ZodOptional<z.ZodString>;
|
|
64
68
|
size: z.ZodNumber;
|
|
65
|
-
}
|
|
69
|
+
}>, "strip", z.ZodTypeAny, {
|
|
66
70
|
type: string;
|
|
67
71
|
id: number;
|
|
68
72
|
mainType: string;
|
|
@@ -89,18 +93,23 @@ export declare const jFileLittleSchema: z.ZodObject<{
|
|
|
89
93
|
}>;
|
|
90
94
|
export type jFileLittle = z.infer<typeof jFileLittleSchema>;
|
|
91
95
|
export declare const validateIsFormatFileLittle: (object: object) => jFileLittle;
|
|
92
|
-
export declare const jFileLittleCropSchema: z.ZodObject<{
|
|
93
|
-
path: z.ZodOptional<z.ZodString>;
|
|
94
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
96
|
+
export declare const jFileLittleCropSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
95
97
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
96
98
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
99
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
97
100
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
98
|
-
dateCreation: z.
|
|
99
|
-
dateModified: z.
|
|
101
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
102
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
103
|
+
}, {
|
|
100
104
|
title: z.ZodString;
|
|
101
105
|
_url: z.ZodString;
|
|
106
|
+
}>, {
|
|
107
|
+
dateCreation: z.ZodString;
|
|
108
|
+
dateModified: z.ZodNullable<z.ZodString>;
|
|
102
109
|
mimetype: z.ZodString;
|
|
110
|
+
path: z.ZodOptional<z.ZodString>;
|
|
103
111
|
size: z.ZodNumber;
|
|
112
|
+
}>, {
|
|
104
113
|
_extend: z.ZodObject<{
|
|
105
114
|
crop: z.ZodObject<{
|
|
106
115
|
x: z.ZodNumber;
|
|
@@ -143,7 +152,7 @@ export declare const jFileLittleCropSchema: z.ZodObject<{
|
|
|
143
152
|
killSize?: boolean | undefined;
|
|
144
153
|
};
|
|
145
154
|
}>;
|
|
146
|
-
}
|
|
155
|
+
}>, "strip", z.ZodTypeAny, {
|
|
147
156
|
type: string;
|
|
148
157
|
id: number;
|
|
149
158
|
mainType: string;
|
package/lib/src/types/group.d.ts
CHANGED
|
@@ -166,19 +166,23 @@ export interface Category {
|
|
|
166
166
|
idorder: number;
|
|
167
167
|
label: string;
|
|
168
168
|
}
|
|
169
|
-
export type jGroupList = jObjectBase &
|
|
170
|
-
export declare const
|
|
171
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
169
|
+
export type jGroupList = jObjectBase & jGroupLittle;
|
|
170
|
+
export declare const jGroupLittleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
172
171
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
173
172
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
173
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
174
174
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
175
|
+
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
176
|
+
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
177
|
+
}, {
|
|
175
178
|
title: z.ZodString;
|
|
176
179
|
_url: z.ZodString;
|
|
180
|
+
}>, {
|
|
177
181
|
dateCreation: z.ZodString;
|
|
178
182
|
dateModified: z.ZodString;
|
|
179
183
|
category: z.ZodNumber;
|
|
180
184
|
privacy: z.ZodNumber;
|
|
181
|
-
}
|
|
185
|
+
}>, "strip", z.ZodTypeAny, {
|
|
182
186
|
type: string;
|
|
183
187
|
id: number;
|
|
184
188
|
mainType: string;
|
|
@@ -201,8 +205,8 @@ export declare const groupLittleSchema: z.ZodObject<{
|
|
|
201
205
|
category: number;
|
|
202
206
|
privacy: number;
|
|
203
207
|
}>;
|
|
204
|
-
export type
|
|
205
|
-
export type GroupList =
|
|
208
|
+
export type jGroupLittle = z.infer<typeof jGroupLittleSchema>;
|
|
209
|
+
export type GroupList = jGroupLittle & {
|
|
206
210
|
description: string;
|
|
207
211
|
edito: string | null;
|
|
208
212
|
language: string;
|
|
@@ -40,7 +40,7 @@ export declare const getLicenseKindUsersParamsSchema: z.ZodObject<{
|
|
|
40
40
|
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
41
41
|
isNotNull: z.ZodOptional<z.ZodBoolean>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
value:
|
|
43
|
+
value: string | number | boolean | string[] | {
|
|
44
44
|
srcId: string | number;
|
|
45
45
|
srcType: string;
|
|
46
46
|
} | {
|
|
@@ -49,16 +49,7 @@ export declare const getLicenseKindUsersParamsSchema: z.ZodObject<{
|
|
|
49
49
|
} | {
|
|
50
50
|
start: string;
|
|
51
51
|
end: string;
|
|
52
|
-
}
|
|
53
|
-
srcId: string | number;
|
|
54
|
-
srcType: string;
|
|
55
|
-
} | {
|
|
56
|
-
targetId: string | number;
|
|
57
|
-
targetType: string;
|
|
58
|
-
} | {
|
|
59
|
-
start: string;
|
|
60
|
-
end: string;
|
|
61
|
-
} | undefined);
|
|
52
|
+
};
|
|
62
53
|
name: string;
|
|
63
54
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
64
55
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -66,16 +57,7 @@ export declare const getLicenseKindUsersParamsSchema: z.ZodObject<{
|
|
|
66
57
|
isNull?: boolean | undefined;
|
|
67
58
|
isNotNull?: boolean | undefined;
|
|
68
59
|
}, {
|
|
69
|
-
value:
|
|
70
|
-
srcId: string | number;
|
|
71
|
-
srcType: string;
|
|
72
|
-
} | {
|
|
73
|
-
targetId: string | number;
|
|
74
|
-
targetType: string;
|
|
75
|
-
} | {
|
|
76
|
-
start: string;
|
|
77
|
-
end: string;
|
|
78
|
-
}) & (string | number | boolean | string[] | {
|
|
60
|
+
value: string | number | boolean | string[] | {
|
|
79
61
|
srcId: string | number;
|
|
80
62
|
srcType: string;
|
|
81
63
|
} | {
|
|
@@ -84,7 +66,7 @@ export declare const getLicenseKindUsersParamsSchema: z.ZodObject<{
|
|
|
84
66
|
} | {
|
|
85
67
|
start: string;
|
|
86
68
|
end: string;
|
|
87
|
-
}
|
|
69
|
+
};
|
|
88
70
|
name: string;
|
|
89
71
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
90
72
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -107,7 +89,7 @@ export declare const getLicenseKindUsersParamsSchema: z.ZodObject<{
|
|
|
107
89
|
page: number;
|
|
108
90
|
kind: string;
|
|
109
91
|
filters?: {
|
|
110
|
-
value:
|
|
92
|
+
value: string | number | boolean | string[] | {
|
|
111
93
|
srcId: string | number;
|
|
112
94
|
srcType: string;
|
|
113
95
|
} | {
|
|
@@ -116,16 +98,7 @@ export declare const getLicenseKindUsersParamsSchema: z.ZodObject<{
|
|
|
116
98
|
} | {
|
|
117
99
|
start: string;
|
|
118
100
|
end: string;
|
|
119
|
-
}
|
|
120
|
-
srcId: string | number;
|
|
121
|
-
srcType: string;
|
|
122
|
-
} | {
|
|
123
|
-
targetId: string | number;
|
|
124
|
-
targetType: string;
|
|
125
|
-
} | {
|
|
126
|
-
start: string;
|
|
127
|
-
end: string;
|
|
128
|
-
} | undefined);
|
|
101
|
+
};
|
|
129
102
|
name: string;
|
|
130
103
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
131
104
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -142,16 +115,7 @@ export declare const getLicenseKindUsersParamsSchema: z.ZodObject<{
|
|
|
142
115
|
page: number;
|
|
143
116
|
kind: string;
|
|
144
117
|
filters?: {
|
|
145
|
-
value:
|
|
146
|
-
srcId: string | number;
|
|
147
|
-
srcType: string;
|
|
148
|
-
} | {
|
|
149
|
-
targetId: string | number;
|
|
150
|
-
targetType: string;
|
|
151
|
-
} | {
|
|
152
|
-
start: string;
|
|
153
|
-
end: string;
|
|
154
|
-
}) & (string | number | boolean | string[] | {
|
|
118
|
+
value: string | number | boolean | string[] | {
|
|
155
119
|
srcId: string | number;
|
|
156
120
|
srcType: string;
|
|
157
121
|
} | {
|
|
@@ -160,7 +124,7 @@ export declare const getLicenseKindUsersParamsSchema: z.ZodObject<{
|
|
|
160
124
|
} | {
|
|
161
125
|
start: string;
|
|
162
126
|
end: string;
|
|
163
|
-
}
|
|
127
|
+
};
|
|
164
128
|
name: string;
|
|
165
129
|
operator?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | undefined;
|
|
166
130
|
method?: "<" | ">" | "<=" | ">=" | "!=" | "<>" | "like" | "between" | "is" | "is not" | "in" | "link" | "match" | "equal" | "+" | "-" | undefined;
|
|
@@ -180,14 +144,14 @@ export declare const inferUserLicenseSchema: <T extends z.ZodType<jUserLittle, z
|
|
|
180
144
|
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
181
145
|
license: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>;
|
|
182
146
|
user: T;
|
|
183
|
-
}>,
|
|
147
|
+
}>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
184
148
|
license: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>;
|
|
185
149
|
user: T;
|
|
186
|
-
}>,
|
|
150
|
+
}>, any>[k]; } : never, z.baseObjectInputType<{
|
|
187
151
|
license: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>;
|
|
188
152
|
user: T;
|
|
189
|
-
}> extends infer T_2 ? { [
|
|
153
|
+
}> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<{
|
|
190
154
|
license: z.ZodUnion<[z.ZodLiteral<"1">, z.ZodLiteral<"0">]>;
|
|
191
155
|
user: T;
|
|
192
|
-
}>[
|
|
156
|
+
}>[k_1]; } : never>;
|
|
193
157
|
export type UserLicense<T extends jUserLittle> = z.infer<ReturnType<typeof inferUserLicenseSchema<ZodType<T>>>>;
|
package/lib/src/types/link.d.ts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { z, ZodType } from 'zod';
|
|
2
2
|
import { jObjectBase, jObjectLittle } from './objectBase';
|
|
3
3
|
import { jUserLittle } from './user';
|
|
4
|
-
export declare const jLinkLittleSchema: z.ZodObject<{
|
|
5
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
4
|
+
export declare const jLinkLittleSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
6
5
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
7
6
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
7
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
8
8
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
9
9
|
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
10
10
|
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
11
|
+
}, {
|
|
11
12
|
srcId: z.ZodNumber;
|
|
12
13
|
srcType: z.ZodString;
|
|
13
14
|
targetId: z.ZodNumber;
|
|
14
15
|
targetType: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}
|
|
16
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16
17
|
type: string;
|
|
17
18
|
id: number;
|
|
18
19
|
mainType: string;
|
|
@@ -36,75 +37,85 @@ export declare const jLinkLittleSchema: z.ZodObject<{
|
|
|
36
37
|
dateModified?: string | null | undefined;
|
|
37
38
|
}>;
|
|
38
39
|
export type jLinkLittle = z.infer<typeof jLinkLittleSchema>;
|
|
39
|
-
export declare const inferJLinkListSchema: <T extends z.ZodType<jObjectBase, z.ZodTypeDef, jObjectBase>>(type: T) => z.ZodObject<{
|
|
40
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
40
|
+
export declare const inferJLinkListSchema: <T extends z.ZodType<jObjectBase, z.ZodTypeDef, jObjectBase>>(type: T) => z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
41
41
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
42
42
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
43
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
43
44
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
44
45
|
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
45
46
|
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
47
|
+
}, {
|
|
46
48
|
srcId: z.ZodNumber;
|
|
47
49
|
srcType: z.ZodString;
|
|
48
50
|
targetId: z.ZodNumber;
|
|
49
51
|
targetType: z.ZodNullable<z.ZodString>;
|
|
52
|
+
}>, {
|
|
50
53
|
value: z.ZodNullable<z.ZodString>;
|
|
51
54
|
_src: z.ZodOptional<T>;
|
|
52
55
|
_target: z.ZodUnion<[z.ZodOptional<T>, z.ZodUndefined]>;
|
|
53
|
-
}
|
|
54
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
56
|
+
}>, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
55
57
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
56
58
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
59
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
57
60
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
58
61
|
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
59
62
|
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
63
|
+
}, {
|
|
60
64
|
srcId: z.ZodNumber;
|
|
61
65
|
srcType: z.ZodString;
|
|
62
66
|
targetId: z.ZodNumber;
|
|
63
67
|
targetType: z.ZodNullable<z.ZodString>;
|
|
68
|
+
}>, {
|
|
64
69
|
value: z.ZodNullable<z.ZodString>;
|
|
65
70
|
_src: z.ZodOptional<T>;
|
|
66
71
|
_target: z.ZodUnion<[z.ZodOptional<T>, z.ZodUndefined]>;
|
|
67
|
-
}
|
|
68
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
72
|
+
}>>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
69
73
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
70
74
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
75
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
71
76
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
72
77
|
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
73
78
|
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
79
|
+
}, {
|
|
74
80
|
srcId: z.ZodNumber;
|
|
75
81
|
srcType: z.ZodString;
|
|
76
82
|
targetId: z.ZodNumber;
|
|
77
83
|
targetType: z.ZodNullable<z.ZodString>;
|
|
84
|
+
}>, {
|
|
78
85
|
value: z.ZodNullable<z.ZodString>;
|
|
79
86
|
_src: z.ZodOptional<T>;
|
|
80
87
|
_target: z.ZodUnion<[z.ZodOptional<T>, z.ZodUndefined]>;
|
|
81
|
-
}
|
|
82
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
88
|
+
}>>, any>[k]; } : never, z.baseObjectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
83
89
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
84
90
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
91
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
85
92
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
86
93
|
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
87
94
|
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
95
|
+
}, {
|
|
88
96
|
srcId: z.ZodNumber;
|
|
89
97
|
srcType: z.ZodString;
|
|
90
98
|
targetId: z.ZodNumber;
|
|
91
99
|
targetType: z.ZodNullable<z.ZodString>;
|
|
100
|
+
}>, {
|
|
92
101
|
value: z.ZodNullable<z.ZodString>;
|
|
93
102
|
_src: z.ZodOptional<T>;
|
|
94
103
|
_target: z.ZodUnion<[z.ZodOptional<T>, z.ZodUndefined]>;
|
|
95
|
-
}
|
|
96
|
-
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
104
|
+
}>> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
97
105
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
98
106
|
mainType: z.ZodType<string, z.ZodTypeDef, string>;
|
|
107
|
+
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
99
108
|
uri: z.ZodType<string, z.ZodTypeDef, string>;
|
|
100
109
|
dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
|
|
101
110
|
dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
|
|
111
|
+
}, {
|
|
102
112
|
srcId: z.ZodNumber;
|
|
103
113
|
srcType: z.ZodString;
|
|
104
114
|
targetId: z.ZodNumber;
|
|
105
115
|
targetType: z.ZodNullable<z.ZodString>;
|
|
116
|
+
}>, {
|
|
106
117
|
value: z.ZodNullable<z.ZodString>;
|
|
107
118
|
_src: z.ZodOptional<T>;
|
|
108
119
|
_target: z.ZodUnion<[z.ZodOptional<T>, z.ZodUndefined]>;
|
|
109
|
-
}
|
|
120
|
+
}>>[k_1]; } : never>;
|
|
110
121
|
export type jLinkList<T extends jObjectBase = jObjectLittle | jUserLittle> = z.infer<ReturnType<typeof inferJLinkListSchema<ZodType<T>>>>;
|