@pipe0/ops 0.0.4 → 0.0.5
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/CHANGELOG.md +8 -0
- package/dist/fields/field-catalog.d.ts +934 -0
- package/dist/fields/json-meta/fields/crustdata-company-match.d.ts +79 -0
- package/dist/fields/json-meta/fields/crustdata-person-match.d.ts +115 -0
- package/dist/fields/json-meta/fields/crustdata-post-list.d.ts +29 -0
- package/dist/form-generation/fields.d.ts +92 -40
- package/dist/index.js +4234 -1938
- package/dist/payload-config/country-codes.d.ts +7 -0
- package/dist/payload-config/linkedin-standard-industries.d.ts +1 -0
- package/dist/pipes/catalog/entries/company-identity-2.d.ts +3 -3
- package/dist/pipes/catalog/entries/company-lookalikes-companyenrich-1.d.ts +5 -5
- package/dist/pipes/catalog/entries/company-match-logodev-1.d.ts +4 -4
- package/dist/pipes/catalog/entries/company-newssummary-website-1.d.ts +3 -3
- package/dist/pipes/catalog/entries/company-overview-2.d.ts +6 -6
- package/dist/pipes/catalog/entries/company-techstack-builtwith-1.d.ts +6 -6
- package/dist/pipes/catalog/entries/company-websiteurl-email-1.d.ts +3 -3
- package/dist/pipes/catalog/entries/contact-create-resent-1.d.ts +2 -2
- package/dist/pipes/catalog/entries/deprecated/company-identity-1.d.ts +3 -3
- package/dist/pipes/catalog/entries/deprecated/company-overview-1.d.ts +6 -6
- package/dist/pipes/catalog/entries/deprecated/people-mobile-number-professional-profile-waterfall-1.d.ts +6 -6
- package/dist/pipes/catalog/entries/deprecated/people-mobile-number-work-email-waterfall-1.d.ts +6 -6
- package/dist/pipes/catalog/entries/deprecated/people-professionalprofile-waterfall-1.d.ts +3 -3
- package/dist/pipes/catalog/entries/deprecated/people-professionalprofileurl-email-waterfall-1.d.ts +6 -6
- package/dist/pipes/catalog/entries/email-write-1.d.ts +16 -16
- package/dist/pipes/catalog/entries/message-write-1.d.ts +8 -8
- package/dist/pipes/catalog/entries/people-email-iswork-1.d.ts +3 -3
- package/dist/pipes/catalog/entries/people-match-role-waterfall-1.d.ts +3 -3
- package/dist/pipes/catalog/entries/people-name-join-1.d.ts +6 -6
- package/dist/pipes/catalog/entries/people-name-split-1.d.ts +3 -3
- package/dist/pipes/catalog/entries/people-personalemail-profile-waterfall-1.d.ts +6 -6
- package/dist/pipes/catalog/entries/people-phone-profile-waterfall-1.d.ts +6 -6
- package/dist/pipes/catalog/entries/people-phone-workemail-waterfall-1.d.ts +6 -6
- package/dist/pipes/catalog/entries/people-posts-crustdata-1.d.ts +225 -0
- package/dist/pipes/catalog/entries/people-profile-waterfall-1.d.ts +3 -3
- package/dist/pipes/catalog/entries/people-profileurl-email-waterfall-1.d.ts +6 -6
- package/dist/pipes/catalog/entries/prompt-run-1.d.ts +8 -8
- package/dist/pipes/catalog/entries/sheet-append-1.d.ts +4 -4
- package/dist/pipes/catalog/entries/sheet-expandappend-1.d.ts +4 -4
- package/dist/pipes/catalog/entries/website-extract-firecrawl-1.d.ts +4 -4
- package/dist/pipes/catalog/entries/website-maplinks-firecrawl-1.d.ts +10 -10
- package/dist/pipes/catalog/entries/website-scrape-firecrawl-1.d.ts +2 -2
- package/dist/pipes/catalog/entries/website-scrapelist-firecrawl-1.d.ts +2 -2
- package/dist/pipes/catalog/pipe.d.ts +433 -3
- package/dist/pipes/catalog/pipes-catalog.d.ts +619 -265
- package/dist/pipes/catalog/utils/get-pipe-instances.d.ts +2 -2
- package/dist/pipes/catalog/utils/index.d.ts +33 -33
- package/dist/pipes/catalog/utils/partner-logos.d.ts +3 -0
- package/dist/pipes/providers/provider-catalog.d.ts +12 -0
- package/dist/pipes/providers/provider-utils.d.ts +33 -21
- package/dist/pipes/utils/pipes-utils.d.ts +30 -30
- package/dist/pipes/utils/schemas-primitives.d.ts +29 -1
- package/dist/pipes/utils/sheet-schemas-primitives.d.ts +304 -93
- package/dist/searches/catalog/entries/companies-profiles-crustdata-1.d.ts +264 -0
- package/dist/searches/catalog/entries/companies-profiles-exa-1.d.ts +2 -2
- package/dist/searches/catalog/entries/companies-profiles-icypeas-1.d.ts +14 -14
- package/dist/searches/catalog/entries/deprecated/people-profiles-clado-1.d.ts +2 -2
- package/dist/searches/catalog/entries/people-employees-leadmagic-1.d.ts +2 -2
- package/dist/searches/catalog/entries/people-profiles-clado-2.d.ts +5 -5
- package/dist/searches/catalog/entries/people-profiles-crustdata-1.d.ts +261 -0
- package/dist/searches/catalog/entries/people-profiles-exa-1.d.ts +2 -2
- package/dist/searches/catalog/entries/people-profiles-icypeas-1.d.ts +2 -2
- package/dist/searches/catalog/entries/utils/crustdata-options-helpers.d.ts +13 -0
- package/dist/searches/catalog/searches-catalog.d.ts +1210 -266
- package/dist/searches/index.d.ts +270 -16
- package/dist/searches/schemas.d.ts +3 -1
- package/dist/utils/connection-id.d.ts +1 -1
- package/dist/utils/icons.d.ts +1 -1
- package/dist/utils/schemas.d.ts +7 -2
- package/package.json +3 -2
- package/dist/payload-config/provider-info.d.ts +0 -1
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const CrustdataCompanyMatchSchema: z.ZodObject<{
|
|
3
|
+
company_id: z.ZodNumber;
|
|
4
|
+
year_founded: z.ZodNumber;
|
|
5
|
+
crunchbase_valuation_usd: z.ZodNumber;
|
|
6
|
+
last_funding_round_investment_usd: z.ZodNumber;
|
|
7
|
+
estimated_revenue_lower_bound_usd: z.ZodNumber;
|
|
8
|
+
estimated_revenue_higher_bound_usd: z.ZodNumber;
|
|
9
|
+
crunchbase_total_investment_usd: z.ZodNumber;
|
|
10
|
+
crunchbase_valuation_lower_bound_usd: z.ZodNumber;
|
|
11
|
+
company_name: z.ZodString;
|
|
12
|
+
hq_country: z.ZodString;
|
|
13
|
+
hq_street_address_and_city: z.ZodString;
|
|
14
|
+
largest_headcount_country: z.ZodString;
|
|
15
|
+
crunchbase_uuid: z.ZodString;
|
|
16
|
+
linkedin_profile_name: z.ZodString;
|
|
17
|
+
linkedin_profile_url: z.ZodString;
|
|
18
|
+
linkedin_id: z.ZodString;
|
|
19
|
+
linkedin_company_description: z.ZodString;
|
|
20
|
+
last_funding_round_type: z.ZodString;
|
|
21
|
+
hq_location: z.ZodString;
|
|
22
|
+
employee_count_range: z.ZodString;
|
|
23
|
+
company_type: z.ZodString;
|
|
24
|
+
company_website: z.ZodString;
|
|
25
|
+
company_website_domain: z.ZodString;
|
|
26
|
+
crunchbase_profile_url: z.ZodString;
|
|
27
|
+
acquisition_status: z.ZodString;
|
|
28
|
+
fiscal_year_end: z.ZodString;
|
|
29
|
+
twitter_profile_url: z.ZodOptional<z.ZodString>;
|
|
30
|
+
twitter_handle: z.ZodOptional<z.ZodString>;
|
|
31
|
+
crunchbase_valuation_date: z.ZodString;
|
|
32
|
+
ipo_date: z.ZodString;
|
|
33
|
+
last_funding_date: z.ZodString;
|
|
34
|
+
growth_calculation_date: z.ZodString;
|
|
35
|
+
updated_at: z.ZodString;
|
|
36
|
+
indexed_at: z.ZodString;
|
|
37
|
+
linkedin_industries: z.ZodArray<z.ZodString>;
|
|
38
|
+
linkedin_categories: z.ZodArray<z.ZodString>;
|
|
39
|
+
office_addresses: z.ZodArray<z.ZodString>;
|
|
40
|
+
crunchbase_investors: z.ZodArray<z.ZodString>;
|
|
41
|
+
crunchbase_categories: z.ZodArray<z.ZodString>;
|
|
42
|
+
competitor_ids: z.ZodArray<z.ZodString>;
|
|
43
|
+
competitor_websites: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
44
|
+
stock_symbols: z.ZodArray<z.ZodString>;
|
|
45
|
+
markets: z.ZodArray<z.ZodString>;
|
|
46
|
+
tracxn_investors: z.ZodArray<z.ZodString>;
|
|
47
|
+
employee_metrics: z.ZodObject<{
|
|
48
|
+
latest_count: z.ZodNumber;
|
|
49
|
+
growth_1m: z.ZodNumber;
|
|
50
|
+
growth_3m: z.ZodNumber;
|
|
51
|
+
growth_6m: z.ZodNumber;
|
|
52
|
+
growth_12m: z.ZodNumber;
|
|
53
|
+
growth_1m_percent: z.ZodNumber;
|
|
54
|
+
growth_3m_percent: z.ZodNumber;
|
|
55
|
+
growth_6m_percent: z.ZodNumber;
|
|
56
|
+
growth_12m_percent: z.ZodNumber;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
follower_metrics: z.ZodObject<{
|
|
59
|
+
latest_count: z.ZodNumber;
|
|
60
|
+
growth_1m: z.ZodNumber;
|
|
61
|
+
growth_3m: z.ZodNumber;
|
|
62
|
+
growth_6m: z.ZodNumber;
|
|
63
|
+
growth_12m: z.ZodNumber;
|
|
64
|
+
growth_1m_percent: z.ZodNumber;
|
|
65
|
+
growth_3m_percent: z.ZodNumber;
|
|
66
|
+
growth_6m_percent: z.ZodNumber;
|
|
67
|
+
growth_12m_percent: z.ZodNumber;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
skill_distribution: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
70
|
+
skill_distribution_percent: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
71
|
+
role_distribution: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
72
|
+
role_distribution_percent: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
73
|
+
role_growth_6m: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodNumber>>;
|
|
74
|
+
role_growth_yoy: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodNumber>>;
|
|
75
|
+
region_distribution: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
type CrustdataCompanyMatchSchema = z.infer<typeof CrustdataCompanyMatchSchema>;
|
|
78
|
+
export declare const crustdataCompanyMatchExampleValue: CrustdataCompanyMatchSchema;
|
|
79
|
+
export {};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const CrustdataPersonMatchSchema: z.ZodObject<{
|
|
3
|
+
person_id: z.ZodNumber;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
first_name: z.ZodString;
|
|
6
|
+
last_name: z.ZodString;
|
|
7
|
+
region: z.ZodOptional<z.ZodString>;
|
|
8
|
+
headline: z.ZodOptional<z.ZodString>;
|
|
9
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
10
|
+
skills: z.ZodArray<z.ZodString>;
|
|
11
|
+
languages: z.ZodArray<z.ZodString>;
|
|
12
|
+
emails: z.ZodArray<z.ZodString>;
|
|
13
|
+
open_to_cards: z.ZodArray<z.ZodString>;
|
|
14
|
+
profile_language: z.ZodOptional<z.ZodString>;
|
|
15
|
+
linkedin_profile_url: z.ZodString;
|
|
16
|
+
flagship_profile_url: z.ZodOptional<z.ZodString>;
|
|
17
|
+
profile_picture_url: z.ZodOptional<z.ZodString>;
|
|
18
|
+
profile_picture_permalink: z.ZodOptional<z.ZodString>;
|
|
19
|
+
twitter_handle: z.ZodOptional<z.ZodString>;
|
|
20
|
+
num_of_connections: z.ZodNumber;
|
|
21
|
+
last_updated: z.ZodString;
|
|
22
|
+
updated_at: z.ZodString;
|
|
23
|
+
recently_changed_jobs: z.ZodBoolean;
|
|
24
|
+
years_of_experience: z.ZodString;
|
|
25
|
+
years_of_experience_raw: z.ZodNumber;
|
|
26
|
+
education_background: z.ZodArray<z.ZodObject<{
|
|
27
|
+
degree_name: z.ZodOptional<z.ZodString>;
|
|
28
|
+
institute_name: z.ZodOptional<z.ZodString>;
|
|
29
|
+
institute_linkedin_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
30
|
+
institute_linkedin_url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
31
|
+
institute_logo_url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
32
|
+
field_of_study: z.ZodOptional<z.ZodString>;
|
|
33
|
+
activities_and_societies: z.ZodOptional<z.ZodString>;
|
|
34
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
35
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
honors: z.ZodArray<z.ZodAny>;
|
|
38
|
+
certifications: z.ZodArray<z.ZodAny>;
|
|
39
|
+
current_employers: z.ZodArray<z.ZodObject<{
|
|
40
|
+
name: z.ZodString;
|
|
41
|
+
linkedin_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
42
|
+
company_id: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
company_linkedin_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
44
|
+
company_website_domain: z.ZodOptional<z.ZodString>;
|
|
45
|
+
position_id: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
title: z.ZodString;
|
|
47
|
+
description: z.ZodOptional<z.ZodString>;
|
|
48
|
+
location: z.ZodOptional<z.ZodString>;
|
|
49
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
50
|
+
employer_is_default: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
seniority_level: z.ZodOptional<z.ZodString>;
|
|
52
|
+
function_category: z.ZodOptional<z.ZodString>;
|
|
53
|
+
years_at_company: z.ZodOptional<z.ZodString>;
|
|
54
|
+
years_at_company_raw: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
company_headquarters_country: z.ZodOptional<z.ZodString>;
|
|
56
|
+
company_headcount_range: z.ZodOptional<z.ZodString>;
|
|
57
|
+
company_industries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
58
|
+
company_type: z.ZodOptional<z.ZodString>;
|
|
59
|
+
company_headcount_latest: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
company_website: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
61
|
+
company_linkedin_profile_url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
|
+
past_employers: z.ZodArray<z.ZodObject<{
|
|
64
|
+
name: z.ZodString;
|
|
65
|
+
linkedin_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
66
|
+
company_id: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
company_linkedin_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
68
|
+
company_website_domain: z.ZodOptional<z.ZodString>;
|
|
69
|
+
position_id: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
title: z.ZodString;
|
|
71
|
+
description: z.ZodOptional<z.ZodString>;
|
|
72
|
+
location: z.ZodOptional<z.ZodString>;
|
|
73
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
74
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
75
|
+
employer_is_default: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
+
seniority_level: z.ZodOptional<z.ZodString>;
|
|
77
|
+
function_category: z.ZodOptional<z.ZodString>;
|
|
78
|
+
years_at_company: z.ZodOptional<z.ZodString>;
|
|
79
|
+
years_at_company_raw: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
company_headquarters_country: z.ZodOptional<z.ZodString>;
|
|
81
|
+
company_headcount_range: z.ZodOptional<z.ZodString>;
|
|
82
|
+
company_industries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
83
|
+
company_type: z.ZodOptional<z.ZodString>;
|
|
84
|
+
company_headcount_latest: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
company_website: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
86
|
+
company_linkedin_profile_url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
87
|
+
}, z.core.$strip>>;
|
|
88
|
+
all_employers: z.ZodArray<z.ZodObject<{
|
|
89
|
+
name: z.ZodString;
|
|
90
|
+
linkedin_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
91
|
+
company_id: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
company_linkedin_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
93
|
+
company_website_domain: z.ZodOptional<z.ZodString>;
|
|
94
|
+
position_id: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
title: z.ZodString;
|
|
96
|
+
description: z.ZodOptional<z.ZodString>;
|
|
97
|
+
location: z.ZodOptional<z.ZodString>;
|
|
98
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
99
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
100
|
+
employer_is_default: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
+
seniority_level: z.ZodOptional<z.ZodString>;
|
|
102
|
+
function_category: z.ZodOptional<z.ZodString>;
|
|
103
|
+
years_at_company: z.ZodOptional<z.ZodString>;
|
|
104
|
+
years_at_company_raw: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
company_headquarters_country: z.ZodOptional<z.ZodString>;
|
|
106
|
+
company_headcount_range: z.ZodOptional<z.ZodString>;
|
|
107
|
+
company_industries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
108
|
+
company_type: z.ZodOptional<z.ZodString>;
|
|
109
|
+
company_headcount_latest: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
company_website: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
111
|
+
company_linkedin_profile_url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
export type CrustdataPersonMatch = z.infer<typeof CrustdataPersonMatchSchema>;
|
|
115
|
+
export declare const crustdataPersonMatchExampleValue: CrustdataPersonMatch;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const CrustdataPostListSchema: z.ZodArray<z.ZodObject<{
|
|
3
|
+
backend_urn: z.ZodString;
|
|
4
|
+
actor_backend_urn: z.ZodNullable<z.ZodString>;
|
|
5
|
+
share_urn: z.ZodString;
|
|
6
|
+
share_url: z.ZodString;
|
|
7
|
+
text: z.ZodString;
|
|
8
|
+
actor_name: z.ZodString;
|
|
9
|
+
hyperlinks: z.ZodObject<{
|
|
10
|
+
company_linkedin_urls: z.ZodArray<z.ZodString>;
|
|
11
|
+
person_linkedin_urls: z.ZodArray<z.ZodString>;
|
|
12
|
+
other_urls: z.ZodArray<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
date_posted: z.ZodString;
|
|
15
|
+
total_reactions: z.ZodNumber;
|
|
16
|
+
total_comments: z.ZodNumber;
|
|
17
|
+
reactions_by_type: z.ZodObject<{
|
|
18
|
+
LIKE: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
EMPATHY: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
PRAISE: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
INTEREST: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
num_shares: z.ZodNumber;
|
|
24
|
+
is_repost_without_thoughts: z.ZodBoolean;
|
|
25
|
+
reactors: z.ZodArray<z.ZodUnknown>;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
type CrustdataPostList = z.infer<typeof CrustdataPostListSchema>;
|
|
28
|
+
export declare const crustdataPostListSchemaExampleValue: CrustdataPostList;
|
|
29
|
+
export {};
|
|
@@ -42,7 +42,9 @@ export declare const isTextareaField: (metadata: GeneratedFormElement) => metada
|
|
|
42
42
|
export declare const isPromptField: (metadata: GeneratedFormElement) => metadata is PromptMetadata;
|
|
43
43
|
export declare const isSelectField: (metadata: GeneratedFormElement) => metadata is SelectMetadata;
|
|
44
44
|
export declare const isMultiSelectField: (metadata: GeneratedFormElement) => metadata is MultiSelectMetadata;
|
|
45
|
-
export declare const
|
|
45
|
+
export declare const isAsyncMultiSelectField: (metadata: GeneratedFormElement) => metadata is MultiSelectMetadata;
|
|
46
|
+
export declare const isMultiCreateField: (metadata: GeneratedFormElement) => metadata is MultiCreateMetadata;
|
|
47
|
+
export declare const isOrderedMultiCreateField: (metadata: GeneratedFormElement) => metadata is OrderedMultiCreateMetadata;
|
|
46
48
|
export declare const isIntegerField: (metadata: GeneratedFormElement) => metadata is IntegerMetadata;
|
|
47
49
|
export declare const isNumberField: (metadata: GeneratedFormElement) => metadata is NumberMetadata;
|
|
48
50
|
export declare const isJsonSchemaInput: (metadata: GeneratedFormElement) => metadata is JSONSchemaMetadata;
|
|
@@ -58,18 +60,33 @@ export interface ConfigField {
|
|
|
58
60
|
}
|
|
59
61
|
export interface IncludeExcludeMetadata extends ConfigField {
|
|
60
62
|
type: "include_exclude_input";
|
|
61
|
-
includeLabel
|
|
62
|
-
excludeLabel
|
|
63
|
+
includeLabel?: string;
|
|
64
|
+
excludeLabel?: string;
|
|
63
65
|
suggestions?: {
|
|
64
66
|
value: string;
|
|
65
67
|
label: string;
|
|
66
|
-
}[]
|
|
68
|
+
}[] | ((_query: string) => Promise<{
|
|
69
|
+
value: string;
|
|
70
|
+
label: string;
|
|
71
|
+
}[]>);
|
|
67
72
|
maxItems?: number;
|
|
68
73
|
}
|
|
69
74
|
export interface MultiCreateMetadata extends ConfigField {
|
|
70
75
|
type: "multi_create_input";
|
|
71
76
|
maxItems?: number;
|
|
72
77
|
minItems?: number;
|
|
78
|
+
suggestions?: {
|
|
79
|
+
value: string;
|
|
80
|
+
label: string;
|
|
81
|
+
}[] | ((_query: string) => Promise<{
|
|
82
|
+
value: string;
|
|
83
|
+
label: string;
|
|
84
|
+
}[]>);
|
|
85
|
+
}
|
|
86
|
+
export interface OrderedMultiCreateMetadata extends ConfigField {
|
|
87
|
+
type: "ordered_multi_create_input";
|
|
88
|
+
maxItems?: number;
|
|
89
|
+
minItems?: number;
|
|
73
90
|
}
|
|
74
91
|
export interface JSONExtractionMetadata extends ConfigField {
|
|
75
92
|
type: "json_extraction_input";
|
|
@@ -119,12 +136,16 @@ export interface OutputFieldDefinitionMetadata extends ConfigField {
|
|
|
119
136
|
}
|
|
120
137
|
export interface IncludeExcludeSelectMetadata extends ConfigField {
|
|
121
138
|
type: "include_exclude_select_input";
|
|
122
|
-
includeLabel
|
|
123
|
-
excludeLabel
|
|
139
|
+
includeLabel?: string;
|
|
140
|
+
excludeLabel?: string;
|
|
141
|
+
disableSearch?: boolean;
|
|
124
142
|
options: {
|
|
125
143
|
value: string;
|
|
126
144
|
label: string;
|
|
127
|
-
}[]
|
|
145
|
+
}[] | ((_query: string) => Promise<{
|
|
146
|
+
value: string;
|
|
147
|
+
label: string;
|
|
148
|
+
}[]>);
|
|
128
149
|
maxItems?: number;
|
|
129
150
|
}
|
|
130
151
|
export interface ExactRangeMetadata extends ConfigField {
|
|
@@ -136,6 +157,7 @@ export interface ExactRangeMetadata extends ConfigField {
|
|
|
136
157
|
}
|
|
137
158
|
export interface RangeMetadata extends ConfigField {
|
|
138
159
|
type: "range_input";
|
|
160
|
+
legend: string;
|
|
139
161
|
min?: number;
|
|
140
162
|
max?: number;
|
|
141
163
|
unit?: string;
|
|
@@ -148,7 +170,9 @@ export interface DateRangeMetadata extends ConfigField {
|
|
|
148
170
|
}
|
|
149
171
|
export interface BooleanMetadata extends ConfigField {
|
|
150
172
|
type: "boolean_input";
|
|
151
|
-
|
|
173
|
+
required: boolean;
|
|
174
|
+
nullable: boolean;
|
|
175
|
+
defaultValue: boolean | null;
|
|
152
176
|
}
|
|
153
177
|
export interface TextMetadata extends ConfigField {
|
|
154
178
|
type: "text_input";
|
|
@@ -194,6 +218,7 @@ export interface OutputFieldMetadata extends ConfigField {
|
|
|
194
218
|
}
|
|
195
219
|
export interface IntegerMetadata extends ConfigField {
|
|
196
220
|
type: "int_input";
|
|
221
|
+
legend?: string;
|
|
197
222
|
required: boolean;
|
|
198
223
|
max: number;
|
|
199
224
|
min: number;
|
|
@@ -204,10 +229,16 @@ export interface NumberMetadata extends ConfigField {
|
|
|
204
229
|
max: number;
|
|
205
230
|
min: number;
|
|
206
231
|
}
|
|
207
|
-
interface
|
|
232
|
+
export interface PayloadSelectOption<O extends string = string> {
|
|
233
|
+
value: O;
|
|
234
|
+
label: string;
|
|
235
|
+
widgets?: SelectInputWidgets;
|
|
236
|
+
}
|
|
237
|
+
export interface SelectInputWidgets {
|
|
208
238
|
logo?: {
|
|
209
239
|
url: string;
|
|
210
240
|
};
|
|
241
|
+
emoji?: string;
|
|
211
242
|
icon?: {
|
|
212
243
|
key: IconKey;
|
|
213
244
|
};
|
|
@@ -232,6 +263,16 @@ export interface MultiSelectMetadata extends ConfigField {
|
|
|
232
263
|
label: string;
|
|
233
264
|
}>;
|
|
234
265
|
required: boolean;
|
|
266
|
+
disableSearch: boolean;
|
|
267
|
+
}
|
|
268
|
+
export interface AsyncMultiSelectMetadata extends ConfigField {
|
|
269
|
+
type: "async_multi_select_input";
|
|
270
|
+
options: (_query: string) => Promise<{
|
|
271
|
+
value: string;
|
|
272
|
+
label: string;
|
|
273
|
+
}[]>;
|
|
274
|
+
required: boolean;
|
|
275
|
+
disableSearch: boolean;
|
|
235
276
|
}
|
|
236
277
|
export interface FormSectionMetadata {
|
|
237
278
|
type: "form_section";
|
|
@@ -240,8 +281,9 @@ export interface FormSectionMetadata {
|
|
|
240
281
|
description?: string;
|
|
241
282
|
[key: string]: unknown;
|
|
242
283
|
}
|
|
243
|
-
export type GeneratedFormElement = IncludeExcludeMetadata | IncludeExcludeSelectMetadata | ExactRangeMetadata | RangeMetadata | DateRangeMetadata | BooleanMetadata | TextMetadata | SelectMetadata | IntegerMetadata | NumberMetadata | OutputFieldMetadata | TextareaMetadata | PromptMetadata | TemplateInputMetadata | ProvidersInputMetadata | JSONExtractionMetadata | PipesTriggerMetadata | ConnectorMetadata | OutputFieldMetadata | MergeSourcesInputMetadata | OutputFieldDefinitionMetadata | MultiSelectMetadata | JSONSchemaMetadata | MultiCreateMetadata;
|
|
244
|
-
declare const multiCreateInput: (metadata: Pick<MultiCreateMetadata, "maxItems" | "minItems" | "sectionKey" | "path" | "label" | "groupPath" | "placeholder" | "order" | "description">, registry: Registry) => z.ZodArray<z.ZodString> | z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
284
|
+
export type GeneratedFormElement = IncludeExcludeMetadata | IncludeExcludeSelectMetadata | ExactRangeMetadata | RangeMetadata | DateRangeMetadata | BooleanMetadata | TextMetadata | SelectMetadata | IntegerMetadata | NumberMetadata | OutputFieldMetadata | TextareaMetadata | PromptMetadata | TemplateInputMetadata | ProvidersInputMetadata | JSONExtractionMetadata | PipesTriggerMetadata | ConnectorMetadata | OutputFieldMetadata | MergeSourcesInputMetadata | OutputFieldDefinitionMetadata | MultiSelectMetadata | JSONSchemaMetadata | MultiCreateMetadata | AsyncMultiSelectMetadata | OrderedMultiCreateMetadata;
|
|
285
|
+
declare const multiCreateInput: (metadata: Pick<MultiCreateMetadata, "maxItems" | "minItems" | "sectionKey" | "path" | "suggestions" | "label" | "groupPath" | "placeholder" | "order" | "description">, registry: Registry) => z.ZodArray<z.ZodString> | z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
286
|
+
declare const orderedMultiCreateInput: (metadata: Pick<OrderedMultiCreateMetadata, "maxItems" | "minItems" | "sectionKey" | "path" | "label" | "groupPath" | "placeholder" | "order" | "description">, registry: Registry) => z.ZodArray<z.ZodString> | z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
245
287
|
declare const includeExcludeInput: (metadata: Pick<IncludeExcludeMetadata, "maxItems" | "includeLabel" | "sectionKey" | "excludeLabel" | "path" | "suggestions" | "label" | "groupPath" | "placeholder" | "order" | "description">, registry: Registry) => z.ZodObject<{
|
|
246
288
|
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
247
289
|
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -284,20 +326,20 @@ export declare const pipesJsonExtractionInput: () => z.ZodObject<{
|
|
|
284
326
|
}, z.core.$strip>;
|
|
285
327
|
}, z.core.$strip>>;
|
|
286
328
|
}, z.core.$strip>;
|
|
287
|
-
declare const includeExcludeSelect: (metadata: Pick<IncludeExcludeSelectMetadata, "maxItems" | "includeLabel" | "excludeLabel" | "options" | "path" | "label" | "placeholder" | "order" | "sectionKey" | "groupPath" | "description">, registry: Registry) => z.ZodObject<{
|
|
329
|
+
declare const includeExcludeSelect: (metadata: Pick<IncludeExcludeSelectMetadata, "maxItems" | "includeLabel" | "excludeLabel" | "options" | "disableSearch" | "path" | "label" | "placeholder" | "order" | "sectionKey" | "groupPath" | "description">, registry: Registry) => z.ZodDefault<z.ZodObject<{
|
|
288
330
|
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
289
331
|
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
290
|
-
}, z.core.$strip
|
|
332
|
+
}, z.core.$strip>>;
|
|
291
333
|
declare const exactRangeInput: (metadata: Pick<ExactRangeMetadata, "min" | "max" | "step" | "unit" | "path" | "label" | "sectionKey" | "placeholder" | "order" | "groupPath" | "description">, registry: Registry) => z.ZodObject<{
|
|
292
334
|
gt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
293
335
|
lt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
294
336
|
gte: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
295
337
|
lte: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
296
338
|
}, z.core.$strip>;
|
|
297
|
-
declare const rangeInput: (metadata: Pick<RangeMetadata, "min" | "max" | "unit" | "path" | "label" | "sectionKey" | "placeholder" | "order" | "groupPath" | "description">, registry: Registry) => z.ZodObject<{
|
|
339
|
+
declare const rangeInput: (metadata: Pick<RangeMetadata, "min" | "max" | "unit" | "path" | "label" | "legend" | "sectionKey" | "placeholder" | "order" | "groupPath" | "description">, registry: Registry) => z.ZodDefault<z.ZodObject<{
|
|
298
340
|
from: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
299
341
|
to: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
300
|
-
}, z.core.$strip
|
|
342
|
+
}, z.core.$strip>>;
|
|
301
343
|
declare const dateRangeInput: (metadata: Pick<DateRangeMetadata, "minDate" | "maxDate" | "format" | "path" | "sectionKey" | "label" | "placeholder" | "order" | "groupPath" | "description">, registry: Registry) => z.ZodObject<{
|
|
302
344
|
gt: z.ZodOptional<z.ZodISODateTime>;
|
|
303
345
|
lt: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -307,7 +349,7 @@ declare const dateRangeInput: (metadata: Pick<DateRangeMetadata, "minDate" | "ma
|
|
|
307
349
|
/**
|
|
308
350
|
* Have default value here so we can show it in the docs.
|
|
309
351
|
*/
|
|
310
|
-
declare const booleanInput: (metadata: Pick<BooleanMetadata, "defaultValue" | "path" | "label" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodBoolean | z.ZodDefault<z.ZodBoolean
|
|
352
|
+
declare const booleanInput: (metadata: Pick<BooleanMetadata, "defaultValue" | "path" | "label" | "required" | "order" | "required" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodBoolean | z.ZodDefault<z.ZodBoolean> | z.ZodDefault<z.ZodNullable<z.ZodBoolean>> | z.ZodDefault<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
311
353
|
declare const textInput: (metadata: Pick<TextMetadata, "maxLength" | "minLength" | "inputType" | "pattern" | "path" | "label" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodString;
|
|
312
354
|
declare const textareaInput: (metadata: Pick<TextareaMetadata, "rows" | "maxLength" | "minLength" | "path" | "label" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodString;
|
|
313
355
|
declare const outputFieldInput: (metadata: {
|
|
@@ -316,24 +358,25 @@ declare const outputFieldInput: (metadata: {
|
|
|
316
358
|
alias: z.ZodDefault<z.ZodString>;
|
|
317
359
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
318
360
|
}, z.core.$strip>>;
|
|
319
|
-
declare const integerInput: (metadata: Pick<IntegerMetadata, "max" | "min" | "path" | "required" | "label" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodCoercedNumber<unknown> | z.ZodOptional<z.ZodCoercedNumber<unknown
|
|
361
|
+
declare const integerInput: (metadata: Pick<IntegerMetadata, "max" | "min" | "path" | "legend" | "required" | "label" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodCoercedNumber<unknown> | z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
320
362
|
declare const numberInput: (metadata: Pick<NumberMetadata, "max" | "min" | "required" | "path" | "label" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodCoercedNumber<unknown> | z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
321
363
|
declare const jsonSchemaInput: (metadata: Pick<JSONSchemaMetadata, "path" | "required" | "label" | "order" | "groupPath" | "sectionKey" | "description" | "allowEmpty">, registry: Registry) => z.ZodRecord<z.ZodString, z.ZodAny> | z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
322
364
|
type SelectInputMetadata = Pick<SelectMetadata, "options" | "path" | "required" | "label" | "placeholder" | "defaultValue" | "order" | "groupPath" | "sectionKey" | "description">;
|
|
323
365
|
declare const selectInput: <T extends SelectInputMetadata>(metadata: T, registry: Registry) => z.ZodEnum<{
|
|
324
366
|
[x: string]: string;
|
|
325
|
-
}> | z.ZodOptional<z.ZodEnum<{
|
|
367
|
+
}> | z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
326
368
|
[x: string]: string;
|
|
327
|
-
}
|
|
369
|
+
}>>> | z.ZodDefault<z.ZodEnum<{
|
|
328
370
|
[x: string]: string;
|
|
329
|
-
}>> | z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
371
|
+
}>> | z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
330
372
|
[x: string]: string;
|
|
331
|
-
}
|
|
332
|
-
declare const multiSelectInput:
|
|
373
|
+
}>>>>;
|
|
374
|
+
declare const multiSelectInput: (metadata: Pick<MultiSelectMetadata, "options" | "required" | "path" | "label" | "disableSearch" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodArray<z.ZodEnum<{
|
|
333
375
|
[x: string]: string;
|
|
334
376
|
}>> | z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
335
377
|
[x: string]: string;
|
|
336
378
|
}>>>;
|
|
379
|
+
declare const asyncMultiSelectInput: (metadata: Pick<AsyncMultiSelectMetadata, "options" | "required" | "path" | "label" | "disableSearch" | "placeholder" | "order" | "groupPath" | "sectionKey" | "description">, registry: Registry) => z.ZodArray<z.ZodString> | z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
337
380
|
export type FieldGroup = {
|
|
338
381
|
type: "group";
|
|
339
382
|
fields: GeneratedFormElement[];
|
|
@@ -457,10 +500,11 @@ export declare const pipesIncludeExcludeInput: (metadata: Metadata<typeof includ
|
|
|
457
500
|
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
458
501
|
}, z.core.$strip>;
|
|
459
502
|
export declare const pipesMultiCreateInput: (metadata: Metadata<typeof multiCreateInput>) => z.ZodArray<z.ZodString> | z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
460
|
-
export declare const
|
|
503
|
+
export declare const pipesOrderedMultiCreateInput: (metadata: Metadata<typeof orderedMultiCreateInput>) => z.ZodArray<z.ZodString> | z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
504
|
+
export declare const pipesIncludeExcludeSelectInput: (metadata: Metadata<typeof includeExcludeSelect>) => z.ZodDefault<z.ZodObject<{
|
|
461
505
|
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
462
506
|
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
463
|
-
}, z.core.$strip
|
|
507
|
+
}, z.core.$strip>>;
|
|
464
508
|
export declare const pipesRangeInput: (metadata: Metadata<typeof exactRangeInput>) => z.ZodObject<{
|
|
465
509
|
gt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
466
510
|
lt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -473,7 +517,7 @@ export declare const pipesDateRangeInput: (metadata: Metadata<typeof dateRangeIn
|
|
|
473
517
|
gte: z.ZodOptional<z.ZodISODateTime>;
|
|
474
518
|
lte: z.ZodOptional<z.ZodISODateTime>;
|
|
475
519
|
}, z.core.$strip>;
|
|
476
|
-
export declare const pipesBooleanInput: (metadata: Metadata<typeof booleanInput>) => z.ZodBoolean | z.ZodDefault<z.ZodBoolean
|
|
520
|
+
export declare const pipesBooleanInput: (metadata: Metadata<typeof booleanInput>) => z.ZodBoolean | z.ZodDefault<z.ZodBoolean> | z.ZodDefault<z.ZodNullable<z.ZodBoolean>> | z.ZodDefault<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
477
521
|
export declare const pipesOutputField: (metadata: Metadata<typeof outputFieldInput>) => z.ZodDefault<z.ZodObject<{
|
|
478
522
|
alias: z.ZodDefault<z.ZodString>;
|
|
479
523
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -482,62 +526,70 @@ export declare const pipesTextInput: (metadata: Metadata<typeof textInput>) => z
|
|
|
482
526
|
export declare const pipesTextareaInput: (metadata: Metadata<typeof textareaInput>) => z.ZodString;
|
|
483
527
|
export declare const pipesSelectInput: <T extends Metadata<typeof selectInput>>(metadata: T) => z.ZodEnum<{
|
|
484
528
|
[x: string]: string;
|
|
485
|
-
}> | z.ZodOptional<z.ZodEnum<{
|
|
529
|
+
}> | z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
486
530
|
[x: string]: string;
|
|
487
|
-
}
|
|
531
|
+
}>>> | z.ZodDefault<z.ZodEnum<{
|
|
488
532
|
[x: string]: string;
|
|
489
|
-
}>> | z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
533
|
+
}>> | z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
490
534
|
[x: string]: string;
|
|
491
|
-
}
|
|
535
|
+
}>>>>;
|
|
492
536
|
export declare const pipesMultiSelectInput: <T extends Metadata<typeof multiSelectInput>>(metadata: T) => z.ZodArray<z.ZodEnum<{
|
|
493
537
|
[x: string]: string;
|
|
494
538
|
}>> | z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
495
539
|
[x: string]: string;
|
|
496
540
|
}>>>;
|
|
497
|
-
export declare const pipesIntInput: (metadata: Metadata<typeof integerInput>) => z.ZodCoercedNumber<unknown> | z.ZodOptional<z.ZodCoercedNumber<unknown
|
|
541
|
+
export declare const pipesIntInput: (metadata: Metadata<typeof integerInput>) => z.ZodCoercedNumber<unknown> | z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
498
542
|
export declare const pipesNumberInput: (metadata: Metadata<typeof numberInput>) => z.ZodCoercedNumber<unknown> | z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
499
543
|
export declare const pipesJsonSchemaField: (metadata: Metadata<typeof jsonSchemaInput>) => z.ZodRecord<z.ZodString, z.ZodAny> | z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
544
|
+
export declare const searchesMultiCreateInput: (metadata: Metadata<typeof multiCreateInput>) => z.ZodArray<z.ZodString> | z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
545
|
+
export declare const searchesOrderedMultiCreateInput: (metadata: Metadata<typeof orderedMultiCreateInput>) => z.ZodArray<z.ZodString> | z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
500
546
|
export declare const searchesIncludeExcludeInput: (metadata: Metadata<typeof includeExcludeInput>) => z.ZodObject<{
|
|
501
547
|
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
502
548
|
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
503
549
|
}, z.core.$strip>;
|
|
504
|
-
export declare const searchesIncludeExcludeSelectInput: (metadata: Metadata<typeof includeExcludeSelect>) => z.ZodObject<{
|
|
550
|
+
export declare const searchesIncludeExcludeSelectInput: (metadata: Metadata<typeof includeExcludeSelect>) => z.ZodDefault<z.ZodObject<{
|
|
505
551
|
include: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
506
552
|
exclude: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
507
|
-
}, z.core.$strip
|
|
553
|
+
}, z.core.$strip>>;
|
|
508
554
|
export declare const searchesExactRangeInput: (metadata: Metadata<typeof exactRangeInput>) => z.ZodObject<{
|
|
509
555
|
gt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
510
556
|
lt: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
511
557
|
gte: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
512
558
|
lte: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
513
559
|
}, z.core.$strip>;
|
|
514
|
-
export declare const searchesRangeInput: (metadata: Metadata<typeof rangeInput>) => z.ZodObject<{
|
|
560
|
+
export declare const searchesRangeInput: (metadata: Metadata<typeof rangeInput>) => z.ZodDefault<z.ZodObject<{
|
|
515
561
|
from: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
516
562
|
to: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
517
|
-
}, z.core.$strip
|
|
563
|
+
}, z.core.$strip>>;
|
|
518
564
|
export declare const searchesDateRangeInput: (metadata: Metadata<typeof dateRangeInput>) => z.ZodObject<{
|
|
519
565
|
gt: z.ZodOptional<z.ZodISODateTime>;
|
|
520
566
|
lt: z.ZodOptional<z.ZodISODateTime>;
|
|
521
567
|
gte: z.ZodOptional<z.ZodISODateTime>;
|
|
522
568
|
lte: z.ZodOptional<z.ZodISODateTime>;
|
|
523
569
|
}, z.core.$strip>;
|
|
524
|
-
export declare const searchesBooleanInput: (metadata: Metadata<typeof booleanInput>) => z.ZodBoolean | z.ZodDefault<z.ZodBoolean
|
|
570
|
+
export declare const searchesBooleanInput: (metadata: Metadata<typeof booleanInput>) => z.ZodBoolean | z.ZodDefault<z.ZodBoolean> | z.ZodDefault<z.ZodNullable<z.ZodBoolean>> | z.ZodDefault<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
|
|
525
571
|
export declare const searchesOutputField: (metadata: Metadata<typeof outputFieldInput>) => z.ZodDefault<z.ZodObject<{
|
|
526
572
|
alias: z.ZodDefault<z.ZodString>;
|
|
527
573
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
528
574
|
}, z.core.$strip>>;
|
|
529
575
|
export declare const searchesTextInput: (metadata: Metadata<typeof textInput>) => z.ZodString;
|
|
530
576
|
export declare const searchesTextareaField: (metadata: Metadata<typeof textareaInput>) => z.ZodString;
|
|
531
|
-
export declare const
|
|
577
|
+
export declare const searchesSelectInput: (metadata: Metadata<typeof selectInput>) => z.ZodEnum<{
|
|
578
|
+
[x: string]: string;
|
|
579
|
+
}> | z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
532
580
|
[x: string]: string;
|
|
533
|
-
}
|
|
581
|
+
}>>> | z.ZodDefault<z.ZodEnum<{
|
|
534
582
|
[x: string]: string;
|
|
535
|
-
}>> | z.ZodDefault<z.ZodEnum<{
|
|
583
|
+
}>> | z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
536
584
|
[x: string]: string;
|
|
537
|
-
}
|
|
585
|
+
}>>>>;
|
|
586
|
+
export declare const searchesMultiSelectInput: (metadata: Metadata<typeof multiSelectInput>) => z.ZodArray<z.ZodEnum<{
|
|
587
|
+
[x: string]: string;
|
|
588
|
+
}>> | z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
538
589
|
[x: string]: string;
|
|
539
590
|
}>>>;
|
|
540
|
-
export declare const
|
|
591
|
+
export declare const searchesAsyncMultiSelectInput: (metadata: Metadata<typeof asyncMultiSelectInput>) => z.ZodArray<z.ZodString> | z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
592
|
+
export declare const searchesIntInput: (metadata: Metadata<typeof integerInput>) => z.ZodCoercedNumber<unknown> | z.ZodNullable<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
541
593
|
export declare const searchesNumberField: (metadata: Metadata<typeof numberInput>) => z.ZodCoercedNumber<unknown> | z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
542
594
|
export declare const outputFields: <T extends z.ZodObject>(schema: T) => z.ZodOptional<T>;
|
|
543
595
|
export declare const inputFields: <T extends z.ZodObject>(schema: T) => z.ZodOptional<T>;
|