@hs-x/codegen 0.2.6 → 0.3.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 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 [yyyy] [name of copyright owner]
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/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import type { AccountId, AppEventDeclaration, AppObjectAssociationDeclaration, AppObjectDeclaration, CardDefinition, DeployId, ProjectId, ProjectManifest, WorkerManifest } from '@hs-x/types';
2
- export declare const CODEGEN_VERSION = "0.2.6";
3
- export type { CapabilityManifest, ProjectManifest, WorkerManifest } from '@hs-x/types';
1
+ import type { AccountId, AppEventBatchingConfiguration, AppEventDeclaration, AppObjectAssociationDeclaration, AppObjectDeclaration, AppRedactionConfiguration, CardDefinition, DeployId, HubSpotRateLimitConfiguration, ProjectId, ProjectManifest, WorkerManifest } from '@hs-x/types';
2
+ export declare const CODEGEN_VERSION = "0.3.0";
3
+ export type { CapabilityManifest, ProjectManifest, WorkerManifest, } from '@hs-x/types';
4
4
  export interface GenerateProjectArtifactsOptions {
5
5
  readonly root: string;
6
6
  readonly workers: readonly WorkerManifest[];
@@ -16,8 +16,20 @@ export interface CloudflareResourceScope {
16
16
  }
17
17
  export interface CloudflareWorkerEntrypointOptions {
18
18
  readonly workerImportPath: string;
19
+ /** Static HubSpot apps have no OAuth owner record to bind card requests to. */
20
+ readonly requireActiveCardInstall?: boolean;
19
21
  readonly heartbeat?: CloudflareWorkerHeartbeatOptions;
20
22
  readonly billing?: CloudflareWorkerBillingOptions;
23
+ readonly appEventBatching?: AppEventBatchingConfiguration | false;
24
+ readonly rateLimits?: HubSpotRateLimitConfiguration;
25
+ readonly redaction?: AppRedactionConfiguration;
26
+ /**
27
+ * Scheduled-dispatch plan (ADR-023 S04). When present with at least one
28
+ * entry, the entrypoint gains a Cloudflare `scheduled` handler that maps the
29
+ * fired `event.cron` to its syncs and dispatches each. Produced by
30
+ * `planWorkerCronTriggers`.
31
+ */
32
+ readonly syncCron?: WorkerCronTriggerPlan;
21
33
  }
22
34
  export interface CloudflareWorkerBillingOptions {
23
35
  readonly controlPlaneUrl: string;
@@ -72,6 +84,17 @@ export interface HubSpotRuntimeProjectOptions {
72
84
  readonly cards?: readonly CardDefinition[];
73
85
  readonly runtimeBaseUrl: string;
74
86
  readonly redirectUrls?: readonly string[];
87
+ /**
88
+ * Author-declared URL allowlists from `defineApp`. The worker's own
89
+ * `runtimeBaseUrl` is always added to `fetch`; iframe/img/extra-fetch hosts
90
+ * come from here. UI extensions can only call URLs on the `fetch` allowlist,
91
+ * and timeline iframes must be on `iframe`.
92
+ */
93
+ readonly permittedUrls?: {
94
+ readonly fetch?: readonly string[];
95
+ readonly iframe?: readonly string[];
96
+ readonly img?: readonly string[];
97
+ };
75
98
  }
76
99
  export interface PortalSchemaProperty {
77
100
  readonly name: string;
@@ -115,6 +138,36 @@ export declare function workerCloudflareResourcePlan(scope: CloudflareResourceSc
115
138
  readonly cronTriggers: readonly string[];
116
139
  };
117
140
  export declare function cloudflareResourceName(scope: CloudflareResourceScope, resource: string): string;
141
+ /** One Cloudflare cron trigger and the sync capabilities it dispatches. */
142
+ export interface SyncCronTriggerEntry {
143
+ /** The normalized 5-field cron expression (matches `event.cron` on fire). */
144
+ readonly cron: string;
145
+ /** Sync capability ids that fire on this cron, sorted and de-duplicated. */
146
+ readonly syncIds: readonly string[];
147
+ }
148
+ /**
149
+ * The scheduled-dispatch plan for one worker (ADR-023 S04). `crons` is the
150
+ * de-duplicated, sorted list of expressions the deploy writes into the
151
+ * Cloudflare `[triggers] crons` config; `dispatch` maps each expression to the
152
+ * pull-capable syncs that fire on it, baked into the generated `scheduled`
153
+ * handler so it can fan out per fire.
154
+ */
155
+ export interface WorkerCronTriggerPlan {
156
+ readonly crons: readonly string[];
157
+ readonly dispatch: readonly SyncCronTriggerEntry[];
158
+ }
159
+ /**
160
+ * Translate a worker's declared sync schedules into a Cloudflare cron-trigger
161
+ * plan (ADR-023 S04). Only pull-capable syncs are scheduled — a push source is
162
+ * webhook-driven, and `event` / `manual` schedules produce no trigger. Two
163
+ * syncs that share a schedule collapse into a single cron entry that dispatches
164
+ * both: Cloudflare caps cron triggers per worker (5 on the base tier), so
165
+ * emitting one trigger per distinct cadence — rather than one per sync — both
166
+ * respects the cap and avoids duplicate scheduler wakeups. Schedules are
167
+ * normalized (and thus validated) here, so an unhonorable cadence that somehow
168
+ * reached deploy still throws rather than silently dropping the trigger.
169
+ */
170
+ export declare function planWorkerCronTriggers(worker: WorkerManifest): WorkerCronTriggerPlan;
118
171
  export declare function renderCloudflareWorkerEntrypoint(options: CloudflareWorkerEntrypointOptions): string;
119
172
  export declare function planPortalSchemaManagement(input: {
120
173
  readonly workers: readonly WorkerManifest[];
@@ -140,6 +193,8 @@ export interface ServerlessMigrationInput {
140
193
  readonly method: readonly string[];
141
194
  };
142
195
  }>>;
196
+ /** Legacy function sources captured by project-tree detection. */
197
+ readonly sources?: Readonly<Record<string, string>>;
143
198
  };
144
199
  }
145
200
  /**
@@ -151,6 +206,10 @@ export interface ServerlessMigrationInput {
151
206
  * first (`serverless.endpoint.url-contract`).
152
207
  */
153
208
  export declare function generateServerlessWorkerProject(input: ServerlessMigrationInput): GeneratedProjectSource;
209
+ export declare const MIGRATED_RUNTIME_ORIGIN_PLACEHOLDER = "https://runtime-origin.invalid";
210
+ export declare const MIGRATED_SERVERLESS_SHIM_PATH = "src/app/cards/_hsx-migration-run-serverless.ts";
211
+ export declare function renderMigratedRunServerlessShim(runtimeOrigin: string, backendIds?: Readonly<Record<string, string>>): string;
212
+ export declare function stampMigratedRunServerlessShimOrigin(source: string, runtimeOrigin: string): string;
154
213
  /** Webhook subscription entry (matrix §5 hsmeta `config.subscriptions`). */
155
214
  interface WebhookSubscriptionEntry {
156
215
  readonly subscriptionType?: string;
@@ -238,6 +297,45 @@ interface ProjectCardEntry {
238
297
  */
239
298
  export declare function generateMigratedHsxProject(input: MigratedProjectInput): GeneratedProjectSource;
240
299
  export declare function generateHubSpotRuntimeProject(options: HubSpotRuntimeProjectOptions): GeneratedProjectSource;
300
+ /** One reason a card's `backend` link is not deployable. Always an error. */
301
+ export interface CardBackendDiagnostic {
302
+ readonly code: 'card.backend.missing' | 'card.backend.permission-missing' | 'card.backend.scope-mismatch';
303
+ readonly severity: 'error';
304
+ readonly cardId: string;
305
+ readonly backendId: string;
306
+ readonly message: string;
307
+ }
308
+ /**
309
+ * Cross-check every card that declares a `backend` against the worker
310
+ * capabilities and the app's fetch allowlist. Pure and side-effect-free so both
311
+ * codegen (which throws) and callers doing author-time linting can consume it.
312
+ *
313
+ * Errors:
314
+ * - `card.backend.missing` — no `card-backend` capability with that id.
315
+ * - `card.backend.permission-missing` — the runtime origin the generated
316
+ * `hubspot.fetch` targets is not in `permittedUrls.fetch`, so HubSpot would
317
+ * block the call.
318
+ * - `card.backend.scope-mismatch` — the backend declares `objectTypes` and the
319
+ * card renders on an object type the backend does not serve.
320
+ */
321
+ export declare function validateCardBackends(input: {
322
+ readonly cards: readonly CardDefinition[];
323
+ readonly workers: readonly WorkerManifest[];
324
+ readonly runtimeOrigin: string;
325
+ readonly fetchAllowlist: readonly string[];
326
+ }): readonly CardBackendDiagnostic[];
327
+ /**
328
+ * The typed, secret-free client a UI-extension card imports to call its backend.
329
+ * One exported callable per referenced `card-backend`, each wrapping
330
+ * `hubspot.fetch(<runtimeOrigin>/_hsx/cards/<id>)`. The server/client boundary
331
+ * is the file boundary: this module never contains handler source, credentials,
332
+ * signing keys, or env — only the public origin and dispatch path.
333
+ */
334
+ export declare function renderCardBackendClient(input: {
335
+ readonly cards: readonly CardDefinition[];
336
+ readonly workers: readonly WorkerManifest[];
337
+ readonly runtimeOrigin: string;
338
+ }): string;
241
339
  export declare function renderRefsTypes(workers: readonly WorkerManifest[], declarations?: {
242
340
  readonly appObjects?: readonly AppObjectDeclaration[];
243
341
  readonly appEvents?: readonly AppEventDecl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