( executor: E, )
| 1013 | }))(); |
| 1014 | |
| 1015 | const seedRunConnection = < |
| 1016 | E extends { |
| 1017 | readonly demo: { readonly seed: () => Effect.Effect<unknown, unknown> }; |
| 1018 | readonly connections: { |
| 1019 | readonly create: (input: { |
| 1020 | owner: "org"; |
| 1021 | name: ConnectionName; |
| 1022 | integration: IntegrationSlug; |
| 1023 | template: AuthTemplateSlug; |
| 1024 | from: { provider: ProviderKey; id: ProviderItemId }; |
| 1025 | }) => Effect.Effect<unknown, unknown>; |
| 1026 | }; |
| 1027 | }, |
| 1028 | >( |
| 1029 | executor: E, |
| 1030 | ) => |
| 1031 | Effect.gen(function* () { |
| 1032 | yield* executor.demo.seed(); |
| 1033 | yield* executor.connections.create({ |
| 1034 | owner: "org", |
| 1035 | name: CONN, |
| 1036 | integration: INTEG, |
| 1037 | template: TEMPLATE, |
| 1038 | from: { |
| 1039 | provider: ProviderKey.make("memory"), |
| 1040 | id: ProviderItemId.make("v"), |
| 1041 | }, |
| 1042 | }); |
| 1043 | }); |
| 1044 | |
| 1045 | /** Run the recorded tool-row invoke once and return the recorder. When |
| 1046 | * `maxOps` is set, the execute call runs under that `MaxOpsBeforeYield` |
no outgoing calls
no test coverage detected