@windmill-labs/shared-utils 1.0.3 → 1.0.12
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/common.d.ts +5 -2
- package/components/apps/components/display/dbtable/queries/select.d.ts +2 -0
- package/components/apps/components/display/dbtable/utils.d.ts +14 -3
- package/components/apps/editor/appPolicy.d.ts +3 -0
- package/components/apps/editor/appUtilsS3.d.ts +12 -1
- package/components/apps/editor/component/components.d.ts +331 -5
- package/components/apps/inputType.d.ts +4 -2
- package/components/apps/sharedTypes.d.ts +2 -0
- package/components/apps/types.d.ts +1 -0
- package/components/assets/lib.d.ts +25 -0
- package/components/dbTypes.d.ts +3 -0
- package/components/icons/index.d.ts +101 -0
- package/components/raw_apps/rawAppPolicy.d.ts +10 -0
- package/components/raw_apps/utils.d.ts +1 -1
- package/components/triggers/utils.d.ts +2 -3
- package/gen/schemas.gen.d.ts +915 -71
- package/gen/services.gen.d.ts +335 -23
- package/gen/types.gen.d.ts +1918 -153
- package/hub.d.ts +1 -0
- package/jsr.json +6 -0
- package/lib.d.ts +2 -0
- package/lib.es.js +295 -111
- package/package.json +1 -1
- package/stores.d.ts +1 -0
- package/svelte5Utils.svelte.d.ts +32 -1
- package/utils.d.ts +19 -4
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import AirtableIcon from './AirtableIcon.svelte';
|
|
2
|
+
import DbIcon from './DbIcon.svelte';
|
|
3
|
+
import DiscordIcon from './DiscordIcon.svelte';
|
|
4
|
+
import GcalIcon from './GcalIcon.svelte';
|
|
5
|
+
import GCloudIcon from './GCloudIcon.svelte';
|
|
6
|
+
import GdriveIcon from './GdriveIcon.svelte';
|
|
7
|
+
import GithubIcon from './GithubIcon.svelte';
|
|
8
|
+
import GitlabIcon from './GitlabIcon.svelte';
|
|
9
|
+
import GmailIcon from './GmailIcon.svelte';
|
|
10
|
+
import GSheetsIcon from './GSheetsIcon.svelte';
|
|
11
|
+
import HttpIcon from './HttpIcon.svelte';
|
|
12
|
+
import Mail from './Mail.svelte';
|
|
13
|
+
import MastodonIcon from './MastodonIcon.svelte';
|
|
14
|
+
import MatrixIcon from './MatrixIcon.svelte';
|
|
15
|
+
import Mysql from './Mysql.svelte';
|
|
16
|
+
import PostgresIcon from './PostgresIcon.svelte';
|
|
17
|
+
import S3Icon from './S3Icon.svelte';
|
|
18
|
+
import Slack from './Slack.svelte';
|
|
19
|
+
import TogglIcon from './TogglIcon.svelte';
|
|
20
|
+
import WindmillIcon from './WindmillIcon.svelte';
|
|
21
|
+
import WindmillIcon2 from './WindmillIcon2.svelte';
|
|
22
|
+
import SchedulePollIcon from './SchedulePollIcon.svelte';
|
|
23
|
+
import MailchimpIcon from './MailchimpIcon.svelte';
|
|
24
|
+
import SendgridIcon from './SendgridIcon.svelte';
|
|
25
|
+
import SendflakeIcon from './SendflakeIcon.svelte';
|
|
26
|
+
import LinkedinIcon from './LinkedinIcon.svelte';
|
|
27
|
+
import HubspotIcon from './HubspotIcon.svelte';
|
|
28
|
+
import DatadogIcon from './DatadogIcon.svelte';
|
|
29
|
+
import StripeIcon from './StripeIcon.svelte';
|
|
30
|
+
import TelegramIcon from './TelegramIcon.svelte';
|
|
31
|
+
import FunkwhaleIcon from './FunkwhaleIcon.svelte';
|
|
32
|
+
import GdocsIcon from './GdocsIcon.svelte';
|
|
33
|
+
import NextcloudIcon from './NextcloudIcon.svelte';
|
|
34
|
+
import FaunadbIcon from './FaunadbIcon.svelte';
|
|
35
|
+
import ClickhouseIcon from './ClickhouseIcon.svelte';
|
|
36
|
+
import OpenaiIcon from './OpenaiIcon.svelte';
|
|
37
|
+
import AwsIcon from './AwsIcon.svelte';
|
|
38
|
+
import BcryptIcon from './BcryptIcon.svelte';
|
|
39
|
+
import GoogleIcon from './GoogleIcon.svelte';
|
|
40
|
+
import MicrosoftIcon from './MicrosoftIcon.svelte';
|
|
41
|
+
import HackernewsIcon from './HackernewsIcon.svelte';
|
|
42
|
+
import MongodbIcon from './MongodbIcon.svelte';
|
|
43
|
+
import RedditIcon from './RedditIcon.svelte';
|
|
44
|
+
import SupabaseIcon from './SupabaseIcon.svelte';
|
|
45
|
+
import WebdavIcon from './WebdavIcon.svelte';
|
|
46
|
+
import ZammadIcon from './ZammadIcon.svelte';
|
|
47
|
+
import SurrealdbIcon from './SurrealdbIcon.svelte';
|
|
48
|
+
import ActivitypubIcon from './ActivitypubIcon.svelte';
|
|
49
|
+
import AwsEcrIcon from './AwsEcrIcon.svelte';
|
|
50
|
+
import CalcomIcon from './CalcomIcon.svelte';
|
|
51
|
+
import ClickupIcon from './ClickupIcon.svelte';
|
|
52
|
+
import CloudflareIcon from './CloudflareIcon.svelte';
|
|
53
|
+
import FirebaseIcon from './FirebaseIcon.svelte';
|
|
54
|
+
import GoogleFormsIcon from './GoogleFormsIcon.svelte';
|
|
55
|
+
import JiraIcon from './JiraIcon.svelte';
|
|
56
|
+
import NotionIcon from './NotionIcon.svelte';
|
|
57
|
+
import PineconeIcon from './PineconeIcon.svelte';
|
|
58
|
+
import RssIcon from './RssIcon.svelte';
|
|
59
|
+
import ShopifyIcon from './ShopifyIcon.svelte';
|
|
60
|
+
import TypeformIcon from './TypeformIcon.svelte';
|
|
61
|
+
import BigQueryIcon from './BigQueryIcon.svelte';
|
|
62
|
+
import OracleDBIcon from './OracleDBIcon.svelte';
|
|
63
|
+
import GraphqlIcon from './GraphqlIcon.svelte';
|
|
64
|
+
import NocoDbIcon from './NocoDbIcon.svelte';
|
|
65
|
+
import AzureIcon from './AzureIcon.svelte';
|
|
66
|
+
import OktaIcon from './OktaIcon.svelte';
|
|
67
|
+
import Auth0Icon from './Auth0Icon.svelte';
|
|
68
|
+
import AuthentikIcon from './AuthentikIcon.svelte';
|
|
69
|
+
import AutheliaIcon from './AutheliaIcon.svelte';
|
|
70
|
+
import KanidmIcon from './KanidmIcon.svelte';
|
|
71
|
+
import AsanaIcon from './AsanaIcon.svelte';
|
|
72
|
+
import BitbucketIcon from './BitbucketIcon.svelte';
|
|
73
|
+
import DynatraceIcon from './DynatraceIcon.svelte';
|
|
74
|
+
import EdgeDbIcon from './EdgeDbIcon.svelte';
|
|
75
|
+
import GitIcon from './GitIcon.svelte';
|
|
76
|
+
import ZendeskIcon from './ZendeskIcon.svelte';
|
|
77
|
+
import TwilioIcon from './TwilioIcon.svelte';
|
|
78
|
+
import TrelloIcon from './TrelloIcon.svelte';
|
|
79
|
+
import ResendIcon from './ResendIcon.svelte';
|
|
80
|
+
import PushoverIcon from './PushoverIcon.svelte';
|
|
81
|
+
import QuickbooksIcon from './QuickbooksIcon.svelte';
|
|
82
|
+
import MsTeamsIcon from './MSTeamsIcon.svelte';
|
|
83
|
+
import MailgunIcon from './MailgunIcon.svelte';
|
|
84
|
+
import IpinfoIcon from './IpinfoIcon.svelte';
|
|
85
|
+
import GoogleCloudIcon from './GoogleCloudIcon.svelte';
|
|
86
|
+
import CaCertificate from './CACertificate.svelte';
|
|
87
|
+
import CurrencyApiIcon from './CurrencyApiIcon.svelte';
|
|
88
|
+
import VismaIcon from './VismaIcon.svelte';
|
|
89
|
+
import JumpCloudIcon from './JumpCloudIcon.svelte';
|
|
90
|
+
import KeycloakIcon from './KeycloakIcon.svelte';
|
|
91
|
+
import ZitadelIcon from './ZitadelIcon.svelte';
|
|
92
|
+
import XeroIcon from './XeroIcon.svelte';
|
|
93
|
+
import KafkaIcon from './KafkaIcon.svelte';
|
|
94
|
+
import NatsIcon from './NatsIcon.svelte';
|
|
95
|
+
import MqttIcon from './MqttIcon.svelte';
|
|
96
|
+
import ApifyIcon from './ApifyIcon.svelte';
|
|
97
|
+
import McpIcon from './McpIcon.svelte';
|
|
98
|
+
import ZohoIcon from './ZohoIcon.svelte';
|
|
99
|
+
import type { Component } from 'svelte';
|
|
100
|
+
export declare const APP_TO_ICON_COMPONENT: Record<string, Component>;
|
|
101
|
+
export { AirtableIcon, DbIcon, DiscordIcon, GcalIcon, GCloudIcon, GdriveIcon, GithubIcon, GitlabIcon, GmailIcon, GSheetsIcon, HttpIcon, Mail, MastodonIcon, MatrixIcon, Mysql, PostgresIcon, S3Icon, Slack, TogglIcon, WindmillIcon, WindmillIcon2, SchedulePollIcon, MailchimpIcon, SendgridIcon, LinkedinIcon, HubspotIcon, TelegramIcon, StripeIcon, DatadogIcon, FunkwhaleIcon, GdocsIcon, FaunadbIcon, ClickhouseIcon, OpenaiIcon, AwsIcon, BcryptIcon, GoogleIcon, HackernewsIcon, MongodbIcon, RedditIcon, SupabaseIcon, WebdavIcon, ZammadIcon, NextcloudIcon, SendflakeIcon, SurrealdbIcon, ActivitypubIcon, AwsEcrIcon, CalcomIcon, ClickupIcon, CloudflareIcon, FirebaseIcon, GoogleFormsIcon, JiraIcon, NotionIcon, PineconeIcon, RssIcon, ShopifyIcon, TypeformIcon, BigQueryIcon, OracleDBIcon, GraphqlIcon, NocoDbIcon, AzureIcon, MicrosoftIcon, OktaIcon, Auth0Icon, AuthentikIcon, AutheliaIcon, KanidmIcon, AsanaIcon, BitbucketIcon, DynatraceIcon, EdgeDbIcon, GitIcon, ZendeskIcon, TwilioIcon, TrelloIcon, ResendIcon, PushoverIcon, QuickbooksIcon, MsTeamsIcon, MailgunIcon, IpinfoIcon, GoogleCloudIcon, CaCertificate, CurrencyApiIcon, VismaIcon, JumpCloudIcon, KeycloakIcon, ZitadelIcon, XeroIcon, KafkaIcon, NatsIcon, MqttIcon, ApifyIcon, McpIcon, ZohoIcon };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Policy, ScriptLang } from '$lib/gen';
|
|
2
|
+
import { type InlineScript, type RunnableWithFields } from '../apps/inputType';
|
|
3
|
+
export declare function updateRawAppPolicy(runnables: Record<string, Runnable>, currentPolicy: Policy | undefined): Promise<Policy>;
|
|
4
|
+
type RunnableWithInlineScript = RunnableWithFields & {
|
|
5
|
+
inlineScript?: InlineScript & {
|
|
6
|
+
language: ScriptLang;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export type Runnable = RunnableWithInlineScript | undefined;
|
|
10
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ScriptLang } from '../../gen/types.gen';
|
|
2
|
+
import { type RunnableWithFields } from '../apps/inputType';
|
|
2
3
|
import type { InlineScript } from '../apps/sharedTypes';
|
|
3
|
-
export type RunnableWithFields = any;
|
|
4
4
|
type RunnableWithInlineScript = RunnableWithFields & {
|
|
5
5
|
inlineScript?: InlineScript & {
|
|
6
6
|
language: ScriptLang;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Webhook, Mail, Calendar, Route, Unplug, Database, Terminal } from 'lucide-svelte';
|
|
2
|
-
import type { CaptureTriggerKind, ErrorHandler, Flow, NewScript, TriggersCount } from '$lib/gen/types.gen';
|
|
2
|
+
import type { CaptureTriggerKind, ErrorHandler, Flow, JobTriggerKind, NewScript, TriggersCount } from '$lib/gen/types.gen';
|
|
3
3
|
import type { Writable } from 'svelte/store';
|
|
4
4
|
import { type TriggerKind } from '$lib/components/triggers';
|
|
5
5
|
import type { Triggers } from './triggers.svelte';
|
|
6
6
|
export declare const CLOUD_DISABLED_TRIGGER_TYPES: string[];
|
|
7
7
|
export type TriggerType = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'email' | 'poll' | 'cli';
|
|
8
|
-
export declare const
|
|
9
|
-
export type JobTriggerType = (typeof jobTriggerTypes)[number];
|
|
8
|
+
export declare const jobTriggerKinds: JobTriggerKind[];
|
|
10
9
|
export type Trigger = {
|
|
11
10
|
type: TriggerType;
|
|
12
11
|
path?: string;
|