@rikalabs/akter 0.1.0-alpha.0 → 0.1.0-alpha.3
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/CHANGELOG.md +46 -3
- package/README.md +2 -2
- package/dist/actor/definition.d.ts +13 -9
- package/dist/actor/descriptor.d.ts +2 -2
- package/dist/actor/descriptor.js +4 -4
- package/dist/client/calls.js +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/errors/actor.d.ts +12 -42
- package/dist/errors/actor.js +13 -42
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/members/payload.d.ts +1 -1
- package/dist/protocol/inspection.d.ts +221 -1
- package/dist/protocol/inspection.js +151 -2
- package/dist/protocol/wire.d.ts +6 -49
- package/dist/protocol/wire.js +1 -10
- package/dist/runtime/actors.d.ts +3 -0
- package/dist/runtime/adoption/backfill.js +1 -1
- package/dist/runtime/adoption/enforce.js +2 -2
- package/dist/runtime/adoption/observe.js +1 -1
- package/dist/runtime/adoption/plan.d.ts +1 -1
- package/dist/runtime/adoption/startup.js +1 -1
- package/dist/runtime/adoption/status.d.ts +1 -1
- package/dist/runtime/app.d.ts +65 -0
- package/dist/runtime/app.js +38 -0
- package/dist/runtime/connections/holder.d.ts +11 -1
- package/dist/runtime/connections/holder.js +8 -4
- package/dist/runtime/connections/streams.d.ts +4 -4
- package/dist/runtime/content/store.js +15 -11
- package/dist/runtime/database/bounded.d.ts +4 -18
- package/dist/runtime/database/bounded.js +36 -22
- package/dist/runtime/database/coordination.d.ts +12 -3
- package/dist/runtime/database/coordination.js +29 -36
- package/dist/runtime/database/migrations.d.ts +61 -29
- package/dist/runtime/database/migrations.js +375 -139
- package/dist/runtime/database/replica.d.ts +4 -1
- package/dist/runtime/database/replica.js +4 -1
- package/dist/runtime/database/schema.d.ts +13 -0
- package/dist/runtime/database/schema.js +13 -0
- package/dist/runtime/database/shards.d.ts +31 -13
- package/dist/runtime/database/shards.js +38 -26
- package/dist/runtime/entity/register.d.ts +8 -1
- package/dist/runtime/entity/register.js +58 -7
- package/dist/runtime/fleet/checks.js +4 -4
- package/dist/runtime/fleet/maintainer.d.ts +1 -1
- package/dist/runtime/fleet/maintainer.js +1 -1
- package/dist/runtime/index.d.ts +2 -0
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/inspector/layer.d.ts +20 -0
- package/dist/runtime/inspector/layer.js +224 -5
- package/dist/runtime/inspector/queries.d.ts +54 -8
- package/dist/runtime/inspector/queries.js +84 -15
- package/dist/runtime/layer.d.ts +48 -39
- package/dist/runtime/layer.js +124 -56
- package/dist/runtime/operators/audit.d.ts +3 -0
- package/dist/runtime/operators/audit.js +6 -2
- package/dist/runtime/operators/repair.js +30 -10
- package/dist/runtime/operators/seed.js +4 -2
- package/dist/runtime/payloads/versions.d.ts +4 -4
- package/dist/runtime/payloads/versions.js +24 -15
- package/dist/runtime/queries.js +4 -2
- package/dist/runtime/registration.d.ts +5 -2
- package/dist/runtime/registration.js +3 -3
- package/dist/runtime/runner.d.ts +12 -0
- package/dist/runtime/runner.js +12 -0
- package/dist/runtime/storage/codec.d.ts +19 -7
- package/dist/runtime/storage/codec.js +23 -7
- package/dist/runtime/storage/placements.d.ts +6 -1
- package/dist/runtime/storage/placements.js +98 -6
- package/dist/runtime/storage/retention.d.ts +6 -0
- package/dist/runtime/storage/retention.js +25 -13
- package/dist/runtime/subscriptions/relay.js +47 -44
- package/dist/runtime/subscriptions/storage.d.ts +3 -2
- package/dist/runtime/subscriptions/storage.js +9 -6
- package/dist/runtime/telemetry/live.d.ts +255 -0
- package/dist/runtime/telemetry/live.js +540 -0
- package/dist/runtime/telemetry/metrics.d.ts +2 -0
- package/dist/runtime/telemetry/metrics.js +4 -1
- package/dist/runtime/telemetry/sampler.js +33 -13
- package/dist/runtime/telemetry/spans.d.ts +1 -1
- package/dist/runtime/telemetry/spans.js +1 -1
- package/dist/runtime/topology/locks.d.ts +6 -3
- package/dist/runtime/topology/locks.js +27 -4
- package/dist/runtime/turn/execute.d.ts +2 -0
- package/dist/runtime/turn/execute.js +5 -2
- package/dist/runtime/turn/pipeline.d.ts +5 -12
- package/dist/runtime/turn/pipeline.js +11 -11
- package/dist/runtime/turn/relay.d.ts +13 -3
- package/dist/runtime/turn/relay.js +27 -14
- package/dist/runtime/turn/rows.js +4 -4
- package/dist/runtime/workflows/compatibility.d.ts +1 -1
- package/dist/runtime/workflows/compatibility.js +85 -31
- package/dist/runtime/workflows/engine.js +20 -17
- package/dist/serve/layer.js +3 -2
- package/dist/tables/owned.d.ts +1 -1
- package/dist/tables/owned.js +1 -1
- package/dist/testing/actor-test.d.ts +2 -24
- package/dist/testing/actor-test.js +1 -27
- package/dist/testing/index.d.ts +0 -12
- package/dist/testing/index.js +0 -6
- package/package.json +1 -1
- package/dist/runtime/database/neki/migrations.d.ts +0 -31
- package/dist/runtime/database/neki/migrations.js +0 -276
- package/dist/runtime/database/neki/session.d.ts +0 -23
- package/dist/runtime/database/neki/session.js +0 -31
- package/dist/testing/cluster.d.ts +0 -93
- package/dist/testing/cluster.js +0 -296
- package/dist/testing/conformance/access.d.ts +0 -5
- package/dist/testing/conformance/access.js +0 -531
- package/dist/testing/conformance/admission.d.ts +0 -11
- package/dist/testing/conformance/admission.js +0 -182
- package/dist/testing/conformance/adoption.d.ts +0 -2
- package/dist/testing/conformance/adoption.js +0 -1019
- package/dist/testing/conformance/assertions.d.ts +0 -202
- package/dist/testing/conformance/assertions.js +0 -849
- package/dist/testing/conformance/batches.d.ts +0 -41
- package/dist/testing/conformance/batches.js +0 -388
- package/dist/testing/conformance/blobs.d.ts +0 -14
- package/dist/testing/conformance/blobs.js +0 -405
- package/dist/testing/conformance/capacity.d.ts +0 -8
- package/dist/testing/conformance/capacity.js +0 -433
- package/dist/testing/conformance/client.d.ts +0 -5
- package/dist/testing/conformance/client.js +0 -719
- package/dist/testing/conformance/cold-serve.d.ts +0 -16
- package/dist/testing/conformance/cold-serve.js +0 -254
- package/dist/testing/conformance/connections/actors.d.ts +0 -1143
- package/dist/testing/conformance/connections/actors.js +0 -180
- package/dist/testing/conformance/connections/harness.d.ts +0 -1754
- package/dist/testing/conformance/connections/harness.js +0 -142
- package/dist/testing/conformance/connections/holders.d.ts +0 -4
- package/dist/testing/conformance/connections/holders.js +0 -165
- package/dist/testing/conformance/connections/lifecycle.d.ts +0 -4
- package/dist/testing/conformance/connections/lifecycle.js +0 -113
- package/dist/testing/conformance/connections/limits.d.ts +0 -4
- package/dist/testing/conformance/connections/limits.js +0 -127
- package/dist/testing/conformance/connections/reauthorization.d.ts +0 -4
- package/dist/testing/conformance/connections/reauthorization.js +0 -170
- package/dist/testing/conformance/connections/resync.d.ts +0 -4
- package/dist/testing/conformance/connections/resync.js +0 -360
- package/dist/testing/conformance/connections/takeover.d.ts +0 -4
- package/dist/testing/conformance/connections/takeover.js +0 -287
- package/dist/testing/conformance/connections.d.ts +0 -4
- package/dist/testing/conformance/connections.js +0 -15
- package/dist/testing/conformance/content-blobs.d.ts +0 -16
- package/dist/testing/conformance/content-blobs.js +0 -534
- package/dist/testing/conformance/counter.d.ts +0 -16
- package/dist/testing/conformance/counter.js +0 -813
- package/dist/testing/conformance/cron.d.ts +0 -5
- package/dist/testing/conformance/cron.js +0 -665
- package/dist/testing/conformance/drain.d.ts +0 -26
- package/dist/testing/conformance/drain.js +0 -540
- package/dist/testing/conformance/effect-control.d.ts +0 -38
- package/dist/testing/conformance/effect-control.js +0 -1059
- package/dist/testing/conformance/effects.d.ts +0 -23
- package/dist/testing/conformance/effects.js +0 -432
- package/dist/testing/conformance/events.d.ts +0 -28
- package/dist/testing/conformance/events.js +0 -335
- package/dist/testing/conformance/export.d.ts +0 -2
- package/dist/testing/conformance/export.js +0 -368
- package/dist/testing/conformance/fleet.d.ts +0 -444
- package/dist/testing/conformance/fleet.js +0 -1009
- package/dist/testing/conformance/groups.d.ts +0 -7
- package/dist/testing/conformance/groups.js +0 -353
- package/dist/testing/conformance/heap.d.ts +0 -3
- package/dist/testing/conformance/heap.js +0 -149
- package/dist/testing/conformance/http.d.ts +0 -2809
- package/dist/testing/conformance/http.js +0 -1234
- package/dist/testing/conformance/inspection-views.d.ts +0 -8
- package/dist/testing/conformance/inspection-views.js +0 -272
- package/dist/testing/conformance/inspector.d.ts +0 -7
- package/dist/testing/conformance/inspector.js +0 -650
- package/dist/testing/conformance/mint.d.ts +0 -58
- package/dist/testing/conformance/mint.js +0 -692
- package/dist/testing/conformance/multi-runner.d.ts +0 -8
- package/dist/testing/conformance/multi-runner.js +0 -403
- package/dist/testing/conformance/neki/plan.d.ts +0 -19
- package/dist/testing/conformance/neki/plan.js +0 -30
- package/dist/testing/conformance/observability.d.ts +0 -3
- package/dist/testing/conformance/observability.js +0 -343
- package/dist/testing/conformance/offline.d.ts +0 -4
- package/dist/testing/conformance/offline.js +0 -474
- package/dist/testing/conformance/operator-harness.d.ts +0 -57
- package/dist/testing/conformance/operator-harness.js +0 -78
- package/dist/testing/conformance/operator.d.ts +0 -3
- package/dist/testing/conformance/operator.js +0 -379
- package/dist/testing/conformance/outbox-cross-shard.d.ts +0 -14
- package/dist/testing/conformance/outbox-cross-shard.js +0 -160
- package/dist/testing/conformance/outbox.d.ts +0 -36
- package/dist/testing/conformance/outbox.js +0 -437
- package/dist/testing/conformance/payload-migrations.d.ts +0 -3
- package/dist/testing/conformance/payload-migrations.js +0 -612
- package/dist/testing/conformance/pipeline.d.ts +0 -3
- package/dist/testing/conformance/pipeline.js +0 -1040
- package/dist/testing/conformance/placement.d.ts +0 -22
- package/dist/testing/conformance/placement.js +0 -539
- package/dist/testing/conformance/platform.d.ts +0 -40
- package/dist/testing/conformance/platform.js +0 -101
- package/dist/testing/conformance/progress.d.ts +0 -39
- package/dist/testing/conformance/progress.js +0 -666
- package/dist/testing/conformance/properties.d.ts +0 -6
- package/dist/testing/conformance/properties.js +0 -295
- package/dist/testing/conformance/protocols.d.ts +0 -4
- package/dist/testing/conformance/protocols.js +0 -618
- package/dist/testing/conformance/provider/advertise.d.ts +0 -21
- package/dist/testing/conformance/provider/advertise.js +0 -44
- package/dist/testing/conformance/read-your-writes.d.ts +0 -20
- package/dist/testing/conformance/read-your-writes.js +0 -192
- package/dist/testing/conformance/reducers.d.ts +0 -8
- package/dist/testing/conformance/reducers.js +0 -258
- package/dist/testing/conformance/relay.d.ts +0 -42
- package/dist/testing/conformance/relay.js +0 -1115
- package/dist/testing/conformance/restore.d.ts +0 -43
- package/dist/testing/conformance/restore.js +0 -341
- package/dist/testing/conformance/retention.d.ts +0 -14
- package/dist/testing/conformance/retention.js +0 -463
- package/dist/testing/conformance/rls.d.ts +0 -24
- package/dist/testing/conformance/rls.js +0 -576
- package/dist/testing/conformance/simulation.d.ts +0 -31
- package/dist/testing/conformance/simulation.js +0 -167
- package/dist/testing/conformance/single-shard.d.ts +0 -2
- package/dist/testing/conformance/single-shard.js +0 -125
- package/dist/testing/conformance/singleton.d.ts +0 -3
- package/dist/testing/conformance/singleton.js +0 -293
- package/dist/testing/conformance/statements.d.ts +0 -60
- package/dist/testing/conformance/statements.js +0 -108
- package/dist/testing/conformance/streams.d.ts +0 -7
- package/dist/testing/conformance/streams.js +0 -280
- package/dist/testing/conformance/subscriptions/access.d.ts +0 -4
- package/dist/testing/conformance/subscriptions/access.js +0 -98
- package/dist/testing/conformance/subscriptions/actors.d.ts +0 -4910
- package/dist/testing/conformance/subscriptions/actors.js +0 -372
- package/dist/testing/conformance/subscriptions/cluster.d.ts +0 -4
- package/dist/testing/conformance/subscriptions/cluster.js +0 -89
- package/dist/testing/conformance/subscriptions/delivery.d.ts +0 -4
- package/dist/testing/conformance/subscriptions/delivery.js +0 -253
- package/dist/testing/conformance/subscriptions/deploys.d.ts +0 -4
- package/dist/testing/conformance/subscriptions/deploys.js +0 -162
- package/dist/testing/conformance/subscriptions/epochs.d.ts +0 -4
- package/dist/testing/conformance/subscriptions/epochs.js +0 -169
- package/dist/testing/conformance/subscriptions/failures.d.ts +0 -4
- package/dist/testing/conformance/subscriptions/failures.js +0 -108
- package/dist/testing/conformance/subscriptions/feeds.d.ts +0 -4
- package/dist/testing/conformance/subscriptions/feeds.js +0 -218
- package/dist/testing/conformance/subscriptions/harness.d.ts +0 -124
- package/dist/testing/conformance/subscriptions/harness.js +0 -143
- package/dist/testing/conformance/subscriptions/operator.d.ts +0 -4
- package/dist/testing/conformance/subscriptions/operator.js +0 -128
- package/dist/testing/conformance/subscriptions/retention.d.ts +0 -4
- package/dist/testing/conformance/subscriptions/retention.js +0 -288
- package/dist/testing/conformance/subscriptions/routing.d.ts +0 -4
- package/dist/testing/conformance/subscriptions/routing.js +0 -179
- package/dist/testing/conformance/subscriptions.d.ts +0 -4
- package/dist/testing/conformance/subscriptions.js +0 -19
- package/dist/testing/conformance/tables.d.ts +0 -125
- package/dist/testing/conformance/tables.js +0 -664
- package/dist/testing/conformance/transports/actors.d.ts +0 -1907
- package/dist/testing/conformance/transports/actors.js +0 -163
- package/dist/testing/conformance/transports/client.d.ts +0 -3
- package/dist/testing/conformance/transports/client.js +0 -237
- package/dist/testing/conformance/transports/feeds.d.ts +0 -3
- package/dist/testing/conformance/transports/feeds.js +0 -232
- package/dist/testing/conformance/transports/harness.d.ts +0 -93
- package/dist/testing/conformance/transports/harness.js +0 -84
- package/dist/testing/conformance/transports/streams.d.ts +0 -3
- package/dist/testing/conformance/transports/streams.js +0 -96
- package/dist/testing/conformance/transports/websocket.d.ts +0 -3
- package/dist/testing/conformance/transports/websocket.js +0 -384
- package/dist/testing/conformance/transports/wire.d.ts +0 -141
- package/dist/testing/conformance/transports/wire.js +0 -204
- package/dist/testing/conformance/transports.d.ts +0 -3
- package/dist/testing/conformance/transports.js +0 -11
- package/dist/testing/conformance/watch.d.ts +0 -59
- package/dist/testing/conformance/watch.js +0 -879
- package/dist/testing/conformance/workflow-engine.d.ts +0 -97
- package/dist/testing/conformance/workflow-engine.js +0 -253
- package/dist/testing/conformance/workflow-versions.d.ts +0 -3
- package/dist/testing/conformance/workflow-versions.js +0 -545
- package/dist/testing/conformance/workflows/access.d.ts +0 -4
- package/dist/testing/conformance/workflows/access.js +0 -147
- package/dist/testing/conformance/workflows/actors.d.ts +0 -2317
- package/dist/testing/conformance/workflows/actors.js +0 -305
- package/dist/testing/conformance/workflows/basics.d.ts +0 -4
- package/dist/testing/conformance/workflows/basics.js +0 -144
- package/dist/testing/conformance/workflows/engine.d.ts +0 -4
- package/dist/testing/conformance/workflows/engine.js +0 -80
- package/dist/testing/conformance/workflows/guards.d.ts +0 -4
- package/dist/testing/conformance/workflows/guards.js +0 -172
- package/dist/testing/conformance/workflows/harness.d.ts +0 -14
- package/dist/testing/conformance/workflows/harness.js +0 -44
- package/dist/testing/conformance/workflows/recovery.d.ts +0 -4
- package/dist/testing/conformance/workflows/recovery.js +0 -181
- package/dist/testing/conformance/workflows/starts.d.ts +0 -4
- package/dist/testing/conformance/workflows/starts.js +0 -57
- package/dist/testing/conformance/workflows/suspension.d.ts +0 -4
- package/dist/testing/conformance/workflows/suspension.js +0 -106
- package/dist/testing/conformance/workflows/waits.d.ts +0 -4
- package/dist/testing/conformance/workflows/waits.js +0 -284
- package/dist/testing/conformance/workflows.d.ts +0 -4
- package/dist/testing/conformance/workflows.js +0 -19
- package/dist/testing/conformance.d.ts +0 -330
- package/dist/testing/conformance.js +0 -364
- package/dist/testing/foundation.d.ts +0 -41
- package/dist/testing/foundation.js +0 -517
- package/dist/testing/simulate-cluster.d.ts +0 -112
- package/dist/testing/simulate-cluster.js +0 -257
- package/dist/testing/simulate.d.ts +0 -90
- package/dist/testing/simulate.js +0 -127
|
@@ -1,444 +0,0 @@
|
|
|
1
|
-
import { Layer } from "effect";
|
|
2
|
-
import type { ConformanceCase, ConformanceSuite } from "../conformance.ts";
|
|
3
|
-
/** The source table every fleet case reads. */
|
|
4
|
-
export declare const fleetOrders: import("../../index.ts").OwnedTable<import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
5
|
-
name: "fleet_orders";
|
|
6
|
-
schema: undefined;
|
|
7
|
-
columns: {
|
|
8
|
-
id: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
9
|
-
name: string;
|
|
10
|
-
tableName: "fleet_orders";
|
|
11
|
-
dataType: "string";
|
|
12
|
-
data: string;
|
|
13
|
-
driverParam: string;
|
|
14
|
-
notNull: true;
|
|
15
|
-
hasDefault: false;
|
|
16
|
-
isPrimaryKey: false;
|
|
17
|
-
isAutoincrement: false;
|
|
18
|
-
hasRuntimeDefault: false;
|
|
19
|
-
enumValues: undefined;
|
|
20
|
-
identity: undefined;
|
|
21
|
-
generated: undefined;
|
|
22
|
-
}>;
|
|
23
|
-
status: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
24
|
-
name: string;
|
|
25
|
-
tableName: "fleet_orders";
|
|
26
|
-
dataType: "string";
|
|
27
|
-
data: string;
|
|
28
|
-
driverParam: string;
|
|
29
|
-
notNull: true;
|
|
30
|
-
hasDefault: false;
|
|
31
|
-
isPrimaryKey: false;
|
|
32
|
-
isAutoincrement: false;
|
|
33
|
-
hasRuntimeDefault: false;
|
|
34
|
-
enumValues: undefined;
|
|
35
|
-
identity: undefined;
|
|
36
|
-
generated: undefined;
|
|
37
|
-
}>;
|
|
38
|
-
region: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
39
|
-
name: string;
|
|
40
|
-
tableName: "fleet_orders";
|
|
41
|
-
dataType: "string";
|
|
42
|
-
data: string;
|
|
43
|
-
driverParam: string;
|
|
44
|
-
notNull: true;
|
|
45
|
-
hasDefault: false;
|
|
46
|
-
isPrimaryKey: false;
|
|
47
|
-
isAutoincrement: false;
|
|
48
|
-
hasRuntimeDefault: false;
|
|
49
|
-
enumValues: undefined;
|
|
50
|
-
identity: undefined;
|
|
51
|
-
generated: undefined;
|
|
52
|
-
}>;
|
|
53
|
-
amountCents: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt64Builder>, {
|
|
54
|
-
name: string;
|
|
55
|
-
tableName: "fleet_orders";
|
|
56
|
-
dataType: "bigint int64";
|
|
57
|
-
data: bigint;
|
|
58
|
-
driverParam: string;
|
|
59
|
-
notNull: true;
|
|
60
|
-
hasDefault: false;
|
|
61
|
-
isPrimaryKey: false;
|
|
62
|
-
isAutoincrement: false;
|
|
63
|
-
hasRuntimeDefault: false;
|
|
64
|
-
enumValues: undefined;
|
|
65
|
-
identity: undefined;
|
|
66
|
-
generated: undefined;
|
|
67
|
-
}>;
|
|
68
|
-
archived: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBooleanBuilder>, {
|
|
69
|
-
name: string;
|
|
70
|
-
tableName: "fleet_orders";
|
|
71
|
-
dataType: "boolean";
|
|
72
|
-
data: boolean;
|
|
73
|
-
driverParam: boolean;
|
|
74
|
-
notNull: true;
|
|
75
|
-
hasDefault: false;
|
|
76
|
-
isPrimaryKey: false;
|
|
77
|
-
isAutoincrement: false;
|
|
78
|
-
hasRuntimeDefault: false;
|
|
79
|
-
enumValues: undefined;
|
|
80
|
-
identity: undefined;
|
|
81
|
-
generated: undefined;
|
|
82
|
-
}>;
|
|
83
|
-
};
|
|
84
|
-
dialect: 'pg';
|
|
85
|
-
isAlias: false;
|
|
86
|
-
}>>;
|
|
87
|
-
/** Orders not archived, by status, with every aggregate kind. */
|
|
88
|
-
export declare const OrdersByStatus: import("../../index.ts").FleetView<"OrdersByStatus", import("../../index.ts").OwnedTable<import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
89
|
-
name: "fleet_orders";
|
|
90
|
-
schema: undefined;
|
|
91
|
-
columns: {
|
|
92
|
-
id: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
93
|
-
name: string;
|
|
94
|
-
tableName: "fleet_orders";
|
|
95
|
-
dataType: "string";
|
|
96
|
-
data: string;
|
|
97
|
-
driverParam: string;
|
|
98
|
-
notNull: true;
|
|
99
|
-
hasDefault: false;
|
|
100
|
-
isPrimaryKey: false;
|
|
101
|
-
isAutoincrement: false;
|
|
102
|
-
hasRuntimeDefault: false;
|
|
103
|
-
enumValues: undefined;
|
|
104
|
-
identity: undefined;
|
|
105
|
-
generated: undefined;
|
|
106
|
-
}>;
|
|
107
|
-
status: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
108
|
-
name: string;
|
|
109
|
-
tableName: "fleet_orders";
|
|
110
|
-
dataType: "string";
|
|
111
|
-
data: string;
|
|
112
|
-
driverParam: string;
|
|
113
|
-
notNull: true;
|
|
114
|
-
hasDefault: false;
|
|
115
|
-
isPrimaryKey: false;
|
|
116
|
-
isAutoincrement: false;
|
|
117
|
-
hasRuntimeDefault: false;
|
|
118
|
-
enumValues: undefined;
|
|
119
|
-
identity: undefined;
|
|
120
|
-
generated: undefined;
|
|
121
|
-
}>;
|
|
122
|
-
region: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
123
|
-
name: string;
|
|
124
|
-
tableName: "fleet_orders";
|
|
125
|
-
dataType: "string";
|
|
126
|
-
data: string;
|
|
127
|
-
driverParam: string;
|
|
128
|
-
notNull: true;
|
|
129
|
-
hasDefault: false;
|
|
130
|
-
isPrimaryKey: false;
|
|
131
|
-
isAutoincrement: false;
|
|
132
|
-
hasRuntimeDefault: false;
|
|
133
|
-
enumValues: undefined;
|
|
134
|
-
identity: undefined;
|
|
135
|
-
generated: undefined;
|
|
136
|
-
}>;
|
|
137
|
-
amountCents: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt64Builder>, {
|
|
138
|
-
name: string;
|
|
139
|
-
tableName: "fleet_orders";
|
|
140
|
-
dataType: "bigint int64";
|
|
141
|
-
data: bigint;
|
|
142
|
-
driverParam: string;
|
|
143
|
-
notNull: true;
|
|
144
|
-
hasDefault: false;
|
|
145
|
-
isPrimaryKey: false;
|
|
146
|
-
isAutoincrement: false;
|
|
147
|
-
hasRuntimeDefault: false;
|
|
148
|
-
enumValues: undefined;
|
|
149
|
-
identity: undefined;
|
|
150
|
-
generated: undefined;
|
|
151
|
-
}>;
|
|
152
|
-
archived: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBooleanBuilder>, {
|
|
153
|
-
name: string;
|
|
154
|
-
tableName: "fleet_orders";
|
|
155
|
-
dataType: "boolean";
|
|
156
|
-
data: boolean;
|
|
157
|
-
driverParam: boolean;
|
|
158
|
-
notNull: true;
|
|
159
|
-
hasDefault: false;
|
|
160
|
-
isPrimaryKey: false;
|
|
161
|
-
isAutoincrement: false;
|
|
162
|
-
hasRuntimeDefault: false;
|
|
163
|
-
enumValues: undefined;
|
|
164
|
-
identity: undefined;
|
|
165
|
-
generated: undefined;
|
|
166
|
-
}>;
|
|
167
|
-
};
|
|
168
|
-
dialect: 'pg';
|
|
169
|
-
isAlias: false;
|
|
170
|
-
}>>, readonly ["status"], {
|
|
171
|
-
readonly orders: import("../../index.ts").Aggregate<"count", never>;
|
|
172
|
-
readonly total: import("../../index.ts").Aggregate<"sum", "amountCents">;
|
|
173
|
-
readonly low: import("../../index.ts").Aggregate<"min", "amountCents">;
|
|
174
|
-
readonly high: import("../../index.ts").Aggregate<"max", "amountCents">;
|
|
175
|
-
readonly mean: import("../../index.ts").Aggregate<"avg", "amountCents">;
|
|
176
|
-
}>;
|
|
177
|
-
/** Every order, archived or not, by region and status. */
|
|
178
|
-
export declare const OrdersByRegion: import("../../index.ts").FleetView<"OrdersByRegion", import("../../index.ts").OwnedTable<import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
179
|
-
name: "fleet_orders";
|
|
180
|
-
schema: undefined;
|
|
181
|
-
columns: {
|
|
182
|
-
id: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
183
|
-
name: string;
|
|
184
|
-
tableName: "fleet_orders";
|
|
185
|
-
dataType: "string";
|
|
186
|
-
data: string;
|
|
187
|
-
driverParam: string;
|
|
188
|
-
notNull: true;
|
|
189
|
-
hasDefault: false;
|
|
190
|
-
isPrimaryKey: false;
|
|
191
|
-
isAutoincrement: false;
|
|
192
|
-
hasRuntimeDefault: false;
|
|
193
|
-
enumValues: undefined;
|
|
194
|
-
identity: undefined;
|
|
195
|
-
generated: undefined;
|
|
196
|
-
}>;
|
|
197
|
-
status: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
198
|
-
name: string;
|
|
199
|
-
tableName: "fleet_orders";
|
|
200
|
-
dataType: "string";
|
|
201
|
-
data: string;
|
|
202
|
-
driverParam: string;
|
|
203
|
-
notNull: true;
|
|
204
|
-
hasDefault: false;
|
|
205
|
-
isPrimaryKey: false;
|
|
206
|
-
isAutoincrement: false;
|
|
207
|
-
hasRuntimeDefault: false;
|
|
208
|
-
enumValues: undefined;
|
|
209
|
-
identity: undefined;
|
|
210
|
-
generated: undefined;
|
|
211
|
-
}>;
|
|
212
|
-
region: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
213
|
-
name: string;
|
|
214
|
-
tableName: "fleet_orders";
|
|
215
|
-
dataType: "string";
|
|
216
|
-
data: string;
|
|
217
|
-
driverParam: string;
|
|
218
|
-
notNull: true;
|
|
219
|
-
hasDefault: false;
|
|
220
|
-
isPrimaryKey: false;
|
|
221
|
-
isAutoincrement: false;
|
|
222
|
-
hasRuntimeDefault: false;
|
|
223
|
-
enumValues: undefined;
|
|
224
|
-
identity: undefined;
|
|
225
|
-
generated: undefined;
|
|
226
|
-
}>;
|
|
227
|
-
amountCents: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt64Builder>, {
|
|
228
|
-
name: string;
|
|
229
|
-
tableName: "fleet_orders";
|
|
230
|
-
dataType: "bigint int64";
|
|
231
|
-
data: bigint;
|
|
232
|
-
driverParam: string;
|
|
233
|
-
notNull: true;
|
|
234
|
-
hasDefault: false;
|
|
235
|
-
isPrimaryKey: false;
|
|
236
|
-
isAutoincrement: false;
|
|
237
|
-
hasRuntimeDefault: false;
|
|
238
|
-
enumValues: undefined;
|
|
239
|
-
identity: undefined;
|
|
240
|
-
generated: undefined;
|
|
241
|
-
}>;
|
|
242
|
-
archived: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBooleanBuilder>, {
|
|
243
|
-
name: string;
|
|
244
|
-
tableName: "fleet_orders";
|
|
245
|
-
dataType: "boolean";
|
|
246
|
-
data: boolean;
|
|
247
|
-
driverParam: boolean;
|
|
248
|
-
notNull: true;
|
|
249
|
-
hasDefault: false;
|
|
250
|
-
isPrimaryKey: false;
|
|
251
|
-
isAutoincrement: false;
|
|
252
|
-
hasRuntimeDefault: false;
|
|
253
|
-
enumValues: undefined;
|
|
254
|
-
identity: undefined;
|
|
255
|
-
generated: undefined;
|
|
256
|
-
}>;
|
|
257
|
-
};
|
|
258
|
-
dialect: 'pg';
|
|
259
|
-
isAlias: false;
|
|
260
|
-
}>>, readonly ["region", "status"], {
|
|
261
|
-
readonly orders: import("../../index.ts").Aggregate<"count", never>;
|
|
262
|
-
readonly total: import("../../index.ts").Aggregate<"sum", "amountCents">;
|
|
263
|
-
}>;
|
|
264
|
-
/** The views an entry module exports for `durable fleet setup`. */
|
|
265
|
-
export declare const fleet: (import("../../index.ts").FleetView<"OrdersByRegion", import("../../index.ts").OwnedTable<import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
266
|
-
name: "fleet_orders";
|
|
267
|
-
schema: undefined;
|
|
268
|
-
columns: {
|
|
269
|
-
id: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
270
|
-
name: string;
|
|
271
|
-
tableName: "fleet_orders";
|
|
272
|
-
dataType: "string";
|
|
273
|
-
data: string;
|
|
274
|
-
driverParam: string;
|
|
275
|
-
notNull: true;
|
|
276
|
-
hasDefault: false;
|
|
277
|
-
isPrimaryKey: false;
|
|
278
|
-
isAutoincrement: false;
|
|
279
|
-
hasRuntimeDefault: false;
|
|
280
|
-
enumValues: undefined;
|
|
281
|
-
identity: undefined;
|
|
282
|
-
generated: undefined;
|
|
283
|
-
}>;
|
|
284
|
-
status: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
285
|
-
name: string;
|
|
286
|
-
tableName: "fleet_orders";
|
|
287
|
-
dataType: "string";
|
|
288
|
-
data: string;
|
|
289
|
-
driverParam: string;
|
|
290
|
-
notNull: true;
|
|
291
|
-
hasDefault: false;
|
|
292
|
-
isPrimaryKey: false;
|
|
293
|
-
isAutoincrement: false;
|
|
294
|
-
hasRuntimeDefault: false;
|
|
295
|
-
enumValues: undefined;
|
|
296
|
-
identity: undefined;
|
|
297
|
-
generated: undefined;
|
|
298
|
-
}>;
|
|
299
|
-
region: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
300
|
-
name: string;
|
|
301
|
-
tableName: "fleet_orders";
|
|
302
|
-
dataType: "string";
|
|
303
|
-
data: string;
|
|
304
|
-
driverParam: string;
|
|
305
|
-
notNull: true;
|
|
306
|
-
hasDefault: false;
|
|
307
|
-
isPrimaryKey: false;
|
|
308
|
-
isAutoincrement: false;
|
|
309
|
-
hasRuntimeDefault: false;
|
|
310
|
-
enumValues: undefined;
|
|
311
|
-
identity: undefined;
|
|
312
|
-
generated: undefined;
|
|
313
|
-
}>;
|
|
314
|
-
amountCents: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt64Builder>, {
|
|
315
|
-
name: string;
|
|
316
|
-
tableName: "fleet_orders";
|
|
317
|
-
dataType: "bigint int64";
|
|
318
|
-
data: bigint;
|
|
319
|
-
driverParam: string;
|
|
320
|
-
notNull: true;
|
|
321
|
-
hasDefault: false;
|
|
322
|
-
isPrimaryKey: false;
|
|
323
|
-
isAutoincrement: false;
|
|
324
|
-
hasRuntimeDefault: false;
|
|
325
|
-
enumValues: undefined;
|
|
326
|
-
identity: undefined;
|
|
327
|
-
generated: undefined;
|
|
328
|
-
}>;
|
|
329
|
-
archived: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBooleanBuilder>, {
|
|
330
|
-
name: string;
|
|
331
|
-
tableName: "fleet_orders";
|
|
332
|
-
dataType: "boolean";
|
|
333
|
-
data: boolean;
|
|
334
|
-
driverParam: boolean;
|
|
335
|
-
notNull: true;
|
|
336
|
-
hasDefault: false;
|
|
337
|
-
isPrimaryKey: false;
|
|
338
|
-
isAutoincrement: false;
|
|
339
|
-
hasRuntimeDefault: false;
|
|
340
|
-
enumValues: undefined;
|
|
341
|
-
identity: undefined;
|
|
342
|
-
generated: undefined;
|
|
343
|
-
}>;
|
|
344
|
-
};
|
|
345
|
-
dialect: 'pg';
|
|
346
|
-
isAlias: false;
|
|
347
|
-
}>>, readonly ["region", "status"], {
|
|
348
|
-
readonly orders: import("../../index.ts").Aggregate<"count", never>;
|
|
349
|
-
readonly total: import("../../index.ts").Aggregate<"sum", "amountCents">;
|
|
350
|
-
}> | import("../../index.ts").FleetView<"OrdersByStatus", import("../../index.ts").OwnedTable<import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
351
|
-
name: "fleet_orders";
|
|
352
|
-
schema: undefined;
|
|
353
|
-
columns: {
|
|
354
|
-
id: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
355
|
-
name: string;
|
|
356
|
-
tableName: "fleet_orders";
|
|
357
|
-
dataType: "string";
|
|
358
|
-
data: string;
|
|
359
|
-
driverParam: string;
|
|
360
|
-
notNull: true;
|
|
361
|
-
hasDefault: false;
|
|
362
|
-
isPrimaryKey: false;
|
|
363
|
-
isAutoincrement: false;
|
|
364
|
-
hasRuntimeDefault: false;
|
|
365
|
-
enumValues: undefined;
|
|
366
|
-
identity: undefined;
|
|
367
|
-
generated: undefined;
|
|
368
|
-
}>;
|
|
369
|
-
status: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
370
|
-
name: string;
|
|
371
|
-
tableName: "fleet_orders";
|
|
372
|
-
dataType: "string";
|
|
373
|
-
data: string;
|
|
374
|
-
driverParam: string;
|
|
375
|
-
notNull: true;
|
|
376
|
-
hasDefault: false;
|
|
377
|
-
isPrimaryKey: false;
|
|
378
|
-
isAutoincrement: false;
|
|
379
|
-
hasRuntimeDefault: false;
|
|
380
|
-
enumValues: undefined;
|
|
381
|
-
identity: undefined;
|
|
382
|
-
generated: undefined;
|
|
383
|
-
}>;
|
|
384
|
-
region: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
385
|
-
name: string;
|
|
386
|
-
tableName: "fleet_orders";
|
|
387
|
-
dataType: "string";
|
|
388
|
-
data: string;
|
|
389
|
-
driverParam: string;
|
|
390
|
-
notNull: true;
|
|
391
|
-
hasDefault: false;
|
|
392
|
-
isPrimaryKey: false;
|
|
393
|
-
isAutoincrement: false;
|
|
394
|
-
hasRuntimeDefault: false;
|
|
395
|
-
enumValues: undefined;
|
|
396
|
-
identity: undefined;
|
|
397
|
-
generated: undefined;
|
|
398
|
-
}>;
|
|
399
|
-
amountCents: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt64Builder>, {
|
|
400
|
-
name: string;
|
|
401
|
-
tableName: "fleet_orders";
|
|
402
|
-
dataType: "bigint int64";
|
|
403
|
-
data: bigint;
|
|
404
|
-
driverParam: string;
|
|
405
|
-
notNull: true;
|
|
406
|
-
hasDefault: false;
|
|
407
|
-
isPrimaryKey: false;
|
|
408
|
-
isAutoincrement: false;
|
|
409
|
-
hasRuntimeDefault: false;
|
|
410
|
-
enumValues: undefined;
|
|
411
|
-
identity: undefined;
|
|
412
|
-
generated: undefined;
|
|
413
|
-
}>;
|
|
414
|
-
archived: import("drizzle-orm/pg-core").PgBuildColumn<"fleet_orders", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBooleanBuilder>, {
|
|
415
|
-
name: string;
|
|
416
|
-
tableName: "fleet_orders";
|
|
417
|
-
dataType: "boolean";
|
|
418
|
-
data: boolean;
|
|
419
|
-
driverParam: boolean;
|
|
420
|
-
notNull: true;
|
|
421
|
-
hasDefault: false;
|
|
422
|
-
isPrimaryKey: false;
|
|
423
|
-
isAutoincrement: false;
|
|
424
|
-
hasRuntimeDefault: false;
|
|
425
|
-
enumValues: undefined;
|
|
426
|
-
identity: undefined;
|
|
427
|
-
generated: undefined;
|
|
428
|
-
}>;
|
|
429
|
-
};
|
|
430
|
-
dialect: 'pg';
|
|
431
|
-
isAlias: false;
|
|
432
|
-
}>>, readonly ["status"], {
|
|
433
|
-
readonly orders: import("../../index.ts").Aggregate<"count", never>;
|
|
434
|
-
readonly total: import("../../index.ts").Aggregate<"sum", "amountCents">;
|
|
435
|
-
readonly low: import("../../index.ts").Aggregate<"min", "amountCents">;
|
|
436
|
-
readonly high: import("../../index.ts").Aggregate<"max", "amountCents">;
|
|
437
|
-
readonly mean: import("../../index.ts").Aggregate<"avg", "amountCents">;
|
|
438
|
-
}>)[];
|
|
439
|
-
/** The command layer of `FleetOrder`. */
|
|
440
|
-
export declare const FleetOrderLive: Layer.Layer<never, never, import("../index.ts").InternalActors>;
|
|
441
|
-
/** Fleet views: maintenance from the change feed, failover, rebuilds, poison isolation, freshness, and startup refusals. */
|
|
442
|
-
export declare const fleetConformance: ReadonlyArray<ConformanceCase>;
|
|
443
|
-
/** Fleet cases serve the HTTP actors. */
|
|
444
|
-
export declare const fleetSuite: ConformanceSuite;
|