updated skills
This commit is contained in:
@@ -48,4 +48,3 @@ tooling can fan out one invocation per tenant.
|
||||
## Stage
|
||||
|
||||
Contracts of the API plugin system umbrella.
|
||||
|
||||
|
||||
@@ -100,10 +100,10 @@ async function fanOutWithTimeout(
|
||||
## API Reference
|
||||
|
||||
- `interface TenantProvider`:
|
||||
- `list(opts?: ListOpts): AsyncIterable<TenantRecord>` — active-by-default; pass `{ includeSuspended: true }` to include suspended; archived never yielded.
|
||||
- `count(): Promise<number>` — active-only count.
|
||||
- `lookup(tenantId: TenantId): Promise<TenantRecord | null>` — never throws on missing; MAY throw `TENANT_PROVIDER.SOURCE_UNAVAILABLE` on infrastructure failure.
|
||||
- `dispose(): Promise<void>` — idempotent; calling more than once MUST NOT throw.
|
||||
- `list(opts?: ListOpts): AsyncIterable<TenantRecord>` — active-by-default; pass `{ includeSuspended: true }` to include suspended; archived never yielded.
|
||||
- `count(): Promise<number>` — active-only count.
|
||||
- `lookup(tenantId: TenantId): Promise<TenantRecord | null>` — never throws on missing; MAY throw `TENANT_PROVIDER.SOURCE_UNAVAILABLE` on infrastructure failure.
|
||||
- `dispose(): Promise<void>` — idempotent; calling more than once MUST NOT throw.
|
||||
|
||||
## Implementation Notes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user