( executor: E, )
| 903 | }))(); |
| 904 | |
| 905 | const seedRunConnection = < |
| 906 | E extends { |
| 907 | readonly demo: { readonly seed: () => Effect.Effect<unknown, unknown> }; |
| 908 | readonly connections: { |
| 909 | readonly create: (input: { |
| 910 | owner: "org"; |
| 911 | name: ConnectionName; |
| 912 | integration: IntegrationSlug; |
| 913 | template: AuthTemplateSlug; |
| 914 | from: { provider: ProviderKey; id: ProviderItemId }; |
| 915 | }) => Effect.Effect<unknown, unknown>; |
| 916 | }; |
| 917 | }, |
| 918 | >( |
| 919 | executor: E, |
| 920 | ) => |
| 921 | Effect.gen(function* () { |
| 922 | yield* executor.demo.seed(); |
| 923 | yield* executor.connections.create({ |
| 924 | owner: "org", |
| 925 | name: CONN, |
| 926 | integration: INTEG, |
| 927 | template: TEMPLATE, |
| 928 | from: { |
| 929 | provider: ProviderKey.make("memory"), |
| 930 | id: ProviderItemId.make("v"), |
| 931 | }, |
| 932 | }); |
| 933 | }); |
| 934 | |
| 935 | /** Run the recorded tool-row invoke once and return the recorder. When |
| 936 | * `maxOps` is set, the execute call runs under that `MaxOpsBeforeYield` |
no outgoing calls
no test coverage detected