@ripplo/testing 0.3.8 → 0.3.9
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/{builder-D-i_ueN3.d.ts → builder-CNJmzJVe.d.ts} +7 -2
- package/dist/compiler.d.ts +1 -1
- package/dist/elysia.d.ts +2 -2
- package/dist/{engine-BMfNkIKC.d.ts → engine-U84UJ0sj.d.ts} +1 -1
- package/dist/express.d.ts +2 -2
- package/dist/fastify.d.ts +2 -2
- package/dist/hono.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/koa.d.ts +2 -2
- package/dist/lockfile.d.ts +1 -1
- package/dist/nestjs.d.ts +2 -2
- package/dist/nextjs.d.ts +2 -2
- package/package.json +1 -1
|
@@ -15,6 +15,11 @@ interface ObserverReady<TInput extends Record<string, string>> {
|
|
|
15
15
|
readonly contract: () => ObserverHandle<TInput>;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
interface CoverageRegistry {
|
|
19
|
+
}
|
|
20
|
+
type RegistryKeys = keyof CoverageRegistry;
|
|
21
|
+
type CoverageStatementId = [RegistryKeys] extends [never] ? string : Extract<RegistryKeys, string>;
|
|
22
|
+
|
|
18
23
|
type PreconditionRecord = Record<string, Precondition>;
|
|
19
24
|
type ResolveDeps<TDeps extends PreconditionRecord> = {
|
|
20
25
|
readonly [K in keyof TDeps]: PreconditionData<TDeps[K]>;
|
|
@@ -46,7 +51,7 @@ interface TestNeedsSteps<TVars extends Record<string, Record<string, string>>> {
|
|
|
46
51
|
readonly steps: (fn: (vars: TVars) => ReadonlyArray<Step>) => TestNeedsCoverage;
|
|
47
52
|
}
|
|
48
53
|
interface TestNeedsCoverage {
|
|
49
|
-
readonly coverage: (...ids: ReadonlyArray<
|
|
54
|
+
readonly coverage: (...ids: ReadonlyArray<CoverageStatementId>) => TestDefinition;
|
|
50
55
|
}
|
|
51
56
|
|
|
52
57
|
type PreconditionSetupResult<TData extends Record<string, string>> = {
|
|
@@ -84,4 +89,4 @@ declare function observer(name: string): ObserverNeedsDescription;
|
|
|
84
89
|
declare function test(id: string, options?: TestOptions): TestNeedsName;
|
|
85
90
|
declare function createRipplo<P extends PreconditionRegistry, O extends ObserverRegistry>(rawConfig: UserDslConfig, registries: RipploRegistries<P, O>): RipploInstance<P, O>;
|
|
86
91
|
|
|
87
|
-
export { type ObserverImplFn as O, type PreconditionImpl as P, type ResolveDeps as R, type ObserverRegistry as a, type PreconditionRecord as b, type PreconditionRegistry as c, type RipploBuilder as d, type RipploInstance as e, type RipploRegistries as f, createRipplo as g, observer as o, precondition as p, test as t };
|
|
92
|
+
export { type CoverageRegistry as C, type ObserverImplFn as O, type PreconditionImpl as P, type ResolveDeps as R, type ObserverRegistry as a, type PreconditionRecord as b, type PreconditionRegistry as c, type RipploBuilder as d, type RipploInstance as e, type RipploRegistries as f, createRipplo as g, observer as o, precondition as p, test as t };
|
package/dist/compiler.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Observer, Precondition, WorkflowSpec } from '@ripplo/spec';
|
|
2
|
-
import { d as RipploBuilder } from './builder-
|
|
2
|
+
import { d as RipploBuilder } from './builder-CNJmzJVe.js';
|
|
3
3
|
import { e as DslConfig } from './types-Do4o4Y_c.js';
|
|
4
4
|
import './step-De52hTLd.js';
|
|
5
5
|
import 'zod';
|
package/dist/elysia.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Elysia } from 'elysia';
|
|
2
|
-
import { R as RipploEngine } from './engine-
|
|
3
|
-
import './builder-
|
|
2
|
+
import { R as RipploEngine } from './engine-U84UJ0sj.js';
|
|
3
|
+
import './builder-CNJmzJVe.js';
|
|
4
4
|
import './types-Do4o4Y_c.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './step-De52hTLd.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as PreconditionRegistry, a as ObserverRegistry, O as ObserverImplFn, P as PreconditionImpl, e as RipploInstance } from './builder-
|
|
1
|
+
import { c as PreconditionRegistry, a as ObserverRegistry, O as ObserverImplFn, P as PreconditionImpl, e as RipploInstance } from './builder-CNJmzJVe.js';
|
|
2
2
|
import { h as ObserverOutcome, C as CookieEntry, e as DslConfig, g as ObserverDefinition, k as PreconditionDefinition, U as UnimplementedItems, O as ObserverHandle, P as Precondition } from './types-Do4o4Y_c.js';
|
|
3
3
|
|
|
4
4
|
interface EngineResult {
|
package/dist/express.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Router } from 'express';
|
|
2
|
-
import { R as RipploEngine } from './engine-
|
|
3
|
-
import './builder-
|
|
2
|
+
import { R as RipploEngine } from './engine-U84UJ0sj.js';
|
|
3
|
+
import './builder-CNJmzJVe.js';
|
|
4
4
|
import './types-Do4o4Y_c.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './step-De52hTLd.js';
|
package/dist/fastify.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FastifyInstance } from 'fastify';
|
|
2
|
-
import { R as RipploEngine } from './engine-
|
|
3
|
-
import './builder-
|
|
2
|
+
import { R as RipploEngine } from './engine-U84UJ0sj.js';
|
|
3
|
+
import './builder-CNJmzJVe.js';
|
|
4
4
|
import './types-Do4o4Y_c.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './step-De52hTLd.js';
|
package/dist/hono.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Hono } from 'hono';
|
|
2
|
-
import { R as RipploEngine } from './engine-
|
|
3
|
-
import './builder-
|
|
2
|
+
import { R as RipploEngine } from './engine-U84UJ0sj.js';
|
|
3
|
+
import './builder-CNJmzJVe.js';
|
|
4
4
|
import './types-Do4o4Y_c.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './step-De52hTLd.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { O as ObserverImplFn, a as ObserverRegistry, P as PreconditionImpl, b as PreconditionRecord, c as PreconditionRegistry, R as ResolveDeps, d as RipploBuilder, e as RipploInstance, f as RipploRegistries, g as createRipplo, o as observer, p as precondition, t as test } from './builder-
|
|
1
|
+
export { C as CoverageRegistry, O as ObserverImplFn, a as ObserverRegistry, P as PreconditionImpl, b as PreconditionRecord, c as PreconditionRegistry, R as ResolveDeps, d as RipploBuilder, e as RipploInstance, f as RipploRegistries, g as createRipplo, o as observer, p as precondition, t as test } from './builder-CNJmzJVe.js';
|
|
2
2
|
import { CompileResult } from './compiler.js';
|
|
3
3
|
export { CompiledTest, compile } from './compiler.js';
|
|
4
|
-
export { E as EngineImpls, a as EngineResult, b as ExecuteBatchOptions, N as NotImplemented, O as ObserverImplFnFor, P as PreconditionImplFor, R as RipploEngine, c as createEngine, n as notImplemented } from './engine-
|
|
4
|
+
export { E as EngineImpls, a as EngineResult, b as ExecuteBatchOptions, N as NotImplemented, O as ObserverImplFnFor, P as PreconditionImplFor, R as RipploEngine, c as createEngine, n as notImplemented } from './engine-U84UJ0sj.js';
|
|
5
5
|
import { C as CookieEntry } from './types-Do4o4Y_c.js';
|
|
6
6
|
export { c as CookieOptions, D as DEFAULT_IGNORE_PATHS, d as DEFAULT_WATCH_PATHS, e as DslConfig, f as ObserverContext, g as ObserverDefinition, O as ObserverHandle, a as ObserverInput, h as ObserverOutcome, P as Precondition, i as PreconditionDeps, S as SetupContext, T as TeardownContext, j as TestDefinition } from './types-Do4o4Y_c.js';
|
|
7
7
|
export { D as DslNodeInput } from './step-De52hTLd.js';
|
package/dist/koa.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Middleware } from 'koa';
|
|
2
|
-
import { R as RipploEngine } from './engine-
|
|
3
|
-
import './builder-
|
|
2
|
+
import { R as RipploEngine } from './engine-U84UJ0sj.js';
|
|
3
|
+
import './builder-CNJmzJVe.js';
|
|
4
4
|
import './types-Do4o4Y_c.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './step-De52hTLd.js';
|
package/dist/lockfile.d.ts
CHANGED
package/dist/nestjs.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DynamicModule } from '@nestjs/common';
|
|
2
|
-
import { R as RipploEngine } from './engine-
|
|
3
|
-
import './builder-
|
|
2
|
+
import { R as RipploEngine } from './engine-U84UJ0sj.js';
|
|
3
|
+
import './builder-CNJmzJVe.js';
|
|
4
4
|
import './types-Do4o4Y_c.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './step-De52hTLd.js';
|
package/dist/nextjs.d.ts
CHANGED