@bubblelab/shared-schemas 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +202 -0
- package/README.md +138 -0
- package/dist/api-schema.d.ts +38 -0
- package/dist/api-schema.d.ts.map +1 -0
- package/dist/api-schema.js +26 -0
- package/dist/api-schema.js.map +1 -0
- package/dist/bubble-definition-schema.d.ts +242 -0
- package/dist/bubble-definition-schema.d.ts.map +1 -0
- package/dist/bubble-definition-schema.js +95 -0
- package/dist/bubble-definition-schema.js.map +1 -0
- package/dist/bubbleflow-execution-schema.d.ts +580 -0
- package/dist/bubbleflow-execution-schema.d.ts.map +1 -0
- package/dist/bubbleflow-execution-schema.js +230 -0
- package/dist/bubbleflow-execution-schema.js.map +1 -0
- package/dist/bubbleflow-schema.d.ts +785 -0
- package/dist/bubbleflow-schema.d.ts.map +1 -0
- package/dist/bubbleflow-schema.js +206 -0
- package/dist/bubbleflow-schema.js.map +1 -0
- package/dist/credential-schema.d.ts +405 -0
- package/dist/credential-schema.d.ts.map +1 -0
- package/dist/credential-schema.js +327 -0
- package/dist/credential-schema.js.map +1 -0
- package/dist/database-definition-schema.d.ts +97 -0
- package/dist/database-definition-schema.d.ts.map +1 -0
- package/dist/database-definition-schema.js +36 -0
- package/dist/database-definition-schema.js.map +1 -0
- package/dist/generate-bubbleflow-schema.d.ts +481 -0
- package/dist/generate-bubbleflow-schema.d.ts.map +1 -0
- package/dist/generate-bubbleflow-schema.js +247 -0
- package/dist/generate-bubbleflow-schema.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/mock-data-generator.d.ts +51 -0
- package/dist/mock-data-generator.d.ts.map +1 -0
- package/dist/mock-data-generator.js +325 -0
- package/dist/mock-data-generator.js.map +1 -0
- package/dist/mock-data-generator.test.d.ts +2 -0
- package/dist/mock-data-generator.test.d.ts.map +1 -0
- package/dist/mock-data-generator.test.js +176 -0
- package/dist/mock-data-generator.test.js.map +1 -0
- package/dist/oauth-schema.d.ts +61 -0
- package/dist/oauth-schema.d.ts.map +1 -0
- package/dist/oauth-schema.js +75 -0
- package/dist/oauth-schema.js.map +1 -0
- package/dist/prompts.d.ts +12 -0
- package/dist/prompts.d.ts.map +1 -0
- package/dist/prompts.js +40 -0
- package/dist/prompts.js.map +1 -0
- package/dist/routes.d.ts +2207 -0
- package/dist/routes.d.ts.map +1 -0
- package/dist/routes.js +978 -0
- package/dist/routes.js.map +1 -0
- package/dist/streaming-events.d.ts +35 -0
- package/dist/streaming-events.d.ts.map +1 -0
- package/dist/streaming-events.js +5 -0
- package/dist/streaming-events.js.map +1 -0
- package/dist/subscription-status-schema.d.ts +90 -0
- package/dist/subscription-status-schema.d.ts.map +1 -0
- package/dist/subscription-status-schema.js +66 -0
- package/dist/subscription-status-schema.js.map +1 -0
- package/dist/types.d.ts +19 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +27 -0
- package/dist/types.js.map +1 -0
- package/dist/waitlist-schema.d.ts +30 -0
- package/dist/waitlist-schema.d.ts.map +1 -0
- package/dist/waitlist-schema.js +39 -0
- package/dist/waitlist-schema.js.map +1 -0
- package/dist/webhook-schema.d.ts +95 -0
- package/dist/webhook-schema.d.ts.map +1 -0
- package/dist/webhook-schema.js +50 -0
- package/dist/webhook-schema.js.map +1 -0
- package/package.json +46 -0
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2025 Bubble Lab, Inc.
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# @bubblelab/shared-schemas
|
|
2
|
+
|
|
3
|
+
This package contains shared Zod schemas and TypeScript types that are used by both the frontend (nodex-dashboard) and backend (nodex-api) applications.
|
|
4
|
+
|
|
5
|
+
**IMPORTANT**: All new API schemas should be written in this shared package to ensure type safety and consistency between frontend and backend applications.
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
### Backend (nodex-api)
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
// Import schemas for validation
|
|
13
|
+
import {
|
|
14
|
+
createBubbleFlowSchema,
|
|
15
|
+
createCredentialSchema,
|
|
16
|
+
} from '@bubblelab/shared-schemas';
|
|
17
|
+
|
|
18
|
+
// Import types for TypeScript
|
|
19
|
+
import type {
|
|
20
|
+
CreateBubbleFlowRequest,
|
|
21
|
+
CreateCredentialRequest,
|
|
22
|
+
} from '@bubblelab/shared-schemas';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Frontend (nodex-dashboard)
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
// Import types for API calls
|
|
29
|
+
import type {
|
|
30
|
+
CreateBubbleFlowRequest,
|
|
31
|
+
CreateBubbleFlowResponse,
|
|
32
|
+
CredentialResponse,
|
|
33
|
+
} from '@bubblelab/shared-schemas';
|
|
34
|
+
|
|
35
|
+
// Use in API service functions
|
|
36
|
+
const createBubbleFlow = async (
|
|
37
|
+
data: CreateBubbleFlowRequest
|
|
38
|
+
): Promise<CreateBubbleFlowResponse> => {
|
|
39
|
+
// API call implementation
|
|
40
|
+
};
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Available Schemas
|
|
44
|
+
|
|
45
|
+
### BubbleFlow Schemas
|
|
46
|
+
|
|
47
|
+
- `createBubbleFlowSchema` - Create new BubbleFlow
|
|
48
|
+
- `executeBubbleFlowSchema` - Execute BubbleFlow
|
|
49
|
+
- `updateBubbleFlowParametersSchema` - Update BubbleFlow parameters
|
|
50
|
+
- `createBubbleFlowResponseSchema` - Create BubbleFlow response
|
|
51
|
+
- `executeBubbleFlowResponseSchema` - Execute BubbleFlow response
|
|
52
|
+
- `bubbleFlowDetailsResponseSchema` - Get BubbleFlow details response
|
|
53
|
+
- `listBubbleFlowsResponseSchema` - List BubbleFlows response
|
|
54
|
+
|
|
55
|
+
### Credential Schemas
|
|
56
|
+
|
|
57
|
+
- `createCredentialSchema` - Create new credential
|
|
58
|
+
- `credentialResponseSchema` - Credential response
|
|
59
|
+
- `createCredentialResponseSchema` - Create credential response
|
|
60
|
+
|
|
61
|
+
### Webhook Schemas
|
|
62
|
+
|
|
63
|
+
- `webhookResponseSchema` - Webhook response
|
|
64
|
+
- `webhookExecutionResponseSchema` - Webhook execution response
|
|
65
|
+
- `slackUrlVerificationSchema` - Slack URL verification
|
|
66
|
+
- `slackUrlVerificationResponseSchema` - Slack URL verification response
|
|
67
|
+
|
|
68
|
+
### Common Schemas
|
|
69
|
+
|
|
70
|
+
- `errorResponseSchema` - Error response
|
|
71
|
+
- `successMessageResponseSchema` - Success message response
|
|
72
|
+
|
|
73
|
+
## Development
|
|
74
|
+
|
|
75
|
+
### Building
|
|
76
|
+
|
|
77
|
+
To build the package:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
pnpm build
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Auto-rebuild Options
|
|
84
|
+
|
|
85
|
+
**Option 1: Watch Mode (Recommended for Development)**
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
# From root directory
|
|
89
|
+
pnpm build:core:watch
|
|
90
|
+
|
|
91
|
+
# Or from shared-schemas directory
|
|
92
|
+
pnpm dev
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
**Option 2: Development Mode**
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# Watch both core and schemas
|
|
99
|
+
pnpm dev:core
|
|
100
|
+
|
|
101
|
+
# Watch all packages
|
|
102
|
+
pnpm dev:all
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**Option 3: Pre-commit Hook (Automatic)**
|
|
106
|
+
The pre-commit hook automatically builds schemas when they change:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
# Make the script executable (one-time setup)
|
|
110
|
+
chmod +x scripts/pre-commit.sh
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
**Option 4: VS Code Extension**
|
|
114
|
+
Install "File Watcher" extension to automatically run build commands when files change.
|
|
115
|
+
|
|
116
|
+
## Adding New Schemas
|
|
117
|
+
|
|
118
|
+
1. **Define the Zod schema** in `src/routes.ts` with proper OpenAPI metadata
|
|
119
|
+
2. **Export the schema** for validation
|
|
120
|
+
3. **Export the TypeScript type** using `z.infer<typeof schemaName>`
|
|
121
|
+
4. **Update the documentation** at the top of `src/routes.ts`
|
|
122
|
+
5. **Rebuild the package**: `pnpm build:core` (from root)
|
|
123
|
+
|
|
124
|
+
## Schema Organization
|
|
125
|
+
|
|
126
|
+
The schemas are organized into sections in `src/routes.ts`:
|
|
127
|
+
|
|
128
|
+
- **Request Schemas**: Input validation for API endpoints
|
|
129
|
+
- **Response Schemas**: Output types for API responses
|
|
130
|
+
- **Webhook Schemas**: Special schemas for webhook handling
|
|
131
|
+
- **TypeScript Types**: Derived types for use in both frontend and backend
|
|
132
|
+
|
|
133
|
+
## Benefits
|
|
134
|
+
|
|
135
|
+
1. **Type Safety**: Shared types ensure frontend and backend are always in sync
|
|
136
|
+
2. **Single Source of Truth**: All API schemas are defined in one place
|
|
137
|
+
3. **Consistency**: Both applications use the same validation rules
|
|
138
|
+
4. **Maintainability**: Changes to schemas automatically propagate to both apps
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from '@hono/zod-openapi';
|
|
2
|
+
export declare const errorResponseSchema: z.ZodObject<{
|
|
3
|
+
error: z.ZodString;
|
|
4
|
+
details: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
error: string;
|
|
7
|
+
details?: string | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
error: string;
|
|
10
|
+
details?: string | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
export type ErrorResponse = z.infer<typeof errorResponseSchema>;
|
|
13
|
+
export interface HealthCheckResponse {
|
|
14
|
+
message: string;
|
|
15
|
+
timestamp: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const slackUrlVerificationSchema: z.ZodObject<{
|
|
18
|
+
token: z.ZodString;
|
|
19
|
+
challenge: z.ZodString;
|
|
20
|
+
type: z.ZodLiteral<"url_verification">;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
type: "url_verification";
|
|
23
|
+
token: string;
|
|
24
|
+
challenge: string;
|
|
25
|
+
}, {
|
|
26
|
+
type: "url_verification";
|
|
27
|
+
token: string;
|
|
28
|
+
challenge: string;
|
|
29
|
+
}>;
|
|
30
|
+
export declare const slackUrlVerificationResponseSchema: z.ZodObject<{
|
|
31
|
+
challenge: z.ZodString;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
challenge: string;
|
|
34
|
+
}, {
|
|
35
|
+
challenge: string;
|
|
36
|
+
}>;
|
|
37
|
+
export type SlackUrlVerificationResponse = z.infer<typeof slackUrlVerificationResponseSchema>;
|
|
38
|
+
//# sourceMappingURL=api-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-schema.d.ts","sourceRoot":"","sources":["../src/api-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAEtC,eAAO,MAAM,mBAAmB;;;;;;;;;EAWL,CAAC;AAE5B,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;EAML,CAAC;AAE3C,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from '@hono/zod-openapi';
|
|
2
|
+
export const errorResponseSchema = z
|
|
3
|
+
.object({
|
|
4
|
+
error: z.string().openapi({
|
|
5
|
+
description: 'Error message',
|
|
6
|
+
example: 'Validation failed',
|
|
7
|
+
}),
|
|
8
|
+
details: z.string().optional().openapi({
|
|
9
|
+
description: 'Additional error details',
|
|
10
|
+
example: 'Invalid field: name is required',
|
|
11
|
+
}),
|
|
12
|
+
})
|
|
13
|
+
.openapi('ErrorResponse');
|
|
14
|
+
export const slackUrlVerificationSchema = z.object({
|
|
15
|
+
token: z.string(),
|
|
16
|
+
challenge: z.string(),
|
|
17
|
+
type: z.literal('url_verification'),
|
|
18
|
+
});
|
|
19
|
+
export const slackUrlVerificationResponseSchema = z
|
|
20
|
+
.object({
|
|
21
|
+
challenge: z
|
|
22
|
+
.string()
|
|
23
|
+
.openapi({ description: 'Slack URL verification challenge' }),
|
|
24
|
+
})
|
|
25
|
+
.openapi('SlackUrlVerificationResponse');
|
|
26
|
+
//# sourceMappingURL=api-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-schema.js","sourceRoot":"","sources":["../src/api-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAEtC,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,MAAM,CAAC;IACN,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC;QACxB,WAAW,EAAE,eAAe;QAC5B,OAAO,EAAE,mBAAmB;KAC7B,CAAC;IACF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC;QACrC,WAAW,EAAE,0BAA0B;QACvC,OAAO,EAAE,iCAAiC;KAC3C,CAAC;CACH,CAAC;KACD,OAAO,CAAC,eAAe,CAAC,CAAC;AAS5B,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;CACpC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC;KAChD,MAAM,CAAC;IACN,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,OAAO,CAAC,EAAE,WAAW,EAAE,kCAAkC,EAAE,CAAC;CAChE,CAAC;KACD,OAAO,CAAC,8BAA8B,CAAC,CAAC"}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { CredentialType, BubbleName } from './types';
|
|
3
|
+
export declare enum BubbleParameterType {
|
|
4
|
+
STRING = "string",
|
|
5
|
+
NUMBER = "number",
|
|
6
|
+
BOOLEAN = "boolean",
|
|
7
|
+
OBJECT = "object",
|
|
8
|
+
ARRAY = "array",
|
|
9
|
+
ENV = "env",
|
|
10
|
+
VARIABLE = "variable",
|
|
11
|
+
EXPRESSION = "expression",
|
|
12
|
+
UNKNOWN = "unknown"
|
|
13
|
+
}
|
|
14
|
+
export declare const CREDENTIAL_CONFIGURATION_MAP: Record<CredentialType, Record<string, BubbleParameterType>>;
|
|
15
|
+
export declare const BUBBLE_NAMES_WITH_CONTEXT_INJECTION: string[];
|
|
16
|
+
export interface BubbleParameter {
|
|
17
|
+
variableId?: number;
|
|
18
|
+
name: string;
|
|
19
|
+
value: unknown;
|
|
20
|
+
type: BubbleParameterType;
|
|
21
|
+
}
|
|
22
|
+
export interface ParsedBubble {
|
|
23
|
+
variableName: string;
|
|
24
|
+
bubbleName: string;
|
|
25
|
+
className: string;
|
|
26
|
+
parameters: BubbleParameter[];
|
|
27
|
+
hasAwait: boolean;
|
|
28
|
+
hasActionCall: boolean;
|
|
29
|
+
dependencies?: BubbleName[];
|
|
30
|
+
dependencyGraph?: DependencyGraphNode;
|
|
31
|
+
}
|
|
32
|
+
export interface DependencyGraphNode {
|
|
33
|
+
name: BubbleName;
|
|
34
|
+
/** Optional variable name for this node instance, when available */
|
|
35
|
+
variableName?: string;
|
|
36
|
+
nodeType: BubbleNodeType;
|
|
37
|
+
/**
|
|
38
|
+
* Unique hierarchical ID path for the node within a flow.
|
|
39
|
+
* Constructed as parentUniqueId + "." + bubbleName + "#" + ordinal.
|
|
40
|
+
* Root nodes can omit or use empty string for the parent portion.
|
|
41
|
+
*/
|
|
42
|
+
uniqueId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Variable id assigned by the parser/scope manager if available.
|
|
45
|
+
* Root bubble nodes will carry their declaration variable id; synthetic/child nodes
|
|
46
|
+
* inferred from dependencies may be assigned a negative synthetic id.
|
|
47
|
+
*/
|
|
48
|
+
variableId?: number;
|
|
49
|
+
dependencies: DependencyGraphNode[];
|
|
50
|
+
}
|
|
51
|
+
export interface BubbleDependencySpec {
|
|
52
|
+
name: BubbleName;
|
|
53
|
+
tools?: BubbleName[];
|
|
54
|
+
}
|
|
55
|
+
export type BubbleNodeType = 'service' | 'tool' | 'workflow' | 'unknown';
|
|
56
|
+
export interface ParsedBubbleWithInfo extends ParsedBubble {
|
|
57
|
+
variableId: number;
|
|
58
|
+
nodeType: BubbleNodeType;
|
|
59
|
+
location: {
|
|
60
|
+
startLine: number;
|
|
61
|
+
startCol: number;
|
|
62
|
+
endLine: number;
|
|
63
|
+
endCol: number;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export declare const BubbleParameterTypeSchema: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
67
|
+
export declare const BubbleParameterSchema: z.ZodObject<{
|
|
68
|
+
variableId: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
name: z.ZodString;
|
|
70
|
+
value: z.ZodUnknown;
|
|
71
|
+
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
name: string;
|
|
74
|
+
type: BubbleParameterType;
|
|
75
|
+
variableId?: number | undefined;
|
|
76
|
+
value?: unknown;
|
|
77
|
+
}, {
|
|
78
|
+
name: string;
|
|
79
|
+
type: BubbleParameterType;
|
|
80
|
+
variableId?: number | undefined;
|
|
81
|
+
value?: unknown;
|
|
82
|
+
}>;
|
|
83
|
+
export declare const BubbleNodeTypeSchema: z.ZodEnum<["service", "tool", "workflow", "unknown"]>;
|
|
84
|
+
export declare const DependencyGraphNodeSchema: z.ZodType<DependencyGraphNode>;
|
|
85
|
+
export declare const ParsedBubbleSchema: z.ZodObject<{
|
|
86
|
+
variableName: z.ZodString;
|
|
87
|
+
bubbleName: z.ZodString;
|
|
88
|
+
className: z.ZodString;
|
|
89
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
90
|
+
variableId: z.ZodOptional<z.ZodNumber>;
|
|
91
|
+
name: z.ZodString;
|
|
92
|
+
value: z.ZodUnknown;
|
|
93
|
+
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
name: string;
|
|
96
|
+
type: BubbleParameterType;
|
|
97
|
+
variableId?: number | undefined;
|
|
98
|
+
value?: unknown;
|
|
99
|
+
}, {
|
|
100
|
+
name: string;
|
|
101
|
+
type: BubbleParameterType;
|
|
102
|
+
variableId?: number | undefined;
|
|
103
|
+
value?: unknown;
|
|
104
|
+
}>, "many">;
|
|
105
|
+
hasAwait: z.ZodBoolean;
|
|
106
|
+
hasActionCall: z.ZodBoolean;
|
|
107
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>;
|
|
108
|
+
dependencyGraph: z.ZodOptional<z.ZodType<DependencyGraphNode, z.ZodTypeDef, DependencyGraphNode>>;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
variableName: string;
|
|
111
|
+
bubbleName: string;
|
|
112
|
+
className: string;
|
|
113
|
+
parameters: {
|
|
114
|
+
name: string;
|
|
115
|
+
type: BubbleParameterType;
|
|
116
|
+
variableId?: number | undefined;
|
|
117
|
+
value?: unknown;
|
|
118
|
+
}[];
|
|
119
|
+
hasAwait: boolean;
|
|
120
|
+
hasActionCall: boolean;
|
|
121
|
+
dependencies?: BubbleName[] | undefined;
|
|
122
|
+
dependencyGraph?: DependencyGraphNode | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
variableName: string;
|
|
125
|
+
bubbleName: string;
|
|
126
|
+
className: string;
|
|
127
|
+
parameters: {
|
|
128
|
+
name: string;
|
|
129
|
+
type: BubbleParameterType;
|
|
130
|
+
variableId?: number | undefined;
|
|
131
|
+
value?: unknown;
|
|
132
|
+
}[];
|
|
133
|
+
hasAwait: boolean;
|
|
134
|
+
hasActionCall: boolean;
|
|
135
|
+
dependencies?: BubbleName[] | undefined;
|
|
136
|
+
dependencyGraph?: DependencyGraphNode | undefined;
|
|
137
|
+
}>;
|
|
138
|
+
export declare const BubbleDependencySpecSchema: z.ZodObject<{
|
|
139
|
+
name: z.ZodType<BubbleName>;
|
|
140
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>;
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
name: BubbleName;
|
|
143
|
+
tools?: BubbleName[] | undefined;
|
|
144
|
+
}, {
|
|
145
|
+
name: BubbleName;
|
|
146
|
+
tools?: BubbleName[] | undefined;
|
|
147
|
+
}>;
|
|
148
|
+
export declare const ParsedBubbleWithInfoSchema: z.ZodObject<{
|
|
149
|
+
variableName: z.ZodString;
|
|
150
|
+
bubbleName: z.ZodString;
|
|
151
|
+
className: z.ZodString;
|
|
152
|
+
parameters: z.ZodArray<z.ZodObject<{
|
|
153
|
+
variableId: z.ZodOptional<z.ZodNumber>;
|
|
154
|
+
name: z.ZodString;
|
|
155
|
+
value: z.ZodUnknown;
|
|
156
|
+
type: z.ZodNativeEnum<typeof BubbleParameterType>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
name: string;
|
|
159
|
+
type: BubbleParameterType;
|
|
160
|
+
variableId?: number | undefined;
|
|
161
|
+
value?: unknown;
|
|
162
|
+
}, {
|
|
163
|
+
name: string;
|
|
164
|
+
type: BubbleParameterType;
|
|
165
|
+
variableId?: number | undefined;
|
|
166
|
+
value?: unknown;
|
|
167
|
+
}>, "many">;
|
|
168
|
+
hasAwait: z.ZodBoolean;
|
|
169
|
+
hasActionCall: z.ZodBoolean;
|
|
170
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>;
|
|
171
|
+
dependencyGraph: z.ZodOptional<z.ZodType<DependencyGraphNode, z.ZodTypeDef, DependencyGraphNode>>;
|
|
172
|
+
variableId: z.ZodNumber;
|
|
173
|
+
nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>;
|
|
174
|
+
location: z.ZodObject<{
|
|
175
|
+
startLine: z.ZodNumber;
|
|
176
|
+
startCol: z.ZodNumber;
|
|
177
|
+
endLine: z.ZodNumber;
|
|
178
|
+
endCol: z.ZodNumber;
|
|
179
|
+
}, "strip", z.ZodTypeAny, {
|
|
180
|
+
startLine: number;
|
|
181
|
+
startCol: number;
|
|
182
|
+
endLine: number;
|
|
183
|
+
endCol: number;
|
|
184
|
+
}, {
|
|
185
|
+
startLine: number;
|
|
186
|
+
startCol: number;
|
|
187
|
+
endLine: number;
|
|
188
|
+
endCol: number;
|
|
189
|
+
}>;
|
|
190
|
+
}, "strip", z.ZodTypeAny, {
|
|
191
|
+
variableId: number;
|
|
192
|
+
variableName: string;
|
|
193
|
+
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
194
|
+
bubbleName: string;
|
|
195
|
+
className: string;
|
|
196
|
+
parameters: {
|
|
197
|
+
name: string;
|
|
198
|
+
type: BubbleParameterType;
|
|
199
|
+
variableId?: number | undefined;
|
|
200
|
+
value?: unknown;
|
|
201
|
+
}[];
|
|
202
|
+
hasAwait: boolean;
|
|
203
|
+
hasActionCall: boolean;
|
|
204
|
+
location: {
|
|
205
|
+
startLine: number;
|
|
206
|
+
startCol: number;
|
|
207
|
+
endLine: number;
|
|
208
|
+
endCol: number;
|
|
209
|
+
};
|
|
210
|
+
dependencies?: BubbleName[] | undefined;
|
|
211
|
+
dependencyGraph?: DependencyGraphNode | undefined;
|
|
212
|
+
}, {
|
|
213
|
+
variableId: number;
|
|
214
|
+
variableName: string;
|
|
215
|
+
nodeType: "unknown" | "service" | "tool" | "workflow";
|
|
216
|
+
bubbleName: string;
|
|
217
|
+
className: string;
|
|
218
|
+
parameters: {
|
|
219
|
+
name: string;
|
|
220
|
+
type: BubbleParameterType;
|
|
221
|
+
variableId?: number | undefined;
|
|
222
|
+
value?: unknown;
|
|
223
|
+
}[];
|
|
224
|
+
hasAwait: boolean;
|
|
225
|
+
hasActionCall: boolean;
|
|
226
|
+
location: {
|
|
227
|
+
startLine: number;
|
|
228
|
+
startCol: number;
|
|
229
|
+
endLine: number;
|
|
230
|
+
endCol: number;
|
|
231
|
+
};
|
|
232
|
+
dependencies?: BubbleName[] | undefined;
|
|
233
|
+
dependencyGraph?: DependencyGraphNode | undefined;
|
|
234
|
+
}>;
|
|
235
|
+
export type BubbleParameterTypeInferred = z.infer<typeof BubbleParameterTypeSchema>;
|
|
236
|
+
export type BubbleParameterInferred = z.infer<typeof BubbleParameterSchema>;
|
|
237
|
+
export type BubbleNodeTypeInferred = z.infer<typeof BubbleNodeTypeSchema>;
|
|
238
|
+
export type DependencyGraphNodeInferred = z.infer<typeof DependencyGraphNodeSchema>;
|
|
239
|
+
export type ParsedBubbleInferred = z.infer<typeof ParsedBubbleSchema>;
|
|
240
|
+
export type BubbleDependencySpecInferred = z.infer<typeof BubbleDependencySpecSchema>;
|
|
241
|
+
export type ParsedBubbleWithInfoInferred = z.infer<typeof ParsedBubbleWithInfoSchema>;
|
|
242
|
+
//# sourceMappingURL=bubble-definition-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bubble-definition-schema.d.ts","sourceRoot":"","sources":["../src/bubble-definition-schema.ts"],"names":[],"mappings":"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"}
|