@cyberskill/shared 1.32.0 → 1.33.0
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.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/nodejs/index.cjs +1 -1
- package/dist/nodejs/index.js +1 -1
- package/dist/nodejs/mongo.cjs +1 -1
- package/dist/nodejs/mongo.js +1 -1
- package/dist/utils/index-nodejs.cjs +1 -1
- package/dist/utils/index-nodejs.js +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/mongoose.cjs +1 -1
- package/dist/utils/mongoose.js +1 -1
- package/package.json +1 -1
- package/dist/commands.d.cts +0 -1
- package/dist/commands.d.ts +0 -1
- package/dist/configs/commitlint/base.d.cts +0 -5
- package/dist/configs/commitlint/base.d.ts +0 -5
- package/dist/configs/eslint/base.d.cts +0 -1154
- package/dist/configs/eslint/base.d.ts +0 -1154
- package/dist/configs/eslint/nestjs.d.cts +0 -1156
- package/dist/configs/eslint/nestjs.d.ts +0 -1156
- package/dist/configs/eslint/nextjs.d.cts +0 -1156
- package/dist/configs/eslint/nextjs.d.ts +0 -1156
- package/dist/configs/eslint/nodejs.d.cts +0 -1156
- package/dist/configs/eslint/nodejs.d.ts +0 -1156
- package/dist/configs/eslint/vite-react.d.cts +0 -1157
- package/dist/configs/eslint/vite-react.d.ts +0 -1157
- package/dist/configs/graphql/graphql-codegen.d.cts +0 -6
- package/dist/configs/graphql/graphql-codegen.d.ts +0 -6
- package/dist/configs/graphql/index.d.cts +0 -3
- package/dist/configs/graphql/index.d.ts +0 -3
- package/dist/configs/i18n/react/i18next.d.cts +0 -6
- package/dist/configs/i18n/react/i18next.d.ts +0 -6
- package/dist/configs/i18n/react/index.d.cts +0 -2
- package/dist/configs/i18n/react/index.d.ts +0 -2
- package/dist/configs/index.d.cts +0 -9
- package/dist/configs/index.d.ts +0 -9
- package/dist/configs/lint-staged/base.d.cts +0 -5
- package/dist/configs/lint-staged/base.d.ts +0 -5
- package/dist/configs/vitest/react/e2e.d.cts +0 -5
- package/dist/configs/vitest/react/e2e.d.ts +0 -5
- package/dist/configs/vitest/react/unit.d.cts +0 -5
- package/dist/configs/vitest/react/unit.d.ts +0 -5
- package/dist/configs/vitest/react/unit.setup.d.cts +0 -2
- package/dist/configs/vitest/react/unit.setup.d.ts +0 -2
- package/dist/constants/index.d.cts +0 -2
- package/dist/constants/index.d.ts +0 -2
- package/dist/constants/path.d.cts +0 -4
- package/dist/constants/path.d.ts +0 -4
- package/dist/constants/response-status.d.cts +0 -252
- package/dist/constants/response-status.d.ts +0 -252
- package/dist/index.d.cts +0 -40
- package/dist/index.d.ts +0 -40
- package/dist/nodejs/index.d.cts +0 -5
- package/dist/nodejs/index.d.ts +0 -5
- package/dist/nodejs/mongo.d.cts +0 -55
- package/dist/nodejs/mongo.d.ts +0 -55
- package/dist/nodejs/mongoose.d.cts +0 -25
- package/dist/nodejs/mongoose.d.ts +0 -25
- package/dist/react/apollo-client.d.cts +0 -9
- package/dist/react/apollo-client.d.ts +0 -9
- package/dist/react/index.d.cts +0 -15
- package/dist/react/index.d.ts +0 -15
- package/dist/react/loading.d.cts +0 -13
- package/dist/react/loading.d.ts +0 -13
- package/dist/react/loading.module.d.cts +0 -2
- package/dist/react/loading.module.d.ts +0 -2
- package/dist/react/next-intl.d.cts +0 -28
- package/dist/react/next-intl.d.ts +0 -28
- package/dist/react/storage.d.cts +0 -5
- package/dist/react/storage.d.ts +0 -5
- package/dist/styles/reset.d.cts +0 -2
- package/dist/styles/reset.d.ts +0 -2
- package/dist/typescript/apollo.d.cts +0 -21
- package/dist/typescript/apollo.d.ts +0 -21
- package/dist/typescript/command.d.cts +0 -30
- package/dist/typescript/command.d.ts +0 -30
- package/dist/typescript/config.d.cts +0 -5
- package/dist/typescript/config.d.ts +0 -5
- package/dist/typescript/graphql-codegen.d.cts +0 -12
- package/dist/typescript/graphql-codegen.d.ts +0 -12
- package/dist/typescript/index.d.cts +0 -16
- package/dist/typescript/index.d.ts +0 -16
- package/dist/typescript/loading.d.cts +0 -8
- package/dist/typescript/loading.d.ts +0 -8
- package/dist/typescript/log.d.cts +0 -10
- package/dist/typescript/log.d.ts +0 -10
- package/dist/typescript/mongoose.d.cts +0 -163
- package/dist/typescript/mongoose.d.ts +0 -163
- package/dist/typescript/next-intl.d.cts +0 -23
- package/dist/typescript/next-intl.d.ts +0 -23
- package/dist/typescript/react.d.cts +0 -11
- package/dist/typescript/react.d.ts +0 -11
- package/dist/typescript/serializer.d.cts +0 -6
- package/dist/typescript/serializer.d.ts +0 -6
- package/dist/utils/command.d.cts +0 -17
- package/dist/utils/command.d.ts +0 -17
- package/dist/utils/common.d.cts +0 -5
- package/dist/utils/common.d.ts +0 -5
- package/dist/utils/config.d.cts +0 -5
- package/dist/utils/config.d.ts +0 -5
- package/dist/utils/datetime.d.cts +0 -3
- package/dist/utils/datetime.d.ts +0 -3
- package/dist/utils/fs.d.cts +0 -3
- package/dist/utils/fs.d.ts +0 -3
- package/dist/utils/index-nodejs.d.cts +0 -11
- package/dist/utils/index-nodejs.d.ts +0 -11
- package/dist/utils/index.d.cts +0 -10
- package/dist/utils/index.d.ts +0 -10
- package/dist/utils/log.d.cts +0 -5
- package/dist/utils/log.d.ts +0 -5
- package/dist/utils/mongoose.d.cts +0 -19
- package/dist/utils/mongoose.d.ts +0 -19
- package/dist/utils/npm-package.d.cts +0 -6
- package/dist/utils/npm-package.d.ts +0 -6
- package/dist/utils/serializer.d.cts +0 -5
- package/dist/utils/serializer.d.ts +0 -5
- package/dist/utils/storage-client.d.cts +0 -8
- package/dist/utils/storage-client.d.ts +0 -8
- package/dist/utils/storage-server.d.cts +0 -11
- package/dist/utils/storage-server.d.ts +0 -11
- package/dist/utils/validate.d.cts +0 -14
- package/dist/utils/validate.d.ts +0 -14
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { CodegenConfig } from '@graphql-codegen/cli';
|
|
2
|
-
import { I_GraphqlCodegenConfig } from '../../typescript/graphql-codegen.cjs';
|
|
3
|
-
|
|
4
|
-
declare function createGraphqlCodegenConfig({ uri, from, to, withComponent, withHOC, withHooks, withMutationFn, withRefetchFn, }: I_GraphqlCodegenConfig): CodegenConfig;
|
|
5
|
-
|
|
6
|
-
export { createGraphqlCodegenConfig };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { CodegenConfig } from '@graphql-codegen/cli';
|
|
2
|
-
import { I_GraphqlCodegenConfig } from '../../typescript/graphql-codegen.js';
|
|
3
|
-
|
|
4
|
-
declare function createGraphqlCodegenConfig({ uri, from, to, withComponent, withHOC, withHooks, withMutationFn, withRefetchFn, }: I_GraphqlCodegenConfig): CodegenConfig;
|
|
5
|
-
|
|
6
|
-
export { createGraphqlCodegenConfig };
|
package/dist/configs/index.d.cts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as eslint_flat_config_utils from 'eslint-flat-config-utils';
|
|
2
|
-
import * as _antfu_eslint_config from '@antfu/eslint-config';
|
|
3
|
-
import { I_Config } from '../typescript/config.cjs';
|
|
4
|
-
|
|
5
|
-
declare const _default: {
|
|
6
|
-
merge: (type?: string, ...configs: I_Config[]) => I_Config | eslint_flat_config_utils.FlatConfigComposer<_antfu_eslint_config.TypedFlatConfigItem, _antfu_eslint_config.ConfigNames>;
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export { _default as default };
|
package/dist/configs/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as eslint_flat_config_utils from 'eslint-flat-config-utils';
|
|
2
|
-
import * as _antfu_eslint_config from '@antfu/eslint-config';
|
|
3
|
-
import { I_Config } from '../typescript/config.js';
|
|
4
|
-
|
|
5
|
-
declare const _default: {
|
|
6
|
-
merge: (type?: string, ...configs: I_Config[]) => I_Config | eslint_flat_config_utils.FlatConfigComposer<_antfu_eslint_config.TypedFlatConfigItem, _antfu_eslint_config.ConfigNames>;
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export { _default as default };
|
package/dist/constants/path.d.ts
DELETED
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
declare const RESPONSE_STATUS: {
|
|
2
|
-
GRAPHQL_PARSE_FAILED: {
|
|
3
|
-
CODE: string;
|
|
4
|
-
MESSAGE: string;
|
|
5
|
-
};
|
|
6
|
-
GRAPHQL_VALIDATION_FAILED: {
|
|
7
|
-
CODE: string;
|
|
8
|
-
MESSAGE: string;
|
|
9
|
-
};
|
|
10
|
-
BAD_USER_INPUT: {
|
|
11
|
-
CODE: string;
|
|
12
|
-
MESSAGE: string;
|
|
13
|
-
};
|
|
14
|
-
PERSISTED_QUERY_NOT_FOUND: {
|
|
15
|
-
CODE: string;
|
|
16
|
-
MESSAGE: string;
|
|
17
|
-
};
|
|
18
|
-
PERSISTED_QUERY_NOT_SUPPORTED: {
|
|
19
|
-
CODE: string;
|
|
20
|
-
MESSAGE: string;
|
|
21
|
-
};
|
|
22
|
-
OPERATION_RESOLUTION_FAILURE: {
|
|
23
|
-
CODE: string;
|
|
24
|
-
MESSAGE: string;
|
|
25
|
-
};
|
|
26
|
-
CONTINUE: {
|
|
27
|
-
CODE: number;
|
|
28
|
-
MESSAGE: string;
|
|
29
|
-
};
|
|
30
|
-
SWITCHING_PROTOCOLS: {
|
|
31
|
-
CODE: number;
|
|
32
|
-
MESSAGE: string;
|
|
33
|
-
};
|
|
34
|
-
PROCESSING: {
|
|
35
|
-
CODE: number;
|
|
36
|
-
MESSAGE: string;
|
|
37
|
-
};
|
|
38
|
-
OK: {
|
|
39
|
-
CODE: number;
|
|
40
|
-
MESSAGE: string;
|
|
41
|
-
};
|
|
42
|
-
CREATED: {
|
|
43
|
-
CODE: number;
|
|
44
|
-
MESSAGE: string;
|
|
45
|
-
};
|
|
46
|
-
ACCEPTED: {
|
|
47
|
-
CODE: number;
|
|
48
|
-
MESSAGE: string;
|
|
49
|
-
};
|
|
50
|
-
NON_AUTHORITATIVE_INFORMATION: {
|
|
51
|
-
CODE: number;
|
|
52
|
-
MESSAGE: string;
|
|
53
|
-
};
|
|
54
|
-
NO_CONTENT: {
|
|
55
|
-
CODE: number;
|
|
56
|
-
MESSAGE: string;
|
|
57
|
-
};
|
|
58
|
-
RESET_CONTENT: {
|
|
59
|
-
CODE: number;
|
|
60
|
-
MESSAGE: string;
|
|
61
|
-
};
|
|
62
|
-
PARTIAL_CONTENT: {
|
|
63
|
-
CODE: number;
|
|
64
|
-
MESSAGE: string;
|
|
65
|
-
};
|
|
66
|
-
MULTI_STATUS: {
|
|
67
|
-
CODE: number;
|
|
68
|
-
MESSAGE: string;
|
|
69
|
-
};
|
|
70
|
-
MULTIPLE_CHOICES: {
|
|
71
|
-
CODE: number;
|
|
72
|
-
MESSAGE: string;
|
|
73
|
-
};
|
|
74
|
-
MOVED_PERMANENTLY: {
|
|
75
|
-
CODE: number;
|
|
76
|
-
MESSAGE: string;
|
|
77
|
-
};
|
|
78
|
-
MOVED_TEMPORARILY: {
|
|
79
|
-
CODE: number;
|
|
80
|
-
MESSAGE: string;
|
|
81
|
-
};
|
|
82
|
-
SEE_OTHER: {
|
|
83
|
-
CODE: number;
|
|
84
|
-
MESSAGE: string;
|
|
85
|
-
};
|
|
86
|
-
NOT_MODIFIED: {
|
|
87
|
-
CODE: number;
|
|
88
|
-
MESSAGE: string;
|
|
89
|
-
};
|
|
90
|
-
USE_PROXY: {
|
|
91
|
-
CODE: number;
|
|
92
|
-
MESSAGE: string;
|
|
93
|
-
};
|
|
94
|
-
TEMPORARY_REDIRECT: {
|
|
95
|
-
CODE: number;
|
|
96
|
-
MESSAGE: string;
|
|
97
|
-
};
|
|
98
|
-
PERMANENT_REDIRECT: {
|
|
99
|
-
CODE: number;
|
|
100
|
-
MESSAGE: string;
|
|
101
|
-
};
|
|
102
|
-
BAD_REQUEST: {
|
|
103
|
-
CODE: number;
|
|
104
|
-
MESSAGE: string;
|
|
105
|
-
};
|
|
106
|
-
UNAUTHORIZED: {
|
|
107
|
-
CODE: number;
|
|
108
|
-
MESSAGE: string;
|
|
109
|
-
};
|
|
110
|
-
PAYMENT_REQUIRED: {
|
|
111
|
-
CODE: number;
|
|
112
|
-
MESSAGE: string;
|
|
113
|
-
};
|
|
114
|
-
FORBIDDEN: {
|
|
115
|
-
CODE: number;
|
|
116
|
-
MESSAGE: string;
|
|
117
|
-
};
|
|
118
|
-
NOT_FOUND: {
|
|
119
|
-
CODE: number;
|
|
120
|
-
MESSAGE: string;
|
|
121
|
-
};
|
|
122
|
-
METHOD_NOT_ALLOWED: {
|
|
123
|
-
CODE: number;
|
|
124
|
-
MESSAGE: string;
|
|
125
|
-
};
|
|
126
|
-
NOT_ACCEPTABLE: {
|
|
127
|
-
CODE: number;
|
|
128
|
-
MESSAGE: string;
|
|
129
|
-
};
|
|
130
|
-
PROXY_AUTHENTICATION_REQUIRED: {
|
|
131
|
-
CODE: number;
|
|
132
|
-
MESSAGE: string;
|
|
133
|
-
};
|
|
134
|
-
REQUEST_TIMEOUT: {
|
|
135
|
-
CODE: number;
|
|
136
|
-
MESSAGE: string;
|
|
137
|
-
};
|
|
138
|
-
CONFLICT: {
|
|
139
|
-
CODE: number;
|
|
140
|
-
MESSAGE: string;
|
|
141
|
-
};
|
|
142
|
-
GONE: {
|
|
143
|
-
CODE: number;
|
|
144
|
-
MESSAGE: string;
|
|
145
|
-
};
|
|
146
|
-
LENGTH_REQUIRED: {
|
|
147
|
-
CODE: number;
|
|
148
|
-
MESSAGE: string;
|
|
149
|
-
};
|
|
150
|
-
PRECONDITION_FAILED: {
|
|
151
|
-
CODE: number;
|
|
152
|
-
MESSAGE: string;
|
|
153
|
-
};
|
|
154
|
-
REQUEST_TOO_LONG: {
|
|
155
|
-
CODE: number;
|
|
156
|
-
MESSAGE: string;
|
|
157
|
-
};
|
|
158
|
-
REQUEST_URI_TOO_LONG: {
|
|
159
|
-
CODE: number;
|
|
160
|
-
MESSAGE: string;
|
|
161
|
-
};
|
|
162
|
-
UNSUPPORTED_MEDIA_TYPE: {
|
|
163
|
-
CODE: number;
|
|
164
|
-
MESSAGE: string;
|
|
165
|
-
};
|
|
166
|
-
REQUESTED_RANGE_NOT_SATISFIABLE: {
|
|
167
|
-
CODE: number;
|
|
168
|
-
MESSAGE: string;
|
|
169
|
-
};
|
|
170
|
-
EXPECTATION_FAILED: {
|
|
171
|
-
CODE: number;
|
|
172
|
-
MESSAGE: string;
|
|
173
|
-
};
|
|
174
|
-
IM_A_TEAPOT: {
|
|
175
|
-
CODE: number;
|
|
176
|
-
MESSAGE: string;
|
|
177
|
-
};
|
|
178
|
-
INSUFFICIENT_SPACE_ON_RESOURCE: {
|
|
179
|
-
CODE: number;
|
|
180
|
-
MESSAGE: string;
|
|
181
|
-
};
|
|
182
|
-
METHOD_FAILURE: {
|
|
183
|
-
CODE: number;
|
|
184
|
-
MESSAGE: string;
|
|
185
|
-
};
|
|
186
|
-
MISDIRECTED_REQUEST: {
|
|
187
|
-
CODE: number;
|
|
188
|
-
MESSAGE: string;
|
|
189
|
-
};
|
|
190
|
-
UNPROCESSABLE_ENTITY: {
|
|
191
|
-
CODE: number;
|
|
192
|
-
MESSAGE: string;
|
|
193
|
-
};
|
|
194
|
-
LOCKED: {
|
|
195
|
-
CODE: number;
|
|
196
|
-
MESSAGE: string;
|
|
197
|
-
};
|
|
198
|
-
FAILED_DEPENDENCY: {
|
|
199
|
-
CODE: number;
|
|
200
|
-
MESSAGE: string;
|
|
201
|
-
};
|
|
202
|
-
PRECONDITION_REQUIRED: {
|
|
203
|
-
CODE: number;
|
|
204
|
-
MESSAGE: string;
|
|
205
|
-
};
|
|
206
|
-
TOO_MANY_REQUESTS: {
|
|
207
|
-
CODE: number;
|
|
208
|
-
MESSAGE: string;
|
|
209
|
-
};
|
|
210
|
-
REQUEST_HEADER_FIELDS_TOO_LARGE: {
|
|
211
|
-
CODE: number;
|
|
212
|
-
MESSAGE: string;
|
|
213
|
-
};
|
|
214
|
-
UNAVAILABLE_FOR_LEGAL_REASONS: {
|
|
215
|
-
CODE: number;
|
|
216
|
-
MESSAGE: string;
|
|
217
|
-
};
|
|
218
|
-
INTERNAL_SERVER_ERROR: {
|
|
219
|
-
CODE: number;
|
|
220
|
-
MESSAGE: string;
|
|
221
|
-
};
|
|
222
|
-
NOT_IMPLEMENTED: {
|
|
223
|
-
CODE: number;
|
|
224
|
-
MESSAGE: string;
|
|
225
|
-
};
|
|
226
|
-
BAD_GATEWAY: {
|
|
227
|
-
CODE: number;
|
|
228
|
-
MESSAGE: string;
|
|
229
|
-
};
|
|
230
|
-
SERVICE_UNAVAILABLE: {
|
|
231
|
-
CODE: number;
|
|
232
|
-
MESSAGE: string;
|
|
233
|
-
};
|
|
234
|
-
GATEWAY_TIMEOUT: {
|
|
235
|
-
CODE: number;
|
|
236
|
-
MESSAGE: string;
|
|
237
|
-
};
|
|
238
|
-
HTTP_VERSION_NOT_SUPPORTED: {
|
|
239
|
-
CODE: number;
|
|
240
|
-
MESSAGE: string;
|
|
241
|
-
};
|
|
242
|
-
INSUFFICIENT_STORAGE: {
|
|
243
|
-
CODE: number;
|
|
244
|
-
MESSAGE: string;
|
|
245
|
-
};
|
|
246
|
-
NETWORK_AUTHENTICATION_REQUIRED: {
|
|
247
|
-
CODE: number;
|
|
248
|
-
MESSAGE: string;
|
|
249
|
-
};
|
|
250
|
-
};
|
|
251
|
-
|
|
252
|
-
export { RESPONSE_STATUS };
|
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
declare const RESPONSE_STATUS: {
|
|
2
|
-
GRAPHQL_PARSE_FAILED: {
|
|
3
|
-
CODE: string;
|
|
4
|
-
MESSAGE: string;
|
|
5
|
-
};
|
|
6
|
-
GRAPHQL_VALIDATION_FAILED: {
|
|
7
|
-
CODE: string;
|
|
8
|
-
MESSAGE: string;
|
|
9
|
-
};
|
|
10
|
-
BAD_USER_INPUT: {
|
|
11
|
-
CODE: string;
|
|
12
|
-
MESSAGE: string;
|
|
13
|
-
};
|
|
14
|
-
PERSISTED_QUERY_NOT_FOUND: {
|
|
15
|
-
CODE: string;
|
|
16
|
-
MESSAGE: string;
|
|
17
|
-
};
|
|
18
|
-
PERSISTED_QUERY_NOT_SUPPORTED: {
|
|
19
|
-
CODE: string;
|
|
20
|
-
MESSAGE: string;
|
|
21
|
-
};
|
|
22
|
-
OPERATION_RESOLUTION_FAILURE: {
|
|
23
|
-
CODE: string;
|
|
24
|
-
MESSAGE: string;
|
|
25
|
-
};
|
|
26
|
-
CONTINUE: {
|
|
27
|
-
CODE: number;
|
|
28
|
-
MESSAGE: string;
|
|
29
|
-
};
|
|
30
|
-
SWITCHING_PROTOCOLS: {
|
|
31
|
-
CODE: number;
|
|
32
|
-
MESSAGE: string;
|
|
33
|
-
};
|
|
34
|
-
PROCESSING: {
|
|
35
|
-
CODE: number;
|
|
36
|
-
MESSAGE: string;
|
|
37
|
-
};
|
|
38
|
-
OK: {
|
|
39
|
-
CODE: number;
|
|
40
|
-
MESSAGE: string;
|
|
41
|
-
};
|
|
42
|
-
CREATED: {
|
|
43
|
-
CODE: number;
|
|
44
|
-
MESSAGE: string;
|
|
45
|
-
};
|
|
46
|
-
ACCEPTED: {
|
|
47
|
-
CODE: number;
|
|
48
|
-
MESSAGE: string;
|
|
49
|
-
};
|
|
50
|
-
NON_AUTHORITATIVE_INFORMATION: {
|
|
51
|
-
CODE: number;
|
|
52
|
-
MESSAGE: string;
|
|
53
|
-
};
|
|
54
|
-
NO_CONTENT: {
|
|
55
|
-
CODE: number;
|
|
56
|
-
MESSAGE: string;
|
|
57
|
-
};
|
|
58
|
-
RESET_CONTENT: {
|
|
59
|
-
CODE: number;
|
|
60
|
-
MESSAGE: string;
|
|
61
|
-
};
|
|
62
|
-
PARTIAL_CONTENT: {
|
|
63
|
-
CODE: number;
|
|
64
|
-
MESSAGE: string;
|
|
65
|
-
};
|
|
66
|
-
MULTI_STATUS: {
|
|
67
|
-
CODE: number;
|
|
68
|
-
MESSAGE: string;
|
|
69
|
-
};
|
|
70
|
-
MULTIPLE_CHOICES: {
|
|
71
|
-
CODE: number;
|
|
72
|
-
MESSAGE: string;
|
|
73
|
-
};
|
|
74
|
-
MOVED_PERMANENTLY: {
|
|
75
|
-
CODE: number;
|
|
76
|
-
MESSAGE: string;
|
|
77
|
-
};
|
|
78
|
-
MOVED_TEMPORARILY: {
|
|
79
|
-
CODE: number;
|
|
80
|
-
MESSAGE: string;
|
|
81
|
-
};
|
|
82
|
-
SEE_OTHER: {
|
|
83
|
-
CODE: number;
|
|
84
|
-
MESSAGE: string;
|
|
85
|
-
};
|
|
86
|
-
NOT_MODIFIED: {
|
|
87
|
-
CODE: number;
|
|
88
|
-
MESSAGE: string;
|
|
89
|
-
};
|
|
90
|
-
USE_PROXY: {
|
|
91
|
-
CODE: number;
|
|
92
|
-
MESSAGE: string;
|
|
93
|
-
};
|
|
94
|
-
TEMPORARY_REDIRECT: {
|
|
95
|
-
CODE: number;
|
|
96
|
-
MESSAGE: string;
|
|
97
|
-
};
|
|
98
|
-
PERMANENT_REDIRECT: {
|
|
99
|
-
CODE: number;
|
|
100
|
-
MESSAGE: string;
|
|
101
|
-
};
|
|
102
|
-
BAD_REQUEST: {
|
|
103
|
-
CODE: number;
|
|
104
|
-
MESSAGE: string;
|
|
105
|
-
};
|
|
106
|
-
UNAUTHORIZED: {
|
|
107
|
-
CODE: number;
|
|
108
|
-
MESSAGE: string;
|
|
109
|
-
};
|
|
110
|
-
PAYMENT_REQUIRED: {
|
|
111
|
-
CODE: number;
|
|
112
|
-
MESSAGE: string;
|
|
113
|
-
};
|
|
114
|
-
FORBIDDEN: {
|
|
115
|
-
CODE: number;
|
|
116
|
-
MESSAGE: string;
|
|
117
|
-
};
|
|
118
|
-
NOT_FOUND: {
|
|
119
|
-
CODE: number;
|
|
120
|
-
MESSAGE: string;
|
|
121
|
-
};
|
|
122
|
-
METHOD_NOT_ALLOWED: {
|
|
123
|
-
CODE: number;
|
|
124
|
-
MESSAGE: string;
|
|
125
|
-
};
|
|
126
|
-
NOT_ACCEPTABLE: {
|
|
127
|
-
CODE: number;
|
|
128
|
-
MESSAGE: string;
|
|
129
|
-
};
|
|
130
|
-
PROXY_AUTHENTICATION_REQUIRED: {
|
|
131
|
-
CODE: number;
|
|
132
|
-
MESSAGE: string;
|
|
133
|
-
};
|
|
134
|
-
REQUEST_TIMEOUT: {
|
|
135
|
-
CODE: number;
|
|
136
|
-
MESSAGE: string;
|
|
137
|
-
};
|
|
138
|
-
CONFLICT: {
|
|
139
|
-
CODE: number;
|
|
140
|
-
MESSAGE: string;
|
|
141
|
-
};
|
|
142
|
-
GONE: {
|
|
143
|
-
CODE: number;
|
|
144
|
-
MESSAGE: string;
|
|
145
|
-
};
|
|
146
|
-
LENGTH_REQUIRED: {
|
|
147
|
-
CODE: number;
|
|
148
|
-
MESSAGE: string;
|
|
149
|
-
};
|
|
150
|
-
PRECONDITION_FAILED: {
|
|
151
|
-
CODE: number;
|
|
152
|
-
MESSAGE: string;
|
|
153
|
-
};
|
|
154
|
-
REQUEST_TOO_LONG: {
|
|
155
|
-
CODE: number;
|
|
156
|
-
MESSAGE: string;
|
|
157
|
-
};
|
|
158
|
-
REQUEST_URI_TOO_LONG: {
|
|
159
|
-
CODE: number;
|
|
160
|
-
MESSAGE: string;
|
|
161
|
-
};
|
|
162
|
-
UNSUPPORTED_MEDIA_TYPE: {
|
|
163
|
-
CODE: number;
|
|
164
|
-
MESSAGE: string;
|
|
165
|
-
};
|
|
166
|
-
REQUESTED_RANGE_NOT_SATISFIABLE: {
|
|
167
|
-
CODE: number;
|
|
168
|
-
MESSAGE: string;
|
|
169
|
-
};
|
|
170
|
-
EXPECTATION_FAILED: {
|
|
171
|
-
CODE: number;
|
|
172
|
-
MESSAGE: string;
|
|
173
|
-
};
|
|
174
|
-
IM_A_TEAPOT: {
|
|
175
|
-
CODE: number;
|
|
176
|
-
MESSAGE: string;
|
|
177
|
-
};
|
|
178
|
-
INSUFFICIENT_SPACE_ON_RESOURCE: {
|
|
179
|
-
CODE: number;
|
|
180
|
-
MESSAGE: string;
|
|
181
|
-
};
|
|
182
|
-
METHOD_FAILURE: {
|
|
183
|
-
CODE: number;
|
|
184
|
-
MESSAGE: string;
|
|
185
|
-
};
|
|
186
|
-
MISDIRECTED_REQUEST: {
|
|
187
|
-
CODE: number;
|
|
188
|
-
MESSAGE: string;
|
|
189
|
-
};
|
|
190
|
-
UNPROCESSABLE_ENTITY: {
|
|
191
|
-
CODE: number;
|
|
192
|
-
MESSAGE: string;
|
|
193
|
-
};
|
|
194
|
-
LOCKED: {
|
|
195
|
-
CODE: number;
|
|
196
|
-
MESSAGE: string;
|
|
197
|
-
};
|
|
198
|
-
FAILED_DEPENDENCY: {
|
|
199
|
-
CODE: number;
|
|
200
|
-
MESSAGE: string;
|
|
201
|
-
};
|
|
202
|
-
PRECONDITION_REQUIRED: {
|
|
203
|
-
CODE: number;
|
|
204
|
-
MESSAGE: string;
|
|
205
|
-
};
|
|
206
|
-
TOO_MANY_REQUESTS: {
|
|
207
|
-
CODE: number;
|
|
208
|
-
MESSAGE: string;
|
|
209
|
-
};
|
|
210
|
-
REQUEST_HEADER_FIELDS_TOO_LARGE: {
|
|
211
|
-
CODE: number;
|
|
212
|
-
MESSAGE: string;
|
|
213
|
-
};
|
|
214
|
-
UNAVAILABLE_FOR_LEGAL_REASONS: {
|
|
215
|
-
CODE: number;
|
|
216
|
-
MESSAGE: string;
|
|
217
|
-
};
|
|
218
|
-
INTERNAL_SERVER_ERROR: {
|
|
219
|
-
CODE: number;
|
|
220
|
-
MESSAGE: string;
|
|
221
|
-
};
|
|
222
|
-
NOT_IMPLEMENTED: {
|
|
223
|
-
CODE: number;
|
|
224
|
-
MESSAGE: string;
|
|
225
|
-
};
|
|
226
|
-
BAD_GATEWAY: {
|
|
227
|
-
CODE: number;
|
|
228
|
-
MESSAGE: string;
|
|
229
|
-
};
|
|
230
|
-
SERVICE_UNAVAILABLE: {
|
|
231
|
-
CODE: number;
|
|
232
|
-
MESSAGE: string;
|
|
233
|
-
};
|
|
234
|
-
GATEWAY_TIMEOUT: {
|
|
235
|
-
CODE: number;
|
|
236
|
-
MESSAGE: string;
|
|
237
|
-
};
|
|
238
|
-
HTTP_VERSION_NOT_SUPPORTED: {
|
|
239
|
-
CODE: number;
|
|
240
|
-
MESSAGE: string;
|
|
241
|
-
};
|
|
242
|
-
INSUFFICIENT_STORAGE: {
|
|
243
|
-
CODE: number;
|
|
244
|
-
MESSAGE: string;
|
|
245
|
-
};
|
|
246
|
-
NETWORK_AUTHENTICATION_REQUIRED: {
|
|
247
|
-
CODE: number;
|
|
248
|
-
MESSAGE: string;
|
|
249
|
-
};
|
|
250
|
-
};
|
|
251
|
-
|
|
252
|
-
export { RESPONSE_STATUS };
|
package/dist/index.d.cts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export { I_Config } from './typescript/config.cjs';
|
|
2
|
-
export { PROJECT_ROOT, WORKING_DIRECTORY } from './constants/path.cjs';
|
|
3
|
-
export { RESPONSE_STATUS } from './constants/response-status.cjs';
|
|
4
|
-
export { MongoController } from './nodejs/mongo.cjs';
|
|
5
|
-
export { MongooseController } from './nodejs/mongoose.cjs';
|
|
6
|
-
export { ApolloProvider } from './react/apollo-client.cjs';
|
|
7
|
-
export { Loading, LoadingContext, LoadingProvider, useLoading } from './react/loading.cjs';
|
|
8
|
-
export { NextIntlContext, NextIntlProvider, useNextIntl, useTranslateNextIntl, withNextIntl } from './react/next-intl.cjs';
|
|
9
|
-
export { useStorage } from './react/storage.cjs';
|
|
10
|
-
export { I_ApolloOptions, I_ApolloProviderProps } from './typescript/apollo.cjs';
|
|
11
|
-
export { E_ErrorType, I_BoxedLogOptions, I_ErrorEntry, I_EslintError } from './typescript/command.cjs';
|
|
12
|
-
export { I_GraphqlCodegenConfig } from './typescript/graphql-codegen.cjs';
|
|
13
|
-
export { I_LoadingProps } from './typescript/loading.cjs';
|
|
14
|
-
export { T_ThrowResponseArgs } from './typescript/log.cjs';
|
|
15
|
-
export { C_Collection, C_Db, C_Document, C_Model, I_DeleteOptionsExtended, I_ExtendedModel, I_GenerateModelOptions, I_GenerateSchemaOptions, I_GenericDocument, I_HookNextFunction, I_Input_CreateMany, I_Input_CreateOne, I_Input_DeleteMany, I_Input_DeleteOne, I_Input_FindAll, I_Input_FindOne, I_Input_FindPaging, I_Input_FindPagingAggregate, I_Input_UpdateMany, I_Input_UpdateOne, I_MongooseModelMiddleware, I_MongooseOptions, I_Return, I_ReturnFailure, I_ReturnSuccess, I_SlugifyOptions, I_UpdateOptionsExtended, T_AggregatePaginateResult, T_DeleteResult, T_Filter, T_FilterQuery, T_GenerateSlugQueryResponse, T_Input_MongooseSchema, T_Input_Populate, T_InsertManyOptions, T_InsertManyResult, T_InsertOneResult, T_MiddlewareContext, T_MongooseModelMiddlewareFunction, T_MongoosePlugin, T_MongooseShema, T_OptionalUnlessRequiredId, T_PaginateOptions, T_PaginateOptionsWithPopulate, T_PaginateResult, T_PipelineStage, T_PopulateOption, T_PopulateOptions, T_ProjectionType, T_QueryOptions, T_UpdateQuery, T_UpdateResult, T_WithId } from './typescript/mongoose.cjs';
|
|
16
|
-
export { I_NextIntlContextType, I_NextIntlLanguage, T_NextIntlMessageList } from './typescript/next-intl.cjs';
|
|
17
|
-
export { I_LoadingContext, T_Children } from './typescript/react.cjs';
|
|
18
|
-
export { I_Serializer } from './typescript/serializer.cjs';
|
|
19
|
-
export { clearAllErrorLists, commandLog, executeCommand, getStoredErrorLists, saveErrorListToStorage } from './utils/command.cjs';
|
|
20
|
-
export { fileExists } from './utils/fs.cjs';
|
|
21
|
-
export { generateModel, generateSchema, generateShortId, generateSlug, generateSlugQuery, getMongoGenericFields } from './utils/mongoose.cjs';
|
|
22
|
-
export { getLatestPackageVersion, isCurrentProject, isPackageOutdated, updatePackage } from './utils/npm-package.cjs';
|
|
23
|
-
export { initNodePersist, storageDir, storageServer } from './utils/storage-server.cjs';
|
|
24
|
-
export { isJson, regexSearchMapper, removeAccent } from './utils/common.cjs';
|
|
25
|
-
export { deepMerge } from './utils/config.cjs';
|
|
26
|
-
export { getMongoDateTime } from './utils/datetime.cjs';
|
|
27
|
-
export { throwResponse } from './utils/log.cjs';
|
|
28
|
-
export { serializer } from './utils/serializer.cjs';
|
|
29
|
-
export { storageClient } from './utils/storage-client.cjs';
|
|
30
|
-
export { validate } from './utils/validate.cjs';
|
|
31
|
-
export { ApolloCache, ApolloClient, ApolloClientOptions } from '@apollo/client';
|
|
32
|
-
export { default as aggregatePaginate } from 'mongoose-aggregate-paginate-v2';
|
|
33
|
-
export { default as mongoosePaginate } from 'mongoose-paginate-v2';
|
|
34
|
-
import 'react/jsx-runtime';
|
|
35
|
-
import 'react';
|
|
36
|
-
import 'use-intl';
|
|
37
|
-
import 'mongodb';
|
|
38
|
-
import 'mongoose';
|
|
39
|
-
import 'date-fns';
|
|
40
|
-
import 'next-intl';
|