@getcommunity/gc-validators 0.0.287 → 0.0.288-alpha.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/{document-D8qKQkPt.mjs → document-BiAMIsiM.mjs} +64 -64
- package/dist/{document-Cxhs9JXi.d.mts → document-Bs5gh1PK.d.mts} +118 -19
- package/dist/{document-Cv0UyYmb.d.cts → document-DZnOyFC3.d.cts} +118 -19
- package/dist/entities/client/document.cjs +1 -1
- package/dist/entities/client/document.d.cts +1 -1
- package/dist/entities/client/document.d.mts +1 -1
- package/dist/entities/client/document.mjs +1 -1
- package/dist/entities/client/query.cjs +39 -0
- package/dist/entities/client/query.d.cts +641 -1
- package/dist/entities/client/query.d.mts +641 -1
- package/dist/entities/client/query.mjs +38 -1
- package/dist/entities/client-content-pillar/document.cjs +1 -1
- package/dist/entities/client-content-pillar/document.d.cts +1 -1
- package/dist/entities/client-content-pillar/document.d.mts +1 -1
- package/dist/entities/client-content-pillar/document.mjs +1 -1
- package/dist/entities/client-media-platform/document.cjs +1 -1
- package/dist/entities/client-media-platform/document.d.cts +1 -1
- package/dist/entities/client-media-platform/document.d.mts +1 -1
- package/dist/entities/client-media-platform/document.mjs +1 -1
- package/dist/entities/client-project/document.cjs +1 -1
- package/dist/entities/client-project/document.d.cts +1 -1
- package/dist/entities/client-project/document.d.mts +1 -1
- package/dist/entities/client-project/document.mjs +1 -1
- package/dist/entities/client-project/mutation.cjs +1 -1
- package/dist/entities/client-project/mutation.mjs +1 -1
- package/dist/entities/client-project/query.cjs +1 -1
- package/dist/entities/client-project/query.mjs +1 -1
- package/dist/entities/client-report/document.cjs +1 -1
- package/dist/entities/client-report/document.d.cts +1 -1
- package/dist/entities/client-report/document.d.mts +1 -1
- package/dist/entities/client-report/document.mjs +1 -1
- package/dist/entities/client-styleguide/document.cjs +1 -1
- package/dist/entities/client-styleguide/document.d.cts +1 -1
- package/dist/entities/client-styleguide/document.d.mts +1 -1
- package/dist/entities/client-styleguide/document.mjs +1 -1
- package/dist/entities/client-user/document.cjs +1 -1
- package/dist/entities/client-user/document.d.cts +1 -1
- package/dist/entities/client-user/document.d.mts +1 -1
- package/dist/entities/client-user/document.mjs +1 -1
- package/dist/entities/content-pillar/document.cjs +1 -1
- package/dist/entities/content-pillar/document.d.cts +1 -1
- package/dist/entities/content-pillar/document.d.mts +1 -1
- package/dist/entities/content-pillar/document.mjs +1 -1
- package/dist/entities/formatter/constants.d.cts +1 -1
- package/dist/entities/formatter/constants.d.mts +1 -1
- package/dist/entities/formatter/fields.d.cts +4 -4
- package/dist/entities/formatter/fields.d.mts +4 -4
- package/dist/entities/gcflytour/document.cjs +1 -1
- package/dist/entities/gcflytour/document.d.cts +1 -1
- package/dist/entities/gcflytour/document.d.mts +1 -1
- package/dist/entities/gcflytour/document.mjs +1 -1
- package/dist/entities/gcflytour-snap/document.cjs +1 -1
- package/dist/entities/gcflytour-snap/document.d.cts +1 -1
- package/dist/entities/gcflytour-snap/document.d.mts +1 -1
- package/dist/entities/gcflytour-snap/document.mjs +1 -1
- package/dist/entities/media-content-type/document.cjs +1 -1
- package/dist/entities/media-content-type/document.d.cts +1 -1
- package/dist/entities/media-content-type/document.d.mts +1 -1
- package/dist/entities/media-content-type/document.mjs +1 -1
- package/dist/entities/media-creative-format/document.cjs +1 -1
- package/dist/entities/media-creative-format/document.d.cts +1 -1
- package/dist/entities/media-creative-format/document.d.mts +1 -1
- package/dist/entities/media-creative-format/document.mjs +1 -1
- package/dist/entities/media-medium/document.cjs +1 -1
- package/dist/entities/media-medium/document.d.cts +1 -1
- package/dist/entities/media-medium/document.d.mts +1 -1
- package/dist/entities/media-medium/document.mjs +1 -1
- package/dist/entities/media-platform/document.cjs +1 -1
- package/dist/entities/media-platform/document.d.cts +1 -1
- package/dist/entities/media-platform/document.d.mts +1 -1
- package/dist/entities/media-platform/document.mjs +1 -1
- package/dist/entities/monday-workspace/document.cjs +1 -1
- package/dist/entities/monday-workspace/document.d.cts +1 -1
- package/dist/entities/monday-workspace/document.d.mts +1 -1
- package/dist/entities/monday-workspace/document.mjs +1 -1
- package/dist/entities/product-highlight/document.cjs +1 -1
- package/dist/entities/product-highlight/document.d.cts +1 -1
- package/dist/entities/product-highlight/document.d.mts +1 -1
- package/dist/entities/product-highlight/document.mjs +1 -1
- package/dist/entities/up-auth/mutation.d.cts +1 -103
- package/dist/entities/up-auth/mutation.d.mts +1 -103
- package/dist/entities/up-permission/document.cjs +1 -1
- package/dist/entities/up-permission/document.d.cts +1 -1
- package/dist/entities/up-permission/document.d.mts +1 -1
- package/dist/entities/up-permission/document.mjs +1 -1
- package/dist/entities/up-role/document.cjs +1 -1
- package/dist/entities/up-role/document.d.cts +1 -1
- package/dist/entities/up-role/document.d.mts +1 -1
- package/dist/entities/up-role/document.mjs +1 -1
- package/dist/entities/up-user/document.cjs +1 -1
- package/dist/entities/up-user/document.d.cts +1 -1
- package/dist/entities/up-user/document.d.mts +1 -1
- package/dist/entities/up-user/document.mjs +1 -1
- package/dist/entities/user-account/document.cjs +1 -1
- package/dist/entities/user-account/document.d.cts +1 -1
- package/dist/entities/user-account/document.d.mts +1 -1
- package/dist/entities/user-account/document.mjs +1 -1
- package/dist/entities/utm-tracking-link/document.cjs +1 -1
- package/dist/entities/utm-tracking-link/document.d.cts +1 -1
- package/dist/entities/utm-tracking-link/document.d.mts +1 -1
- package/dist/entities/utm-tracking-link/document.mjs +1 -1
- package/dist/filters/index.cjs +206 -0
- package/dist/filters/index.d.cts +484 -0
- package/dist/filters/index.d.mts +484 -0
- package/dist/filters/index.mjs +181 -0
- package/dist/index-CvAzE6rd.d.cts +25 -0
- package/dist/index-CvAzE6rd.d.mts +25 -0
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/string-CJYo78-9.cjs +254 -0
- package/dist/string-sEYvBtr0.mjs +133 -0
- package/dist/utilities/index.d.cts +1 -2
- package/dist/utilities/index.d.mts +1 -2
- package/dist/validators/index.cjs +2 -2
- package/dist/validators/index.mjs +2 -2
- package/package.json +20 -6
- package/dist/{document-DmlmGzg1.cjs → document-CHO80cjy.cjs} +63 -63
|
@@ -1,104 +1,2 @@
|
|
|
1
|
-
import { g as
|
|
2
|
-
import * as v from "valibot";
|
|
3
|
-
|
|
4
|
-
//#region src/entities/up-auth/mutation.d.ts
|
|
5
|
-
type AuthorizedUserDocument = Omit<UserDocument, "role" | "account" | "clients" | "utm_tracking_links"> & {
|
|
6
|
-
account: Omit<UserAccountDocument, "user">;
|
|
7
|
-
role: Omit<RoleDocument, "users" | "permissions">;
|
|
8
|
-
};
|
|
9
|
-
type UserAuthorizationSuccessResponse = {
|
|
10
|
-
jwt: string;
|
|
11
|
-
refreshToken?: string;
|
|
12
|
-
user: Omit<UserDocument, "role" | "account" | "clients" | "utm_tracking_links">;
|
|
13
|
-
};
|
|
14
|
-
type UserRefreshAuthorizationSuccessResponse = {
|
|
15
|
-
jwt: string;
|
|
16
|
-
refreshToken: string;
|
|
17
|
-
};
|
|
18
|
-
declare const SUserToken: v.ObjectSchema<{
|
|
19
|
-
readonly token: v.StringSchema<undefined>;
|
|
20
|
-
}, undefined>;
|
|
21
|
-
type SUserToken = v.InferOutput<typeof SUserToken>;
|
|
22
|
-
declare const SRefreshUserToken: v.ObjectSchema<{
|
|
23
|
-
readonly refreshToken: v.StringSchema<undefined>;
|
|
24
|
-
}, undefined>;
|
|
25
|
-
type SRefreshUserToken = v.InferOutput<typeof SRefreshUserToken>;
|
|
26
|
-
declare const SLoginUser: v.ObjectSchema<{
|
|
27
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
28
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
29
|
-
}, undefined>;
|
|
30
|
-
type SLoginUser = v.InferOutput<typeof SLoginUser>;
|
|
31
|
-
declare const SRegisterUser: v.ObjectSchema<{
|
|
32
|
-
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
33
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
34
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
35
|
-
}, undefined>;
|
|
36
|
-
type SRegisterUser = v.InferOutput<typeof SRegisterUser>;
|
|
37
|
-
declare const SForgotUserPassword: v.ObjectSchema<{
|
|
38
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
39
|
-
}, undefined>;
|
|
40
|
-
type SForgotUserPassword = v.InferOutput<typeof SForgotUserPassword>;
|
|
41
|
-
declare const SRequestConfirmEmail: v.ObjectSchema<{
|
|
42
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
43
|
-
}, undefined>;
|
|
44
|
-
type SRequestConfirmEmail = v.InferOutput<typeof SRequestConfirmEmail>;
|
|
45
|
-
declare const SResetUserPassword: v.ObjectSchema<{
|
|
46
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
47
|
-
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
48
|
-
readonly code: v.StringSchema<undefined>;
|
|
49
|
-
}, undefined>;
|
|
50
|
-
type SResetUserPassword = v.InferOutput<typeof SResetUserPassword>;
|
|
51
|
-
declare const SChangePassword: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
52
|
-
readonly currentPassword: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
53
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
54
|
-
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
55
|
-
}, undefined>, v.BaseValidation<{
|
|
56
|
-
currentPassword: string;
|
|
57
|
-
password: string;
|
|
58
|
-
passwordConfirmation: string;
|
|
59
|
-
}, {
|
|
60
|
-
currentPassword: string;
|
|
61
|
-
password: string;
|
|
62
|
-
passwordConfirmation: string;
|
|
63
|
-
}, v.PartialCheckIssue<{
|
|
64
|
-
password: string;
|
|
65
|
-
passwordConfirmation: string;
|
|
66
|
-
}>>]>;
|
|
67
|
-
type SChangePassword = v.InferOutput<typeof SChangePassword>;
|
|
68
|
-
declare const SAuthRawAccessToken: v.ObjectSchema<{
|
|
69
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
70
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
71
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
72
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
73
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
74
|
-
}, undefined>;
|
|
75
|
-
type SAuthRawAccessToken = v.InferOutput<typeof SAuthRawAccessToken>;
|
|
76
|
-
declare const SAuthConnectProviderRedirectSearch: v.ObjectSchema<{
|
|
77
|
-
readonly id_token: v.StringSchema<undefined>;
|
|
78
|
-
readonly access_token: v.StringSchema<undefined>;
|
|
79
|
-
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
80
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
81
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
82
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
83
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
84
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
85
|
-
}, undefined>, undefined>;
|
|
86
|
-
}, undefined>;
|
|
87
|
-
type SAuthConnectProviderRedirectSearch = v.InferOutput<typeof SAuthConnectProviderRedirectSearch>;
|
|
88
|
-
declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
|
|
89
|
-
readonly provider: v.StringSchema<undefined>;
|
|
90
|
-
readonly search: v.ObjectSchema<{
|
|
91
|
-
readonly id_token: v.StringSchema<undefined>;
|
|
92
|
-
readonly access_token: v.StringSchema<undefined>;
|
|
93
|
-
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
94
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
95
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
96
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
97
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
98
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
99
|
-
}, undefined>, undefined>;
|
|
100
|
-
}, undefined>;
|
|
101
|
-
}, undefined>;
|
|
102
|
-
type SAuthConnectProviderConfirmation = v.InferOutput<typeof SAuthConnectProviderConfirmation>;
|
|
103
|
-
//#endregion
|
|
1
|
+
import { C as SRefreshUserToken, D as SUserToken, E as SResetUserPassword, O as UserAuthorizationSuccessResponse, S as SLoginUser, T as SRequestConfirmEmail, _ as SAuthConnectProviderConfirmation, b as SChangePassword, g as AuthorizedUserDocument, k as UserRefreshAuthorizationSuccessResponse, v as SAuthConnectProviderRedirectSearch, w as SRegisterUser, x as SForgotUserPassword, y as SAuthRawAccessToken } from "../../document-DZnOyFC3.cjs";
|
|
104
2
|
export { AuthorizedUserDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRefreshUserToken, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken, UserAuthorizationSuccessResponse, UserRefreshAuthorizationSuccessResponse };
|
|
@@ -1,104 +1,2 @@
|
|
|
1
|
-
import { g as
|
|
2
|
-
import * as v from "valibot";
|
|
3
|
-
|
|
4
|
-
//#region src/entities/up-auth/mutation.d.ts
|
|
5
|
-
type AuthorizedUserDocument = Omit<UserDocument, "role" | "account" | "clients" | "utm_tracking_links"> & {
|
|
6
|
-
account: Omit<UserAccountDocument, "user">;
|
|
7
|
-
role: Omit<RoleDocument, "users" | "permissions">;
|
|
8
|
-
};
|
|
9
|
-
type UserAuthorizationSuccessResponse = {
|
|
10
|
-
jwt: string;
|
|
11
|
-
refreshToken?: string;
|
|
12
|
-
user: Omit<UserDocument, "role" | "account" | "clients" | "utm_tracking_links">;
|
|
13
|
-
};
|
|
14
|
-
type UserRefreshAuthorizationSuccessResponse = {
|
|
15
|
-
jwt: string;
|
|
16
|
-
refreshToken: string;
|
|
17
|
-
};
|
|
18
|
-
declare const SUserToken: v.ObjectSchema<{
|
|
19
|
-
readonly token: v.StringSchema<undefined>;
|
|
20
|
-
}, undefined>;
|
|
21
|
-
type SUserToken = v.InferOutput<typeof SUserToken>;
|
|
22
|
-
declare const SRefreshUserToken: v.ObjectSchema<{
|
|
23
|
-
readonly refreshToken: v.StringSchema<undefined>;
|
|
24
|
-
}, undefined>;
|
|
25
|
-
type SRefreshUserToken = v.InferOutput<typeof SRefreshUserToken>;
|
|
26
|
-
declare const SLoginUser: v.ObjectSchema<{
|
|
27
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
28
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
29
|
-
}, undefined>;
|
|
30
|
-
type SLoginUser = v.InferOutput<typeof SLoginUser>;
|
|
31
|
-
declare const SRegisterUser: v.ObjectSchema<{
|
|
32
|
-
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
33
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
34
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
35
|
-
}, undefined>;
|
|
36
|
-
type SRegisterUser = v.InferOutput<typeof SRegisterUser>;
|
|
37
|
-
declare const SForgotUserPassword: v.ObjectSchema<{
|
|
38
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
39
|
-
}, undefined>;
|
|
40
|
-
type SForgotUserPassword = v.InferOutput<typeof SForgotUserPassword>;
|
|
41
|
-
declare const SRequestConfirmEmail: v.ObjectSchema<{
|
|
42
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
43
|
-
}, undefined>;
|
|
44
|
-
type SRequestConfirmEmail = v.InferOutput<typeof SRequestConfirmEmail>;
|
|
45
|
-
declare const SResetUserPassword: v.ObjectSchema<{
|
|
46
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
47
|
-
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
48
|
-
readonly code: v.StringSchema<undefined>;
|
|
49
|
-
}, undefined>;
|
|
50
|
-
type SResetUserPassword = v.InferOutput<typeof SResetUserPassword>;
|
|
51
|
-
declare const SChangePassword: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
52
|
-
readonly currentPassword: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
53
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
54
|
-
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
55
|
-
}, undefined>, v.BaseValidation<{
|
|
56
|
-
currentPassword: string;
|
|
57
|
-
password: string;
|
|
58
|
-
passwordConfirmation: string;
|
|
59
|
-
}, {
|
|
60
|
-
currentPassword: string;
|
|
61
|
-
password: string;
|
|
62
|
-
passwordConfirmation: string;
|
|
63
|
-
}, v.PartialCheckIssue<{
|
|
64
|
-
password: string;
|
|
65
|
-
passwordConfirmation: string;
|
|
66
|
-
}>>]>;
|
|
67
|
-
type SChangePassword = v.InferOutput<typeof SChangePassword>;
|
|
68
|
-
declare const SAuthRawAccessToken: v.ObjectSchema<{
|
|
69
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
70
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
71
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
72
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
73
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
74
|
-
}, undefined>;
|
|
75
|
-
type SAuthRawAccessToken = v.InferOutput<typeof SAuthRawAccessToken>;
|
|
76
|
-
declare const SAuthConnectProviderRedirectSearch: v.ObjectSchema<{
|
|
77
|
-
readonly id_token: v.StringSchema<undefined>;
|
|
78
|
-
readonly access_token: v.StringSchema<undefined>;
|
|
79
|
-
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
80
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
81
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
82
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
83
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
84
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
85
|
-
}, undefined>, undefined>;
|
|
86
|
-
}, undefined>;
|
|
87
|
-
type SAuthConnectProviderRedirectSearch = v.InferOutput<typeof SAuthConnectProviderRedirectSearch>;
|
|
88
|
-
declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
|
|
89
|
-
readonly provider: v.StringSchema<undefined>;
|
|
90
|
-
readonly search: v.ObjectSchema<{
|
|
91
|
-
readonly id_token: v.StringSchema<undefined>;
|
|
92
|
-
readonly access_token: v.StringSchema<undefined>;
|
|
93
|
-
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
94
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
95
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
96
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
97
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
98
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
99
|
-
}, undefined>, undefined>;
|
|
100
|
-
}, undefined>;
|
|
101
|
-
}, undefined>;
|
|
102
|
-
type SAuthConnectProviderConfirmation = v.InferOutput<typeof SAuthConnectProviderConfirmation>;
|
|
103
|
-
//#endregion
|
|
1
|
+
import { C as SRefreshUserToken, D as SUserToken, E as SResetUserPassword, O as UserAuthorizationSuccessResponse, S as SLoginUser, T as SRequestConfirmEmail, _ as SAuthConnectProviderConfirmation, b as SChangePassword, g as AuthorizedUserDocument, k as UserRefreshAuthorizationSuccessResponse, v as SAuthConnectProviderRedirectSearch, w as SRegisterUser, x as SForgotUserPassword, y as SAuthRawAccessToken } from "../../document-Bs5gh1PK.mjs";
|
|
104
2
|
export { AuthorizedUserDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRefreshUserToken, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken, UserAuthorizationSuccessResponse, UserRefreshAuthorizationSuccessResponse };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-CHO80cjy.cjs");
|
|
3
3
|
exports.PermissionDocument = require_document.PermissionDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as PermissionDocument } from "../../document-DZnOyFC3.cjs";
|
|
2
2
|
export { PermissionDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as PermissionDocument } from "../../document-Bs5gh1PK.mjs";
|
|
2
2
|
export { PermissionDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as PermissionDocument } from "../../document-BiAMIsiM.mjs";
|
|
2
2
|
export { PermissionDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as RoleDocument } from "../../document-DZnOyFC3.cjs";
|
|
2
2
|
export { RoleDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as RoleDocument } from "../../document-Bs5gh1PK.mjs";
|
|
2
2
|
export { RoleDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as RoleDocument } from "../../document-BiAMIsiM.mjs";
|
|
2
2
|
export { RoleDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as UserDocument } from "../../document-DZnOyFC3.cjs";
|
|
2
2
|
export { UserDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as UserDocument } from "../../document-Bs5gh1PK.mjs";
|
|
2
2
|
export { UserDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as UserDocument } from "../../document-BiAMIsiM.mjs";
|
|
2
2
|
export { UserDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-CHO80cjy.cjs");
|
|
3
3
|
exports.UserAccountDocument = require_document.UserAccountDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as UserAccountDocument } from "../../document-DZnOyFC3.cjs";
|
|
2
2
|
export { UserAccountDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as UserAccountDocument } from "../../document-Bs5gh1PK.mjs";
|
|
2
2
|
export { UserAccountDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as UserAccountDocument } from "../../document-BiAMIsiM.mjs";
|
|
2
2
|
export { UserAccountDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-CHO80cjy.cjs");
|
|
3
3
|
exports.UtmTrackingLinkDocument = require_document.UtmTrackingLinkDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as UtmTrackingLinkDocument } from "../../document-DZnOyFC3.cjs";
|
|
2
2
|
export { UtmTrackingLinkDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as UtmTrackingLinkDocument } from "../../document-Bs5gh1PK.mjs";
|
|
2
2
|
export { UtmTrackingLinkDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as UtmTrackingLinkDocument } from "../../document-BiAMIsiM.mjs";
|
|
2
2
|
export { UtmTrackingLinkDocument };
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_chunk = require("../chunk-D6vf50IK.cjs");
|
|
3
|
+
const require_email = require("../email-dsbWKuhH.cjs");
|
|
4
|
+
const require_relationships = require("../relationships-yGO2L8BR.cjs");
|
|
5
|
+
const require_string = require("../string-CJYo78-9.cjs");
|
|
6
|
+
const require_slug = require("../slug-BcLLMLTX.cjs");
|
|
7
|
+
const require_urls = require("../urls-J0K4TM4q.cjs");
|
|
8
|
+
let valibot = require("valibot");
|
|
9
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
|
+
//#region src/filters/constants.ts
|
|
11
|
+
const STRAPI_FILTER_OPERATORS = {
|
|
12
|
+
$eq: {
|
|
13
|
+
type: "comparison",
|
|
14
|
+
valueType: [
|
|
15
|
+
"string",
|
|
16
|
+
"number",
|
|
17
|
+
"boolean",
|
|
18
|
+
"date",
|
|
19
|
+
"datetime",
|
|
20
|
+
"picklist"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
$ne: {
|
|
24
|
+
type: "comparison",
|
|
25
|
+
valueType: [
|
|
26
|
+
"string",
|
|
27
|
+
"number",
|
|
28
|
+
"boolean",
|
|
29
|
+
"date",
|
|
30
|
+
"datetime",
|
|
31
|
+
"picklist"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
$eqi: {
|
|
35
|
+
type: "comparison",
|
|
36
|
+
valueType: ["string"]
|
|
37
|
+
},
|
|
38
|
+
$nei: {
|
|
39
|
+
type: "comparison",
|
|
40
|
+
valueType: ["string"]
|
|
41
|
+
},
|
|
42
|
+
$gt: {
|
|
43
|
+
type: "comparison",
|
|
44
|
+
valueType: [
|
|
45
|
+
"number",
|
|
46
|
+
"date",
|
|
47
|
+
"datetime"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
$gte: {
|
|
51
|
+
type: "comparison",
|
|
52
|
+
valueType: [
|
|
53
|
+
"number",
|
|
54
|
+
"date",
|
|
55
|
+
"datetime"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
$lt: {
|
|
59
|
+
type: "comparison",
|
|
60
|
+
valueType: [
|
|
61
|
+
"number",
|
|
62
|
+
"date",
|
|
63
|
+
"datetime"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
$lte: {
|
|
67
|
+
type: "comparison",
|
|
68
|
+
valueType: [
|
|
69
|
+
"number",
|
|
70
|
+
"date",
|
|
71
|
+
"datetime"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
$contains: {
|
|
75
|
+
type: "string",
|
|
76
|
+
valueType: ["string"]
|
|
77
|
+
},
|
|
78
|
+
$containsi: {
|
|
79
|
+
type: "string",
|
|
80
|
+
valueType: ["string"]
|
|
81
|
+
},
|
|
82
|
+
$endsWith: {
|
|
83
|
+
type: "string",
|
|
84
|
+
valueType: ["string"]
|
|
85
|
+
},
|
|
86
|
+
$endsWithi: {
|
|
87
|
+
type: "string",
|
|
88
|
+
valueType: ["string"]
|
|
89
|
+
},
|
|
90
|
+
$notContains: {
|
|
91
|
+
type: "string",
|
|
92
|
+
valueType: ["string"]
|
|
93
|
+
},
|
|
94
|
+
$notContainsi: {
|
|
95
|
+
type: "string",
|
|
96
|
+
valueType: ["string"]
|
|
97
|
+
},
|
|
98
|
+
$startsWith: {
|
|
99
|
+
type: "string",
|
|
100
|
+
valueType: ["string"]
|
|
101
|
+
},
|
|
102
|
+
$startsWithi: {
|
|
103
|
+
type: "string",
|
|
104
|
+
valueType: ["string"]
|
|
105
|
+
},
|
|
106
|
+
$in: {
|
|
107
|
+
type: "array",
|
|
108
|
+
valueType: [
|
|
109
|
+
"string",
|
|
110
|
+
"number",
|
|
111
|
+
"date",
|
|
112
|
+
"picklist"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
$notIn: {
|
|
116
|
+
type: "array",
|
|
117
|
+
valueType: [
|
|
118
|
+
"string",
|
|
119
|
+
"number",
|
|
120
|
+
"date",
|
|
121
|
+
"picklist"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
$between: {
|
|
125
|
+
type: "array",
|
|
126
|
+
valueType: [
|
|
127
|
+
"number",
|
|
128
|
+
"date",
|
|
129
|
+
"datetime"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
$notNull: {
|
|
133
|
+
type: "null",
|
|
134
|
+
valueType: ["nullable"]
|
|
135
|
+
},
|
|
136
|
+
$null: {
|
|
137
|
+
type: "null",
|
|
138
|
+
valueType: ["nullable"]
|
|
139
|
+
},
|
|
140
|
+
$and: {
|
|
141
|
+
type: "logical",
|
|
142
|
+
valueType: ["join"]
|
|
143
|
+
},
|
|
144
|
+
$not: {
|
|
145
|
+
type: "logical",
|
|
146
|
+
valueType: ["join"]
|
|
147
|
+
},
|
|
148
|
+
$or: {
|
|
149
|
+
type: "logical",
|
|
150
|
+
valueType: ["join"]
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/filters/generics/identifier.ts
|
|
155
|
+
const createExactIdentifierFilter = (value) => require_string.createStrapiFieldOperatorSchema({
|
|
156
|
+
...require_string.createStrapiEqualityOperatorEntries(value),
|
|
157
|
+
...require_string.createStrapiCaseInsensitiveEqualityOperatorEntries(value),
|
|
158
|
+
...require_string.createStrapiArrayMembershipOperatorEntries(value)
|
|
159
|
+
});
|
|
160
|
+
const DocumentIdFilter = createExactIdentifierFilter(require_relationships.AssociateOneEntity);
|
|
161
|
+
const SlugFilter = createExactIdentifierFilter(require_slug.VStringSlug());
|
|
162
|
+
const EmailFilter = createExactIdentifierFilter(require_email.VStringEmail());
|
|
163
|
+
const UrlFilter = createExactIdentifierFilter(require_urls.VStringUrl());
|
|
164
|
+
const NumberFilterValue = valibot.pipe(valibot.union([valibot.number(), valibot.pipe(valibot.string(), valibot.trim(), valibot.regex(/^-?(?:\d+|\d*\.\d+)$/), valibot.transform(Number))]), valibot.finite());
|
|
165
|
+
const IntegerFilterValue = valibot.pipe(NumberFilterValue, valibot.integer());
|
|
166
|
+
const IdFilterValue = valibot.pipe(IntegerFilterValue, valibot.minValue(1));
|
|
167
|
+
const NumberFilter = require_string.createStrapiFieldOperatorSchema({
|
|
168
|
+
...require_string.createStrapiEqualityOperatorEntries(NumberFilterValue),
|
|
169
|
+
...require_string.createStrapiOrderedComparisonOperatorEntries(NumberFilterValue),
|
|
170
|
+
...require_string.createStrapiMembershipOperatorEntries(NumberFilterValue),
|
|
171
|
+
...require_string.StrapiNullOperatorEntries
|
|
172
|
+
});
|
|
173
|
+
const IntegerFilter = require_string.createStrapiFieldOperatorSchema({
|
|
174
|
+
...require_string.createStrapiEqualityOperatorEntries(IntegerFilterValue),
|
|
175
|
+
...require_string.createStrapiOrderedComparisonOperatorEntries(IntegerFilterValue),
|
|
176
|
+
...require_string.createStrapiMembershipOperatorEntries(IntegerFilterValue),
|
|
177
|
+
...require_string.StrapiNullOperatorEntries
|
|
178
|
+
});
|
|
179
|
+
const IdFilter = require_string.createStrapiFieldOperatorSchema({
|
|
180
|
+
...require_string.createStrapiEqualityOperatorEntries(IdFilterValue),
|
|
181
|
+
...require_string.createStrapiArrayMembershipOperatorEntries(IdFilterValue)
|
|
182
|
+
});
|
|
183
|
+
//#endregion
|
|
184
|
+
exports.BooleanFilter = require_string.BooleanFilter;
|
|
185
|
+
exports.BooleanFilterValue = require_string.BooleanFilterValue;
|
|
186
|
+
exports.DateFilter = require_string.DateFilter;
|
|
187
|
+
exports.DateFilterValue = require_string.DateFilterValue;
|
|
188
|
+
exports.DateTimeFilter = require_string.DateTimeFilter;
|
|
189
|
+
exports.DateTimeFilterValue = require_string.DateTimeFilterValue;
|
|
190
|
+
exports.DocumentIdFilter = DocumentIdFilter;
|
|
191
|
+
exports.EmailFilter = EmailFilter;
|
|
192
|
+
exports.ExactStringFilter = require_string.ExactStringFilter;
|
|
193
|
+
exports.IdFilter = IdFilter;
|
|
194
|
+
exports.IdFilterValue = IdFilterValue;
|
|
195
|
+
exports.IntegerFilter = IntegerFilter;
|
|
196
|
+
exports.IntegerFilterValue = IntegerFilterValue;
|
|
197
|
+
exports.LongStringFilter = require_string.LongStringFilter;
|
|
198
|
+
exports.NumberFilter = NumberFilter;
|
|
199
|
+
exports.NumberFilterValue = NumberFilterValue;
|
|
200
|
+
exports.STRAPI_FILTER_OPERATORS = STRAPI_FILTER_OPERATORS;
|
|
201
|
+
exports.SlugFilter = SlugFilter;
|
|
202
|
+
exports.StringFilter = require_string.StringFilter;
|
|
203
|
+
exports.TimeFilter = require_string.TimeFilter;
|
|
204
|
+
exports.TimeFilterValue = require_string.TimeFilterValue;
|
|
205
|
+
exports.UrlFilter = UrlFilter;
|
|
206
|
+
exports.createPicklistFilter = require_string.createPicklistFilter;
|