@bubblelab/bubble-core 0.1.103 → 0.1.104
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/bubble-bundle.d.ts +2 -1
- package/dist/bubbles.json +1 -1
- package/package.json +2 -2
package/dist/bubble-bundle.d.ts
CHANGED
|
@@ -53,7 +53,8 @@ export declare const slackUrlVerificationSchema: z.ZodObject<{ token: z.ZodStrin
|
|
|
53
53
|
export type DatabaseStatus = 'connected' | 'disconnected' | 'error'; export type DatabaseType = 'postgresql' | 'mysql' | 'mongodb' | 'bigquery' | 'sqlite'; export interface DatabaseColumn { name: string; type: string; isNullable: boolean; defaultValue?: string; constraints?: string[]; }
|
|
54
54
|
export interface DatabaseTable { name: string; schema: string; columns: DatabaseColumn[]; rowCount?: number; size?: string; }
|
|
55
55
|
export interface DatabaseSchema { tables: DatabaseTable[]; totalTables: number; totalSize?: string; }
|
|
56
|
-
export declare const databaseMetadataSchema: z.ZodObject<{ tables: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>; tableNotes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; databaseName: z.ZodOptional<z.ZodString>; databaseType: z.ZodOptional<z.ZodEnum<["postgresql", "mysql", "sqlite", "mssql", "oracle"]>>; rules: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; text: z.ZodString; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }>, "many">>; notes: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }>; export type DatabaseMetadata = z.infer<typeof databaseMetadataSchema>; export declare const jiraOAuthMetadataSchema: z.ZodObject<{ cloudId: z.ZodString; siteUrl: z.ZodString; siteName: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }>; export type JiraOAuthMetadata = z.infer<typeof jiraOAuthMetadataSchema>; export declare const stripeOAuthMetadataSchema: z.ZodObject<{ stripeUserId: z.ZodString; stripePublishableKey: z.ZodString; livemode: z.ZodBoolean; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { stripeUserId: string; stripePublishableKey: string; livemode: boolean; displayName?: string | undefined; }, { stripeUserId: string; stripePublishableKey: string; livemode: boolean; displayName?: string | undefined; }>; export type StripeOAuthMetadata = z.infer<typeof stripeOAuthMetadataSchema>; export declare const slackOAuthMetadataSchema: z.ZodObject<{ teamId: z.ZodString; teamName: z.ZodString; botUserId: z.ZodString; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; }, { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; }>; export type SlackOAuthMetadata = z.infer<typeof slackOAuthMetadataSchema>; export declare const airtableOAuthMetadataSchema: z.ZodObject<{ airtableUserId: z.ZodString; email: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; }, { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; }>; export type AirtableOAuthMetadata = z.infer<typeof airtableOAuthMetadataSchema>; export
|
|
56
|
+
export declare const databaseMetadataSchema: z.ZodObject<{ tables: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>; tableNotes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; databaseName: z.ZodOptional<z.ZodString>; databaseType: z.ZodOptional<z.ZodEnum<["postgresql", "mysql", "sqlite", "mssql", "oracle"]>>; rules: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; text: z.ZodString; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }>, "many">>; notes: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }>; export type DatabaseMetadata = z.infer<typeof databaseMetadataSchema>; export declare const jiraOAuthMetadataSchema: z.ZodObject<{ cloudId: z.ZodString; siteUrl: z.ZodString; siteName: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }>; export type JiraOAuthMetadata = z.infer<typeof jiraOAuthMetadataSchema>; export declare const stripeOAuthMetadataSchema: z.ZodObject<{ stripeUserId: z.ZodString; stripePublishableKey: z.ZodString; livemode: z.ZodBoolean; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { stripeUserId: string; stripePublishableKey: string; livemode: boolean; displayName?: string | undefined; }, { stripeUserId: string; stripePublishableKey: string; livemode: boolean; displayName?: string | undefined; }>; export type StripeOAuthMetadata = z.infer<typeof stripeOAuthMetadataSchema>; export declare const slackOAuthMetadataSchema: z.ZodObject<{ teamId: z.ZodString; teamName: z.ZodString; botUserId: z.ZodString; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; }, { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; }>; export type SlackOAuthMetadata = z.infer<typeof slackOAuthMetadataSchema>; export declare const airtableOAuthMetadataSchema: z.ZodObject<{ airtableUserId: z.ZodString; email: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; }, { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; }>; export type AirtableOAuthMetadata = z.infer<typeof airtableOAuthMetadataSchema>; export interface CredentialPreferences { isDefault?: boolean; lastUsedAt?: string; }
|
|
57
|
+
export type CredentialMetadata = (DatabaseMetadata | JiraOAuthMetadata | SlackOAuthMetadata | AirtableOAuthMetadata) & CredentialPreferences; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
|
|
57
58
|
export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export interface CredentialConfig { label: string; description: string; placeholder: string; namePlaceholder: string; credentialConfigurations: Record<string, unknown>; }
|
|
58
59
|
export declare const CREDENTIAL_TYPE_CONFIG: Record<CredentialType, CredentialConfig>; export declare function generateCredentialsSummary(): string; export declare const CREDENTIAL_ENV_MAP: Record<CredentialType, string>; export declare const SYSTEM_CREDENTIALS: Set<CredentialType>; export declare const OPTIONAL_CREDENTIALS: Set<CredentialType>; export type OAuthProvider = 'google' | 'followupboss' | 'notion' | 'jira' | 'slack' | 'airtable'; export interface ScopeDescription { scope: string; description: string; defaultEnabled: boolean; }
|
|
59
60
|
export interface OAuthCredentialConfig { displayName: string; defaultScopes: string[]; adminScopes?: string[]; description: string; scopeDescriptions?: ScopeDescription[]; }
|
package/dist/bubbles.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bubblelab/bubble-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.104",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"puppeteer-core": "^24.10.0",
|
|
41
41
|
"resend": "^4.8.0",
|
|
42
42
|
"zod": "^3.24.1",
|
|
43
|
-
"@bubblelab/shared-schemas": "0.1.
|
|
43
|
+
"@bubblelab/shared-schemas": "0.1.104"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/node": "^20.12.12",
|