@getcommunity/gc-validators 0.0.271 → 0.0.275
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-B7kKDFJO.d.cts → document-BA_9IHG1.d.cts} +1 -1
- package/dist/{document-AE-Lyn30.d.mts → document-BgZzXEUS.d.mts} +1 -1
- package/dist/{document-LPOrkdSg.d.cts → document-CCgfBoN9.d.cts} +1 -1
- package/dist/{document-DQ7MVuRL.d.mts → document-CbuOZgfv.d.mts} +1 -1
- package/dist/{document-BJyaFe7J.mjs → document-CzkTVfEl.mjs} +19 -19
- package/dist/entities/audit-log/fields.d.cts +1 -1
- package/dist/entities/audit-log/fields.d.mts +1 -1
- package/dist/entities/audit-log/query.d.cts +1 -1
- package/dist/entities/audit-log/query.d.mts +1 -1
- package/dist/entities/blog-post/document.d.cts +1 -1
- package/dist/entities/blog-post/document.d.mts +1 -1
- package/dist/entities/blog-post/fields.d.cts +1 -1
- package/dist/entities/blog-post/fields.d.mts +1 -1
- package/dist/entities/blog-post/query.d.cts +2 -2
- package/dist/entities/blog-post/query.d.mts +2 -2
- package/dist/entities/category/document.d.cts +1 -1
- package/dist/entities/category/document.d.mts +1 -1
- package/dist/entities/category/fields.d.cts +1 -1
- package/dist/entities/category/fields.d.mts +1 -1
- package/dist/entities/category/query.d.cts +1 -1
- package/dist/entities/category/query.d.mts +1 -1
- 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/fields.d.cts +1 -1
- package/dist/entities/client/fields.d.mts +1 -1
- package/dist/entities/client/query.d.cts +1 -1
- package/dist/entities/client/query.d.mts +1 -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/fields.d.cts +1 -1
- package/dist/entities/client-project/fields.d.mts +1 -1
- package/dist/entities/client-project/query.d.cts +1 -1
- package/dist/entities/client-project/query.d.mts +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-report/fields.d.cts +1 -1
- package/dist/entities/client-report/fields.d.mts +1 -1
- package/dist/entities/client-report/query.d.cts +1 -1
- package/dist/entities/client-report/query.d.mts +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-styleguide/fields.d.cts +1 -1
- package/dist/entities/client-styleguide/fields.d.mts +1 -1
- package/dist/entities/client-styleguide/query.d.cts +1 -1
- package/dist/entities/client-styleguide/query.d.mts +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/content-pillar/fields.d.cts +1 -1
- package/dist/entities/content-pillar/fields.d.mts +1 -1
- package/dist/entities/content-pillar/query.d.cts +1 -1
- package/dist/entities/content-pillar/query.d.mts +1 -1
- 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/fields.d.cts +1 -1
- package/dist/entities/gcflytour/fields.d.mts +1 -1
- package/dist/entities/gcflytour/query.d.cts +1 -1
- package/dist/entities/gcflytour/query.d.mts +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/gcflytour-snap/fields.d.cts +1 -1
- package/dist/entities/gcflytour-snap/fields.d.mts +1 -1
- package/dist/entities/gcflytour-snap/query.d.cts +1 -1
- package/dist/entities/gcflytour-snap/query.d.mts +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-content-type/fields.d.cts +1 -1
- package/dist/entities/media-content-type/fields.d.mts +1 -1
- package/dist/entities/media-content-type/query.d.cts +1 -1
- package/dist/entities/media-content-type/query.d.mts +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-creative-format/fields.d.cts +1 -1
- package/dist/entities/media-creative-format/fields.d.mts +1 -1
- package/dist/entities/media-creative-format/query.d.cts +1 -1
- package/dist/entities/media-creative-format/query.d.mts +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-medium/fields.d.cts +1 -1
- package/dist/entities/media-medium/fields.d.mts +1 -1
- package/dist/entities/media-medium/query.d.cts +1 -1
- package/dist/entities/media-medium/query.d.mts +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/media-platform/fields.d.cts +1 -1
- package/dist/entities/media-platform/fields.d.mts +1 -1
- package/dist/entities/media-platform/query.d.cts +1 -1
- package/dist/entities/media-platform/query.d.mts +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/monday-workspace/fields.d.cts +1 -1
- package/dist/entities/monday-workspace/fields.d.mts +1 -1
- package/dist/entities/monday-workspace/query.d.cts +1 -1
- package/dist/entities/monday-workspace/query.d.mts +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/tag/fields.d.cts +1 -1
- package/dist/entities/tag/fields.d.mts +1 -1
- package/dist/entities/tag/query.d.cts +1 -1
- package/dist/entities/tag/query.d.mts +1 -1
- package/dist/entities/team-member/document.d.cts +1 -1
- package/dist/entities/team-member/document.d.mts +1 -1
- package/dist/entities/trend/document.d.cts +1 -1
- package/dist/entities/trend/document.d.mts +1 -1
- package/dist/entities/up-auth/mutation.cjs +2 -0
- package/dist/entities/up-auth/mutation.d.cts +11 -2
- package/dist/entities/up-auth/mutation.d.mts +11 -2
- package/dist/entities/up-auth/mutation.mjs +2 -1
- 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/entities/utm-tracking-link/fields.d.cts +1 -1
- package/dist/entities/utm-tracking-link/fields.d.mts +1 -1
- package/dist/entities/utm-tracking-link/query.d.cts +1 -1
- package/dist/entities/utm-tracking-link/query.d.mts +1 -1
- package/dist/{fields-CudH3ne7.d.mts → fields-BW3moBNx.d.mts} +1 -1
- package/dist/{fields-BW7t28s0.d.cts → fields-Be8xfIi_.d.cts} +1 -1
- package/dist/{fields-BTUnOHmB.d.cts → fields-DTXGGSP_.d.cts} +1 -1
- package/dist/{fields-DzDtA1n5.d.mts → fields-v7iVQ877.d.mts} +1 -1
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/package.json +1 -1
- package/dist/{document-Didp4YL0.cjs → document-BVO49bjm.cjs} +18 -18
|
@@ -8,7 +8,7 @@ declare const QueryStrapiSearchMondayWorkspaces: v.ObjectSchema<{
|
|
|
8
8
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
9
|
readonly workspace_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
10
10
|
readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
11
|
-
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "
|
|
11
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "title" | "createdAt" | "updatedAt" | "clients.title" | "clients.teamwork_name" | "workspace_id">>, undefined>;
|
|
12
12
|
}, undefined>;
|
|
13
13
|
type QueryStrapiSearchMondayWorkspaces = v.InferOutput<typeof QueryStrapiSearchMondayWorkspaces>;
|
|
14
14
|
//#endregion
|
|
@@ -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-BVO49bjm.cjs");
|
|
3
3
|
exports.ProductHighlightDocument = require_document.ProductHighlightDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { h as ProductHighlightDocument } from "../../document-
|
|
1
|
+
import { h as ProductHighlightDocument } from "../../document-CCgfBoN9.cjs";
|
|
2
2
|
export { ProductHighlightDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { h as ProductHighlightDocument } from "../../document-
|
|
1
|
+
import { h as ProductHighlightDocument } from "../../document-BgZzXEUS.mjs";
|
|
2
2
|
export { ProductHighlightDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as ProductHighlightDocument } from "../../document-CzkTVfEl.mjs";
|
|
2
2
|
export { ProductHighlightDocument };
|
|
@@ -2,7 +2,7 @@ import { r as QuerySortOutput } from "../../sort-D9B3xl2d.cjs";
|
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/tag/fields.d.ts
|
|
5
|
-
declare const QuerySortTags: v.GenericSchema<QuerySortOutput<"id" | "
|
|
5
|
+
declare const QuerySortTags: v.GenericSchema<QuerySortOutput<"id" | "slug" | "createdAt" | "updatedAt" | "label">>;
|
|
6
6
|
type QuerySortTags = v.InferOutput<typeof QuerySortTags>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { QuerySortTags };
|
|
@@ -2,7 +2,7 @@ import { r as QuerySortOutput } from "../../sort-CGhEoZGd.mjs";
|
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/tag/fields.d.ts
|
|
5
|
-
declare const QuerySortTags: v.GenericSchema<QuerySortOutput<"id" | "
|
|
5
|
+
declare const QuerySortTags: v.GenericSchema<QuerySortOutput<"id" | "slug" | "createdAt" | "updatedAt" | "label">>;
|
|
6
6
|
type QuerySortTags = v.InferOutput<typeof QuerySortTags>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { QuerySortTags };
|
|
@@ -7,7 +7,7 @@ declare const QueryStrapiSearchTags: v.ObjectSchema<{
|
|
|
7
7
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
8
8
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
9
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
10
|
-
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "
|
|
10
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "slug" | "createdAt" | "updatedAt" | "label">>, undefined>;
|
|
11
11
|
}, undefined>;
|
|
12
12
|
type QueryStrapiSearchTags = v.InferOutput<typeof QueryStrapiSearchTags>;
|
|
13
13
|
//#endregion
|
|
@@ -7,7 +7,7 @@ declare const QueryStrapiSearchTags: v.ObjectSchema<{
|
|
|
7
7
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
8
8
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
9
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
10
|
-
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "
|
|
10
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "slug" | "createdAt" | "updatedAt" | "label">>, undefined>;
|
|
11
11
|
}, undefined>;
|
|
12
12
|
type QueryStrapiSearchTags = v.InferOutput<typeof QueryStrapiSearchTags>;
|
|
13
13
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TeamMemberDocument } from "../../document-
|
|
1
|
+
import { n as TeamMemberDocument } from "../../document-BA_9IHG1.cjs";
|
|
2
2
|
export { TeamMemberDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TeamMemberDocument } from "../../document-
|
|
1
|
+
import { n as TeamMemberDocument } from "../../document-CbuOZgfv.mjs";
|
|
2
2
|
export { TeamMemberDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as TrendDocument } from "../../document-
|
|
1
|
+
import { r as TrendDocument } from "../../document-BA_9IHG1.cjs";
|
|
2
2
|
export { TrendDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as TrendDocument } from "../../document-
|
|
1
|
+
import { r as TrendDocument } from "../../document-CbuOZgfv.mjs";
|
|
2
2
|
export { TrendDocument };
|
|
@@ -9,6 +9,7 @@ let valibot = require("valibot");
|
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
10
|
//#region src/entities/up-auth/mutation.ts
|
|
11
11
|
const SUserToken = valibot.object({ token: valibot.string() });
|
|
12
|
+
const SRefreshUserToken = valibot.object({ refreshToken: valibot.string() });
|
|
12
13
|
const SLoginUser = valibot.object({
|
|
13
14
|
identifier: require_email.VStringEmail(),
|
|
14
15
|
password: require_string.VStringMinMax(8, 255)
|
|
@@ -53,6 +54,7 @@ exports.SAuthRawAccessToken = SAuthRawAccessToken;
|
|
|
53
54
|
exports.SChangePassword = SChangePassword;
|
|
54
55
|
exports.SForgotUserPassword = SForgotUserPassword;
|
|
55
56
|
exports.SLoginUser = SLoginUser;
|
|
57
|
+
exports.SRefreshUserToken = SRefreshUserToken;
|
|
56
58
|
exports.SRegisterUser = SRegisterUser;
|
|
57
59
|
exports.SRequestConfirmEmail = SRequestConfirmEmail;
|
|
58
60
|
exports.SResetUserPassword = SResetUserPassword;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as UserDocument, v as UserAccountDocument, y as RoleDocument } from "../../document-
|
|
1
|
+
import { g as UserDocument, v as UserAccountDocument, y as RoleDocument } from "../../document-CCgfBoN9.cjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/up-auth/mutation.d.ts
|
|
@@ -8,12 +8,21 @@ type AuthorizedUserDocument = Omit<UserDocument, "role" | "account" | "clients"
|
|
|
8
8
|
};
|
|
9
9
|
type UserAuthorizationSuccessResponse = {
|
|
10
10
|
jwt: string;
|
|
11
|
+
refreshToken?: string;
|
|
11
12
|
user: Omit<UserDocument, "role" | "account" | "clients" | "utm_tracking_links">;
|
|
12
13
|
};
|
|
14
|
+
type UserRefreshAuthorizationSuccessResponse = {
|
|
15
|
+
jwt: string;
|
|
16
|
+
refreshToken: string;
|
|
17
|
+
};
|
|
13
18
|
declare const SUserToken: v.ObjectSchema<{
|
|
14
19
|
readonly token: v.StringSchema<undefined>;
|
|
15
20
|
}, undefined>;
|
|
16
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>;
|
|
17
26
|
declare const SLoginUser: v.ObjectSchema<{
|
|
18
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>]>;
|
|
19
28
|
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -92,4 +101,4 @@ declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
|
|
|
92
101
|
}, undefined>;
|
|
93
102
|
type SAuthConnectProviderConfirmation = v.InferOutput<typeof SAuthConnectProviderConfirmation>;
|
|
94
103
|
//#endregion
|
|
95
|
-
export { AuthorizedUserDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken, UserAuthorizationSuccessResponse };
|
|
104
|
+
export { AuthorizedUserDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRefreshUserToken, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken, UserAuthorizationSuccessResponse, UserRefreshAuthorizationSuccessResponse };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as UserDocument, v as UserAccountDocument, y as RoleDocument } from "../../document-
|
|
1
|
+
import { g as UserDocument, v as UserAccountDocument, y as RoleDocument } from "../../document-BgZzXEUS.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/up-auth/mutation.d.ts
|
|
@@ -8,12 +8,21 @@ type AuthorizedUserDocument = Omit<UserDocument, "role" | "account" | "clients"
|
|
|
8
8
|
};
|
|
9
9
|
type UserAuthorizationSuccessResponse = {
|
|
10
10
|
jwt: string;
|
|
11
|
+
refreshToken?: string;
|
|
11
12
|
user: Omit<UserDocument, "role" | "account" | "clients" | "utm_tracking_links">;
|
|
12
13
|
};
|
|
14
|
+
type UserRefreshAuthorizationSuccessResponse = {
|
|
15
|
+
jwt: string;
|
|
16
|
+
refreshToken: string;
|
|
17
|
+
};
|
|
13
18
|
declare const SUserToken: v.ObjectSchema<{
|
|
14
19
|
readonly token: v.StringSchema<undefined>;
|
|
15
20
|
}, undefined>;
|
|
16
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>;
|
|
17
26
|
declare const SLoginUser: v.ObjectSchema<{
|
|
18
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>]>;
|
|
19
28
|
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
@@ -92,4 +101,4 @@ declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
|
|
|
92
101
|
}, undefined>;
|
|
93
102
|
type SAuthConnectProviderConfirmation = v.InferOutput<typeof SAuthConnectProviderConfirmation>;
|
|
94
103
|
//#endregion
|
|
95
|
-
export { AuthorizedUserDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken, UserAuthorizationSuccessResponse };
|
|
104
|
+
export { AuthorizedUserDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRefreshUserToken, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken, UserAuthorizationSuccessResponse, UserRefreshAuthorizationSuccessResponse };
|
|
@@ -6,6 +6,7 @@ import { ValidUsername } from "../up-user/fields.mjs";
|
|
|
6
6
|
import * as v from "valibot";
|
|
7
7
|
//#region src/entities/up-auth/mutation.ts
|
|
8
8
|
const SUserToken = v.object({ token: v.string() });
|
|
9
|
+
const SRefreshUserToken = v.object({ refreshToken: v.string() });
|
|
9
10
|
const SLoginUser = v.object({
|
|
10
11
|
identifier: VStringEmail(),
|
|
11
12
|
password: VStringMinMax(8, 255)
|
|
@@ -44,4 +45,4 @@ const SAuthConnectProviderConfirmation = v.object({
|
|
|
44
45
|
search: SAuthConnectProviderRedirectSearch
|
|
45
46
|
});
|
|
46
47
|
//#endregion
|
|
47
|
-
export { SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken };
|
|
48
|
+
export { SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRefreshUserToken, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken };
|
|
@@ -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-BVO49bjm.cjs");
|
|
3
3
|
exports.PermissionDocument = require_document.PermissionDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { b as PermissionDocument } from "../../document-
|
|
1
|
+
import { b as PermissionDocument } from "../../document-CCgfBoN9.cjs";
|
|
2
2
|
export { PermissionDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { b as PermissionDocument } from "../../document-
|
|
1
|
+
import { b as PermissionDocument } from "../../document-BgZzXEUS.mjs";
|
|
2
2
|
export { PermissionDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as PermissionDocument } from "../../document-CzkTVfEl.mjs";
|
|
2
2
|
export { PermissionDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { y as RoleDocument } from "../../document-
|
|
1
|
+
import { y as RoleDocument } from "../../document-CCgfBoN9.cjs";
|
|
2
2
|
export { RoleDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { y as RoleDocument } from "../../document-
|
|
1
|
+
import { y as RoleDocument } from "../../document-BgZzXEUS.mjs";
|
|
2
2
|
export { RoleDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as RoleDocument } from "../../document-CzkTVfEl.mjs";
|
|
2
2
|
export { RoleDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { g as UserDocument } from "../../document-
|
|
1
|
+
import { g as UserDocument } from "../../document-CCgfBoN9.cjs";
|
|
2
2
|
export { UserDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { g as UserDocument } from "../../document-
|
|
1
|
+
import { g as UserDocument } from "../../document-BgZzXEUS.mjs";
|
|
2
2
|
export { UserDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as UserDocument } from "../../document-CzkTVfEl.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-BVO49bjm.cjs");
|
|
3
3
|
exports.UserAccountDocument = require_document.UserAccountDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { v as UserAccountDocument } from "../../document-
|
|
1
|
+
import { v as UserAccountDocument } from "../../document-CCgfBoN9.cjs";
|
|
2
2
|
export { UserAccountDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { v as UserAccountDocument } from "../../document-
|
|
1
|
+
import { v as UserAccountDocument } from "../../document-BgZzXEUS.mjs";
|
|
2
2
|
export { UserAccountDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as UserAccountDocument } from "../../document-CzkTVfEl.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-BVO49bjm.cjs");
|
|
3
3
|
exports.UtmTrackingLinkDocument = require_document.UtmTrackingLinkDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as UtmTrackingLinkDocument } from "../../document-
|
|
1
|
+
import { _ as UtmTrackingLinkDocument } from "../../document-CCgfBoN9.cjs";
|
|
2
2
|
export { UtmTrackingLinkDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as UtmTrackingLinkDocument } from "../../document-
|
|
1
|
+
import { _ as UtmTrackingLinkDocument } from "../../document-BgZzXEUS.mjs";
|
|
2
2
|
export { UtmTrackingLinkDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as UtmTrackingLinkDocument } from "../../document-CzkTVfEl.mjs";
|
|
2
2
|
export { UtmTrackingLinkDocument };
|
|
@@ -2,7 +2,7 @@ import { r as QuerySortOutput } from "../../sort-D9B3xl2d.cjs";
|
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/utm-tracking-link/fields.d.ts
|
|
5
|
-
declare const QuerySortUtmTrackingLinks: v.GenericSchema<QuerySortOutput<"id" | "
|
|
5
|
+
declare const QuerySortUtmTrackingLinks: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "url" | "is_active" | "client" | "campaign_product" | "campaign_targeting" | "campaign_key" | "campaign_phase" | "creative_format" | "creative_format_variants" | "creator" | "url_destination" | "utm_medium" | "utm_source" | "utm_campaign" | "utm_content" | "utm_creative_format" | "utm_id">>;
|
|
6
6
|
type QuerySortUtmTrackingLinks = v.InferOutput<typeof QuerySortUtmTrackingLinks>;
|
|
7
7
|
declare const ValidUtmSource: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
8
8
|
type ValidUtmSource = v.InferOutput<typeof ValidUtmSource>;
|
|
@@ -2,7 +2,7 @@ import { r as QuerySortOutput } from "../../sort-CGhEoZGd.mjs";
|
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/utm-tracking-link/fields.d.ts
|
|
5
|
-
declare const QuerySortUtmTrackingLinks: v.GenericSchema<QuerySortOutput<"id" | "
|
|
5
|
+
declare const QuerySortUtmTrackingLinks: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "url" | "is_active" | "client" | "campaign_product" | "campaign_targeting" | "campaign_key" | "campaign_phase" | "creative_format" | "creative_format_variants" | "creator" | "url_destination" | "utm_medium" | "utm_source" | "utm_campaign" | "utm_content" | "utm_creative_format" | "utm_id">>;
|
|
6
6
|
type QuerySortUtmTrackingLinks = v.InferOutput<typeof QuerySortUtmTrackingLinks>;
|
|
7
7
|
declare const ValidUtmSource: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
8
8
|
type ValidUtmSource = v.InferOutput<typeof ValidUtmSource>;
|
|
@@ -25,7 +25,7 @@ declare const QueryStrapiSearchUtmTrackingLinks: v.ObjectSchema<{
|
|
|
25
25
|
readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>, undefined>;
|
|
26
26
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
27
27
|
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
28
|
-
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "
|
|
28
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "url" | "is_active" | "client" | "campaign_product" | "campaign_targeting" | "campaign_key" | "campaign_phase" | "creative_format" | "creative_format_variants" | "creator" | "url_destination" | "utm_medium" | "utm_source" | "utm_campaign" | "utm_content" | "utm_creative_format" | "utm_id">>, undefined>;
|
|
29
29
|
}, undefined>;
|
|
30
30
|
type QueryStrapiSearchUtmTrackingLinks = v.InferOutput<typeof QueryStrapiSearchUtmTrackingLinks>;
|
|
31
31
|
//#endregion
|
|
@@ -25,7 +25,7 @@ declare const QueryStrapiSearchUtmTrackingLinks: v.ObjectSchema<{
|
|
|
25
25
|
readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>, undefined>;
|
|
26
26
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
27
27
|
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
28
|
-
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "
|
|
28
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "url" | "is_active" | "client" | "campaign_product" | "campaign_targeting" | "campaign_key" | "campaign_phase" | "creative_format" | "creative_format_variants" | "creator" | "url_destination" | "utm_medium" | "utm_source" | "utm_campaign" | "utm_content" | "utm_creative_format" | "utm_id">>, undefined>;
|
|
29
29
|
}, undefined>;
|
|
30
30
|
type QueryStrapiSearchUtmTrackingLinks = v.InferOutput<typeof QueryStrapiSearchUtmTrackingLinks>;
|
|
31
31
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { r as QuerySortOutput } from "./sort-CGhEoZGd.mjs";
|
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/client-project/fields.d.ts
|
|
5
|
-
declare const QuerySortClientProjects: v.GenericSchema<QuerySortOutput<"id" | "
|
|
5
|
+
declare const QuerySortClientProjects: v.GenericSchema<QuerySortOutput<"id" | "title" | "slug" | "createdAt" | "updatedAt" | "is_active" | "is_hidden" | "project_phase" | "project_url" | "project_type" | "project_pricing" | "project_address" | "phone_number" | "num_of_models" | "num_of_units_remain" | "buyer_profile" | "social_organic_start_date" | "paid_media_start_date" | "go_date">>;
|
|
6
6
|
type QuerySortClientProjects = v.InferOutput<typeof QuerySortClientProjects>;
|
|
7
7
|
declare const ClientProjectStatus: v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], undefined>;
|
|
8
8
|
type ClientProjectStatus = v.InferOutput<typeof ClientProjectStatus>;
|
|
@@ -2,7 +2,7 @@ import { r as QuerySortOutput } from "./sort-D9B3xl2d.cjs";
|
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/client-project/fields.d.ts
|
|
5
|
-
declare const QuerySortClientProjects: v.GenericSchema<QuerySortOutput<"id" | "
|
|
5
|
+
declare const QuerySortClientProjects: v.GenericSchema<QuerySortOutput<"id" | "title" | "slug" | "createdAt" | "updatedAt" | "is_active" | "is_hidden" | "project_phase" | "project_url" | "project_type" | "project_pricing" | "project_address" | "phone_number" | "num_of_models" | "num_of_units_remain" | "buyer_profile" | "social_organic_start_date" | "paid_media_start_date" | "go_date">>;
|
|
6
6
|
type QuerySortClientProjects = v.InferOutput<typeof QuerySortClientProjects>;
|
|
7
7
|
declare const ClientProjectStatus: v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], undefined>;
|
|
8
8
|
type ClientProjectStatus = v.InferOutput<typeof ClientProjectStatus>;
|
|
@@ -2,7 +2,7 @@ import { r as QuerySortOutput } from "./sort-D9B3xl2d.cjs";
|
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/blog-post/fields.d.ts
|
|
5
|
-
declare const QuerySortBlogPosts: v.GenericSchema<QuerySortOutput<"id" | "
|
|
5
|
+
declare const QuerySortBlogPosts: v.GenericSchema<QuerySortOutput<"id" | "title" | "slug" | "is_live" | "is_featured" | "is_public" | "published" | "createdAt" | "updatedAt">>;
|
|
6
6
|
type QuerySortBlogPosts = v.InferOutput<typeof QuerySortBlogPosts>;
|
|
7
7
|
declare const BlogPostLayout: v.PicklistSchema<readonly ["main-aside", "center-column"], undefined>;
|
|
8
8
|
type BlogPostLayout = v.InferOutput<typeof BlogPostLayout>;
|
|
@@ -2,7 +2,7 @@ import { r as QuerySortOutput } from "./sort-CGhEoZGd.mjs";
|
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/blog-post/fields.d.ts
|
|
5
|
-
declare const QuerySortBlogPosts: v.GenericSchema<QuerySortOutput<"id" | "
|
|
5
|
+
declare const QuerySortBlogPosts: v.GenericSchema<QuerySortOutput<"id" | "title" | "slug" | "is_live" | "is_featured" | "is_public" | "published" | "createdAt" | "updatedAt">>;
|
|
6
6
|
type QuerySortBlogPosts = v.InferOutput<typeof QuerySortBlogPosts>;
|
|
7
7
|
declare const BlogPostLayout: v.PicklistSchema<readonly ["main-aside", "center-column"], undefined>;
|
|
8
8
|
type BlogPostLayout = v.InferOutput<typeof BlogPostLayout>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-
|
|
1
|
+
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-CCgfBoN9.cjs";
|
|
2
2
|
import { a as CLIENT_ENTITY_SCOPES, c as ClientEntityScope, i as CLIENT_ENTITY_PERMISSIONS, o as ClientEntityActions, r as CLIENT_ENTITY_KEYS, s as ClientEntityKey } from "../fields-BU_IFcBS.cjs";
|
|
3
3
|
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, ROLE_PERMISSIONS, RolesWithPermissions };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-
|
|
1
|
+
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-BgZzXEUS.mjs";
|
|
2
2
|
import { a as CLIENT_ENTITY_SCOPES, c as ClientEntityScope, i as CLIENT_ENTITY_PERMISSIONS, o as ClientEntityActions, r as CLIENT_ENTITY_KEYS, s as ClientEntityKey } from "../fields-BNS6GlPT.mjs";
|
|
3
3
|
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, ROLE_PERMISSIONS, RolesWithPermissions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-LS8utbTg.cjs";
|
|
2
|
-
import { i as ClientUserDocumentStatus, o as Permissions } from "../document-
|
|
2
|
+
import { i as ClientUserDocumentStatus, o as Permissions } from "../document-CCgfBoN9.cjs";
|
|
3
3
|
import { t as RoleType } from "../fields-CBluzZFa.cjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
import { AuthorizedUserDocument } from "~/entities/up-auth/types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-DHkpV702.mjs";
|
|
2
|
-
import { i as ClientUserDocumentStatus, o as Permissions } from "../document-
|
|
2
|
+
import { i as ClientUserDocumentStatus, o as Permissions } from "../document-BgZzXEUS.mjs";
|
|
3
3
|
import { t as RoleType } from "../fields-BaWTQtqo.mjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
import { AuthorizedUserDocument } from "~/entities/up-auth/types";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getcommunity/gc-validators",
|
|
3
3
|
"description": "Schema Validator for GetCommunity web-stack types",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.275",
|
|
5
5
|
"author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
|
|
6
6
|
"contributors": [],
|
|
7
7
|
"type": "module",
|
|
@@ -13,6 +13,24 @@ const require_entities_client_user_fields = require("./entities/client-user/fiel
|
|
|
13
13
|
const require_entities_product_document = require("./entities/product/document.cjs");
|
|
14
14
|
let valibot = require("valibot");
|
|
15
15
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
16
|
+
//#region src/entities/content-pillar/document.ts
|
|
17
|
+
const ContentPillarDocument = valibot.object({
|
|
18
|
+
...require_document.BaseDocument.entries,
|
|
19
|
+
title: valibot.string(),
|
|
20
|
+
slug: valibot.string(),
|
|
21
|
+
description: valibot.nullable(valibot.string()),
|
|
22
|
+
information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock)),
|
|
23
|
+
clients: require_relation.VDocumentRelationMany(() => ClientContentPillarDocument)
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/entities/client-content-pillar/document.ts
|
|
27
|
+
const ClientContentPillarDocument = valibot.object({
|
|
28
|
+
...require_document.BaseDocument.entries,
|
|
29
|
+
is_active: valibot.boolean(),
|
|
30
|
+
client: require_relation.VDocumentRelationOne(() => ClientDocument),
|
|
31
|
+
content_pillar: require_relation.VDocumentRelationOne(() => ContentPillarDocument)
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
16
34
|
//#region src/entities/media-creative-format/document.ts
|
|
17
35
|
const MediaCreativeFormatDocument = valibot.object({
|
|
18
36
|
...require_document.BaseDocument.entries,
|
|
@@ -283,24 +301,6 @@ const ClientDocument = valibot.object({
|
|
|
283
301
|
gcflytours: require_relation.VDocumentRelationMany(() => GCFlyTourDocument)
|
|
284
302
|
});
|
|
285
303
|
//#endregion
|
|
286
|
-
//#region src/entities/content-pillar/document.ts
|
|
287
|
-
const ContentPillarDocument = valibot.object({
|
|
288
|
-
...require_document.BaseDocument.entries,
|
|
289
|
-
title: valibot.string(),
|
|
290
|
-
slug: valibot.string(),
|
|
291
|
-
description: valibot.nullable(valibot.string()),
|
|
292
|
-
information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock)),
|
|
293
|
-
clients: require_relation.VDocumentRelationMany(() => ClientContentPillarDocument)
|
|
294
|
-
});
|
|
295
|
-
//#endregion
|
|
296
|
-
//#region src/entities/client-content-pillar/document.ts
|
|
297
|
-
const ClientContentPillarDocument = valibot.object({
|
|
298
|
-
...require_document.BaseDocument.entries,
|
|
299
|
-
is_active: valibot.boolean(),
|
|
300
|
-
client: require_relation.VDocumentRelationOne(() => ClientDocument),
|
|
301
|
-
content_pillar: require_relation.VDocumentRelationOne(() => ContentPillarDocument)
|
|
302
|
-
});
|
|
303
|
-
//#endregion
|
|
304
304
|
Object.defineProperty(exports, "ClientContentPillarDocument", {
|
|
305
305
|
enumerable: true,
|
|
306
306
|
get: function() {
|