graphddb 0.4.0 → 0.4.2

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.
@@ -227,6 +227,16 @@ interface Param<out T> {
227
227
  * `{item.<field>}` templates. `undefined` for scalar params.
228
228
  */
229
229
  readonly element?: Readonly<Record<string, Param<unknown>>>;
230
+ /**
231
+ * Optional human-readable description of the parameter (issue #154), supplied
232
+ * via `param.string({ description })` etc. Pure documentation metadata — it does
233
+ * NOT affect the runtime descriptor (`kind` / `literals`) the planner reads for
234
+ * execution. When present it is propagated to the param's {@link
235
+ * import('./ir.js').ParamDescriptor} and then to the serialized
236
+ * {@link import('../spec/types.js').ParamSpec} in `operations.json`. Absent →
237
+ * unchanged output (backward compatible).
238
+ */
239
+ readonly description?: string;
230
240
  }
231
241
  /** A `Param` whose represented value type is `string`. */
232
242
  type StringParam = Param<string>;
@@ -249,26 +259,41 @@ type ArrayParam<E extends ArrayElementShape> = Param<ElementOf<E>[]> & {
249
259
  };
250
260
  /** Allowed scalar value types a placeholder may stand in for. */
251
261
  type ParamValue = string | number;
262
+ /**
263
+ * Options accepted by the placeholder factories (issue #154). Currently carries
264
+ * only the optional human-readable {@link Param.description} — pure documentation
265
+ * metadata that does not affect the runtime descriptor. The object form is
266
+ * additive: `param.string()` (no options) is unchanged.
267
+ */
268
+ interface ParamOptions {
269
+ /** Optional human-readable description, propagated to `operations.json`. */
270
+ readonly description?: string;
271
+ }
252
272
  /**
253
273
  * Placeholder factory. Each call returns a branded {@link Param} carrying both
254
- * the TypeScript value type and a runtime descriptor.
274
+ * the TypeScript value type and a runtime descriptor. Each scalar factory accepts
275
+ * an optional {@link ParamOptions} (issue #154) carrying a `description` — pure
276
+ * documentation propagated to `operations.json`; the no-argument call is unchanged.
255
277
  */
256
278
  declare const param: {
257
279
  /** A placeholder for a `string` value. */
258
- readonly string: () => StringParam;
280
+ readonly string: (options?: ParamOptions) => StringParam;
259
281
  /** A placeholder for a `number` value. */
260
- readonly number: () => NumberParam;
282
+ readonly number: (options?: ParamOptions) => NumberParam;
261
283
  /**
262
284
  * A placeholder constrained to one of the given literal values. The value
263
285
  * type of the resulting {@link Param} is the **union of the literals**, so it
264
- * is preserved precisely in the IR and the inferred definition types.
286
+ * is preserved precisely in the IR and the inferred definition types. A final
287
+ * plain-object argument is read as {@link ParamOptions} (a `description`),
288
+ * distinguished from the `string` / `number` literal values.
265
289
  *
266
290
  * @example
267
291
  * ```ts
268
292
  * param.literal('active', 'disabled'); // Param<'active' | 'disabled'>
293
+ * param.literal('active', 'disabled', { description: 'Account state.' });
269
294
  * ```
270
295
  */
271
- readonly literal: <const L extends readonly [ParamValue, ...ParamValue[]]>(...values: L) => LiteralParam<L[number]>;
296
+ readonly literal: <const L extends readonly [ParamValue, ...ParamValue[]]>(...valuesAndOptions: [...L] | [...L, ParamOptions]) => LiteralParam<L[number]>;
272
297
  /**
273
298
  * A placeholder for an **array** parameter whose elements have the given field
274
299
  * shape. Used by `defineTransaction`'s `tx.forEach(p.<arrayParam>, …)` to bind
@@ -280,7 +305,7 @@ declare const param: {
280
305
  * // Param<{ userId: string; role: string }[]>
281
306
  * ```
282
307
  */
283
- readonly array: <const E extends ArrayElementShape>(element: E) => ArrayParam<E>;
308
+ readonly array: <const E extends ArrayElementShape>(element: E, options?: ParamOptions) => ArrayParam<E>;
284
309
  };
285
310
  /** Runtime type guard: is `value` a parameter placeholder? */
286
311
  declare function isParam(value: unknown): value is Param<unknown>;
@@ -1765,6 +1790,21 @@ interface ConditionTree {
1765
1790
  interface WriteDefinitionOptions {
1766
1791
  /** Optional declarative write condition (subset). */
1767
1792
  readonly condition?: ConditionInput;
1793
+ /**
1794
+ * Optional human-readable description of the command use case (issue #154). Pure
1795
+ * documentation — propagated to `operations.json` and the generated Python
1796
+ * repository-method docstring. Omit for unchanged output.
1797
+ */
1798
+ readonly description?: string;
1799
+ }
1800
+ /** Options accepted by the read `define*` entry points (issue #154). */
1801
+ interface ReadDefinitionOptions {
1802
+ /**
1803
+ * Optional human-readable description of the query use case (issue #154). Pure
1804
+ * documentation — propagated to `operations.json` and the generated Python
1805
+ * repository-method docstring. Omit for unchanged output.
1806
+ */
1807
+ readonly description?: string;
1768
1808
  }
1769
1809
  /**
1770
1810
  * Identifies the entity an operation targets. `name` is the model class name
@@ -1790,6 +1830,13 @@ interface ParamDescriptor<T = unknown> {
1790
1830
  * descriptors. `undefined` for scalar params.
1791
1831
  */
1792
1832
  readonly element?: Readonly<Record<string, ParamDescriptor>>;
1833
+ /**
1834
+ * Optional human-readable description of the parameter (issue #154), carried
1835
+ * from a `param.*({ description })` placeholder. Pure documentation — it does
1836
+ * not affect `kind` / `literals` (the execution-relevant descriptor). Propagated
1837
+ * to the serialized {@link import('../spec/types.js').ParamSpec}.
1838
+ */
1839
+ readonly description?: string;
1793
1840
  /** Parameters are always required (no optional params in this phase). */
1794
1841
  readonly required: true;
1795
1842
  }
@@ -1843,6 +1890,15 @@ interface OperationDefinition<T extends DDBModel, Op extends OperationKind, K, S
1843
1890
  * when no condition is attached or for reads (issue #46).
1844
1891
  */
1845
1892
  readonly condition?: ConditionInput;
1893
+ /**
1894
+ * Optional human-readable description of the definition (issue #154), supplied
1895
+ * via the entry-point options (`defineQuery(..., { description })` etc.). Pure
1896
+ * documentation — propagated to the serialized {@link
1897
+ * import('../spec/types.js').QuerySpec.description} /
1898
+ * {@link import('../spec/types.js').CommandSpec.description} and to the generated
1899
+ * Python repository-method docstring. It does not affect execution.
1900
+ */
1901
+ readonly description?: string;
1846
1902
  /** Collected parameters: name → descriptor (value type preserved in `P`). */
1847
1903
  readonly params: P;
1848
1904
  /** @internal Phantom carrier so the entity type `T` is retained on the node. */
@@ -3023,6 +3079,13 @@ interface ManifestField {
3023
3079
  * mirroring the TS hydrator's `format`-driven `Date` reconstruction.
3024
3080
  */
3025
3081
  readonly format?: 'datetime' | 'date';
3082
+ /**
3083
+ * Optional human-readable description of the field (issue #154), from a field
3084
+ * decorator option (`@string({ description })`). Pure documentation — absent
3085
+ * unless declared, so a field with no description serializes byte-identically
3086
+ * to the pre-#154 manifest. Surfaces as a field comment in the generated Python.
3087
+ */
3088
+ readonly description?: string;
3026
3089
  }
3027
3090
  /** A key (PK or GSI) template descriptor in the manifest. */
3028
3091
  interface ManifestKey {
@@ -3056,6 +3119,13 @@ interface ManifestEntity {
3056
3119
  readonly key: ManifestKey | null;
3057
3120
  readonly gsis: readonly ManifestGsi[];
3058
3121
  readonly relations: Readonly<Record<string, ManifestRelation>>;
3122
+ /**
3123
+ * Optional human-readable description of the entity (issue #154), from
3124
+ * `@model({ description })`. Pure documentation — absent unless declared, so an
3125
+ * entity with no description serializes byte-identically to the pre-#154
3126
+ * manifest. Surfaces as the generated Python class docstring.
3127
+ */
3128
+ readonly description?: string;
3059
3129
  }
3060
3130
  interface ManifestTable {
3061
3131
  readonly physicalName: string;
@@ -3075,6 +3145,13 @@ interface ParamSpec {
3075
3145
  * descriptors (field name → element param spec). Omitted for scalar params.
3076
3146
  */
3077
3147
  readonly element?: Readonly<Record<string, ParamSpec>>;
3148
+ /**
3149
+ * Optional human-readable description of the parameter (issue #154), from a
3150
+ * `param.*({ description })` placeholder. Pure documentation — absent unless
3151
+ * declared, so a param with no description serializes byte-identically to the
3152
+ * pre-#154 spec. The Python runtime never reads it for execution.
3153
+ */
3154
+ readonly description?: string;
3078
3155
  }
3079
3156
  /** A `begins_with` range condition on a sort key (templated value). */
3080
3157
  interface RangeConditionSpec {
@@ -3183,6 +3260,13 @@ interface QuerySpec {
3183
3260
  * backward-compatible (plan-absent → sequential) fallback.
3184
3261
  */
3185
3262
  readonly executionPlan?: ExecutionPlanSpec;
3263
+ /**
3264
+ * Optional human-readable description of the query (issue #154), from
3265
+ * `defineQuery(..., { description })`. Pure documentation — absent unless
3266
+ * declared, so a query with no description serializes byte-identically to the
3267
+ * pre-#154 spec. Surfaces as the generated Python repository-method docstring.
3268
+ */
3269
+ readonly description?: string;
3186
3270
  }
3187
3271
  type WriteOperationType = 'PutItem' | 'UpdateItem' | 'DeleteItem';
3188
3272
  /**
@@ -3260,6 +3344,14 @@ interface CommandSpec {
3260
3344
  readonly changes?: Readonly<Record<string, string>>;
3261
3345
  /** Optional write condition (subset). */
3262
3346
  readonly condition?: ConditionSpec;
3347
+ /**
3348
+ * Optional human-readable description of the command (issue #154), from
3349
+ * `definePut`/`defineUpdate`/`defineDelete(..., { description })`. Pure
3350
+ * documentation — absent unless declared, so a command with no description
3351
+ * serializes byte-identically to the pre-#154 spec. Surfaces as the generated
3352
+ * Python repository-method docstring.
3353
+ */
3354
+ readonly description?: string;
3263
3355
  }
3264
3356
  /**
3265
3357
  * A declarative `when` guard on a transaction item (issue #46). Compares a
@@ -3610,6 +3702,14 @@ interface QueryContractMethodSpec {
3610
3702
  * call (chunk ≤100). Absent → resolve compositions sequentially (pre-#70).
3611
3703
  */
3612
3704
  readonly compositionPlan?: CompositionPlanSpec;
3705
+ /**
3706
+ * Optional human-readable description of the read use case (issue #154), from the
3707
+ * descriptor's `description`. Pure documentation — absent unless declared, so a
3708
+ * method with no description serializes byte-identically to the pre-#154 spec.
3709
+ * The same string appears in the TS contract IR and (via the SSoT) in any
3710
+ * generated binding, so TS↔Python carry an identical description.
3711
+ */
3712
+ readonly description?: string;
3613
3713
  }
3614
3714
  /**
3615
3715
  * How a contract command method resolves a single key vs. an array of keys to the
@@ -3676,6 +3776,12 @@ interface CommandContractMethodSpec {
3676
3776
  * {@link result} stays `'void'` / `'entity'` and it returns no projected item).
3677
3777
  */
3678
3778
  readonly returnSelection?: Readonly<Record<string, boolean>>;
3779
+ /**
3780
+ * Optional human-readable description of the write use case (issue #154), from
3781
+ * the descriptor's `description`. Pure documentation — absent unless declared, so
3782
+ * a method with no description serializes byte-identically to the pre-#154 spec.
3783
+ */
3784
+ readonly description?: string;
3679
3785
  }
3680
3786
  /**
3681
3787
  * A serialized contract — a keyed public read (`'query'`) or write (`'command'`)
@@ -4721,6 +4827,13 @@ interface ContractMethodOp<Op extends OperationKind = OperationKind> {
4721
4827
  * when the body declares no composition.
4722
4828
  */
4723
4829
  readonly compose?: readonly RecordedCompose[];
4830
+ /**
4831
+ * Optional human-readable description of the use case (issue #154), captured from
4832
+ * the descriptor's `description`. Pure documentation — carried on the op so the
4833
+ * serializer can emit it onto the contract method spec; it never affects the
4834
+ * recorded operation, key, or runtime behaviour.
4835
+ */
4836
+ readonly description?: string;
4724
4837
  }
4725
4838
  /**
4726
4839
  * A recorded External Query composition edge on a contract method op (#63). The
@@ -4803,6 +4916,12 @@ interface QueryMethodSpec<TKey, TParams, TResult, A extends InputArity = InputAr
4803
4916
  * the referenced contract name by identity ({@link contractOfMethodSpec}).
4804
4917
  */
4805
4918
  readonly __methodName?: string;
4919
+ /**
4920
+ * Optional human-readable description of the use case (issue #154), from the
4921
+ * descriptor's `description`. Pure documentation — propagated to the serialized
4922
+ * {@link import('../spec/types.js').QueryContractMethodSpec.description}.
4923
+ */
4924
+ readonly description?: string;
4806
4925
  /** @internal Phantom carrier retaining the formal `QueryMethod` type. */
4807
4926
  readonly __signature?: QueryMethod<TKey, TParams, TResult>;
4808
4927
  }
@@ -4955,6 +5074,12 @@ interface CommandMethodSpec<TKey, TParams, TResult> {
4955
5074
  * at least one stream maintainer; absent otherwise (no regression).
4956
5075
  */
4957
5076
  readonly maintainOutbox?: readonly DerivedMaintainOutbox[];
5077
+ /**
5078
+ * Optional human-readable description of the write use case (issue #154), from
5079
+ * the descriptor's `description`. Pure documentation — propagated to the
5080
+ * serialized {@link import('../spec/types.js').CommandContractMethodSpec.description}.
5081
+ */
5082
+ readonly description?: string;
4958
5083
  /** @internal Phantom carrier retaining the formal `CommandMethod` type. */
4959
5084
  readonly __signature?: CommandMethod<TKey, TParams, TResult>;
4960
5085
  }
@@ -5157,6 +5282,13 @@ interface PublicReadDescriptor {
5157
5282
  readonly key: Readonly<Record<string, unknown>>;
5158
5283
  readonly select: Readonly<Record<string, unknown>>;
5159
5284
  readonly options?: Readonly<Record<string, unknown>>;
5285
+ /**
5286
+ * Optional human-readable description of the read use case (issue #154). Pure
5287
+ * documentation — propagated to the serialized {@link
5288
+ * import('../spec/types.js').QueryContractMethodSpec.description} in
5289
+ * `operations.json`. Omit for unchanged output.
5290
+ */
5291
+ readonly description?: string;
5160
5292
  }
5161
5293
  /** A public **write** descriptor (issue #101): `{ create | update | remove: Model, key, input?, condition?, result?, mode? }`. */
5162
5294
  interface PublicWriteDescriptor {
@@ -5171,6 +5303,13 @@ interface PublicWriteDescriptor {
5171
5303
  readonly options?: unknown;
5172
5304
  };
5173
5305
  readonly mode?: CommandMode;
5306
+ /**
5307
+ * Optional human-readable description of the write use case (issue #154). Pure
5308
+ * documentation — propagated to the serialized {@link
5309
+ * import('../spec/types.js').CommandContractMethodSpec.description} in
5310
+ * `operations.json`. Omit for unchanged output.
5311
+ */
5312
+ readonly description?: string;
5174
5313
  }
5175
5314
  /**
5176
5315
  * A public **composite write** descriptor (issue #101) — the closure-free twin of
@@ -5188,6 +5327,12 @@ interface PublicComposeDescriptor {
5188
5327
  readonly options?: unknown;
5189
5328
  };
5190
5329
  readonly mode?: CommandMode;
5330
+ /**
5331
+ * Optional human-readable description of the composite write use case (issue
5332
+ * #154). Pure documentation — propagated to the serialized {@link
5333
+ * import('../spec/types.js').CommandContractMethodSpec.description}.
5334
+ */
5335
+ readonly description?: string;
5191
5336
  }
5192
5337
 
5193
5338
  /**
@@ -6060,6 +6205,15 @@ interface FieldOptions {
6060
6205
  readonly?: boolean;
6061
6206
  serialize?: (value: unknown) => unknown;
6062
6207
  deserialize?: (value: unknown) => unknown;
6208
+ /**
6209
+ * Optional human-readable description of the field (issue #154). Pure
6210
+ * documentation metadata — it does NOT affect storage, hydration, key handling,
6211
+ * or any runtime behaviour. When present it is propagated to the field entry in
6212
+ * `manifest.json` ({@link ManifestField.description}) and surfaces as a field
6213
+ * comment in the generated Python `types.py`. Absent → byte-for-byte unchanged
6214
+ * output (backward compatible).
6215
+ */
6216
+ description?: string;
6063
6217
  }
6064
6218
  interface FieldMetadata {
6065
6219
  propertyName: string;
@@ -6359,6 +6513,15 @@ interface EntityMetadata {
6359
6513
  * {@link maintainedFrom}.
6360
6514
  */
6361
6515
  kind?: ModelKind;
6516
+ /**
6517
+ * Optional human-readable description of the entity (issue #154), supplied via
6518
+ * `@model({ description })`. Pure documentation metadata — it does NOT affect
6519
+ * storage, keys, or any runtime behaviour. When present it is propagated to the
6520
+ * entity entry in `manifest.json` ({@link ManifestEntity.description}) and
6521
+ * surfaces as the class docstring in the generated Python `types.py`. Absent →
6522
+ * byte-for-byte unchanged output (backward compatible).
6523
+ */
6524
+ description?: string;
6362
6525
  /**
6363
6526
  * Class-level `@maintainedFrom(...)` declarations (issue #152). Non-empty only on
6364
6527
  * a `materializedView` / `sparseView` model; each is one source slice the view
@@ -6482,4 +6645,4 @@ interface CdcEmulatorOptions {
6482
6645
  }
6483
6646
  type ShardId = string;
6484
6647
 
6485
- export { type FaultSpec as $, type AggregateOptions as A, type BatchGetExecInput as B, type ChangeEvent as C, type DynamoDBOperation as D, type Executor as E, type FieldOptions as F, type GsiDefinition as G, type SelectBuilderSpec as H, type Item as I, type RawCondition as J, type KeyDefinition as K, type TransactionSpec as L, type ModelStatic as M, type Manifest as N, type RetryOverride as O, type PutInput as P, type ExecutionPlan as Q, type ReadExecOptions as R, type SelectableOf as S, type TransactWriteExecItem as T, type UpdateInput as U, type FieldMetadata as V, type WriteExecOptions as W, type ResolvedKey as X, type CdcEmulatorOptions as Y, type ChangeHandler as Z, type Unsubscribe as _, type ExecutorResult as a, type ContractCommandParams as a$, type ConcurrentRecomputeRef as a0, type EventLog as a1, type ReplayOptions as a2, type ShardId as a3, type ViewDefinition as a4, type RelationMetadata as a5, type TransactionItemSpec as a6, type MaintainEffect as a7, type Param as a8, type ParamDescriptor as a9, type BatchPutRequest as aA, type BatchResult as aB, type BatchWriteRequest as aC, CONTRACT_RANGE_FANOUT_CONCURRENCY as aD, type CdcMode as aE, type Change as aF, type ChangeBatch as aG, type ChangeEventName as aH, type ClockMode as aI, type CollectionEffect as aJ, type CollectionOptions as aK, type Column as aL, type ColumnMap as aM, type CommandContractMethodSpec as aN, type CommandInputShape as aO, type CommandMethod as aP, type CommandPlan as aQ, type CommandResolutionTarget as aR, type CommandResultKind as aS, type CommandSelectShape as aT, type CompiledFragment as aU, type ComposeSpec as aV, type CondSlot as aW, type ConditionCheckInput as aX, type Connection as aY, type ContractCallSignature as aZ, type ContractCardinality as a_, type DefinitionMap as aa, type OperationDefinition as ab, type WriteDefinitionOptions as ac, type PartialQueryKeyOf as ad, type StrictSelectSpec as ae, type EntityInput as af, type UniqueQueryKeyOf as ag, type EntityRef as ah, type ConditionInput as ai, type QueryModelContract as aj, type QueryMethodSpec as ak, type CommandModelContract as al, type CommandMethodSpec as am, type ContractSpec as an, type QuerySpec as ao, type CommandSpec as ap, type ContextSpec as aq, type OperationsDocument as ar, type AnyOperationDefinition as as, type BridgeBundle as at, type ConditionSpec as au, type AggregateMetadata as av, type BatchDeleteRequest as aw, type BatchGetOptions as ax, type BatchGetRequest as ay, BatchGetResult as az, type WriteResult as b, type MutateOptions as b$, type ContractCommandResult as b0, type ContractComposeNode as b1, type ContractFromRef as b2, type ContractInputArity as b3, type ContractItem as b4, type ContractKeyFieldRef as b5, type ContractKeyInput as b6, type ContractKeyRef as b7, type ContractKeySpec as b8, type ContractKind as b9, type GsiDefinitionMarker as bA, type GsiOptions as bB, type IdempotencyEffect as bC, type InProcessWriteDescriptor as bD, type InputArity as bE, type KeyDefinitionMarker as bF, type KeySegment as bG, type KeySlot as bH, type KeyStructure as bI, type KeyedResult as bJ, LIFECYCLE_CONTRACT_MARKER as bK, type LifecycleContract as bL, type LifecycleEffects as bM, type LiteralParam as bN, type MaintainItem as bO, type MaintainTrigger as bP, type MaintenanceGraph as bQ, type ManifestEntity as bR, type ManifestField as bS, type ManifestFieldType as bT, type ManifestGsi as bU, type ManifestKey as bV, type ManifestRelation as bW, type ManifestTable as bX, type MembershipEffect as bY, type ModelRef as bZ, type MutateMode as b_, type ContractMethodOp as ba, type ContractParamRef as bb, type ContractQueryParams as bc, type ContractResolution as bd, type CounterAggregate as be, type CounterEffect as bf, type CtxBase as bg, DEFAULT_MAX_ATTEMPTS as bh, DEFAULT_RETRY_POLICY as bi, type DeleteOptions as bj, type DeriveEffect as bk, type DerivedEdgeWrite as bl, type DerivedUpdate as bm, type DescriptorBinding as bn, ENTITY_WRITES_MARKER as bo, type EdgeEffect as bp, type EffectPath as bq, type EmbeddedMetadata as br, type EmitEffect as bs, type EntityWritesDefinition as bt, type EntityWritesShape as bu, type ExecutableCommandContract as bv, type ExecutableQueryContract as bw, type FilterInput as bx, type FilterSpec as by, type FragmentInput as bz, type DeleteInput as c, type ViewSourceSlice as c$, type MutateParallelResult as c0, type MutateTransactionResult as c1, type MutationBody as c2, type MutationDescriptorMap as c3, type MutationFragment as c4, type MutationInputProxy as c5, type MutationInputRef as c6, type MutationIntent as c7, type NumberParam as c8, type OperationKind as c9, type RelationConsistency as cA, type RelationLimitOptions as cB, type RelationPattern as cC, type RelationProjection as cD, type RelationReadOptions as cE, type RelationSelect as cF, type RelationSpec as cG, type RelationUpdateMode as cH, type RelationWriteOptions as cI, type RequiresEffect as cJ, type Resolution as cK, type RetryInfo as cL, type RetryOperationKind as cM, SPEC_VERSION as cN, type SegmentSpec as cO, type SegmentedKey as cP, type SelectBuilder as cQ, type SelectOf as cR, type SnapshotEffect as cS, type StartingPosition as cT, type StreamViewType as cU, type StringParam as cV, TransactionContext as cW, type TransactionItemType as cX, type UniqueEffect as cY, type Updatable as cZ, type UpdateOptions as c_, type OperationSpec as ca, type ParallelOpResult as cb, type ParamKind as cc, type ParamSpec as cd, type ParamStructure as ce, type PersistCtx as cf, type PersistOrigin as cg, type PlannedCommandMethod as ch, type ProjectionMap as ci, type ProjectionTransformOp as cj, type PutOptions as ck, type QueryContractMethodSpec as cl, type QueryEnvelopeResult as cm, type QueryKeyOf as cn, type QueryMethod as co, type QueryResult as cp, type RangeConditionSpec as cq, type ReadEnvelope as cr, type ReadOpCtx as cs, type ReadOpKind as ct, type ReadOperationType as cu, type ReadRouteDescriptor as cv, type ReadRouteOptions as cw, type ReadRouteResult as cx, type RecordedCompose as cy, type RelationBuilder as cz, type BatchWriteExecItem as d, mintContractParamRef as d$, type WhenSpec as d0, type WriteCtx as d1, type WriteDescriptor as d2, type WriteEnvelope as d3, type WriteInput as d4, type WriteKind as d5, type WriteLifecyclePhase as d6, type WriteMiddleware as d7, type WriteOperationType as d8, type WriteRecorder as d9, getEntityWrites as dA, gsi as dB, identity as dC, isColumn as dD, isCommandModelContract as dE, isCommandPlan as dF, isContractComposeNode as dG, isContractFromRef as dH, isContractKeyFieldRef as dI, isContractKeyRef as dJ, isContractParamRef as dK, isEntityWritesDefinition as dL, isKeySegment as dM, isLifecycleContract as dN, isMaintainTrigger as dO, isMutationFragment as dP, isMutationInputRef as dQ, isParam as dR, isPlannedCommandMethod as dS, isQueryModelContract as dT, isRetryableError as dU, isRetryableTransactionCancellation as dV, k as dW, key as dX, lifecyclePhaseForIntent as dY, maintainTrigger as dZ, mintContractKeyFieldRef as d_, type WriteResultProjection as da, attachModelClass as db, buildDeleteInput as dc, buildMaintenanceGraph as dd, buildPutInput as de, buildUpdateInput as df, collectViewDefinitions as dg, compileFragment as dh, compileMutationPlan as di, compileSingleFragmentPlan as dj, cond as dk, contractOfMethodSpec as dl, definePlan as dm, entityWrites as dn, executeBatchGet as dp, executeBatchWrite as dq, executeCommandMethod as dr, executeDelete as ds, executeKeyedBatchGet as dt, executePut as du, executeQueryMethod as dv, executeRangeFanout as dw, executeTransaction as dx, executeUpdate as dy, from as dz, type BatchExecOptions as e, mutation as e0, param as e1, preview as e2, publicCommandModel as e3, publicQueryModel as e4, query as e5, resolveLifecycle as e6, wholeKeysSentinel as e7, DDBModel as f, type PrimaryKeyOf as g, type RequestContext as h, type Middleware as i, type ReadRequestKind as j, type CtxModel as k, type ReadParams as l, type ReadRequestCtx as m, type RetryPolicy as n, type ExecutionPlanSpec as o, type EntityMetadata as p, type ModelKind as q, type DynamoType as r, type ProjectionTransform as s, type MaintainEvent as t, type MembershipPredicate as u, type MaintainConsistency as v, type MaintainUpdateMode as w, type MembershipPredicateOp as x, type RelationOptions as y, type AggregateValue as z };
6648
+ export { type FaultSpec as $, type AggregateOptions as A, type BatchGetExecInput as B, type ChangeEvent as C, type DynamoDBOperation as D, type Executor as E, type FieldOptions as F, type GsiDefinition as G, type SelectBuilderSpec as H, type Item as I, type RawCondition as J, type KeyDefinition as K, type TransactionSpec as L, type ModelStatic as M, type Manifest as N, type RetryOverride as O, type PutInput as P, type ExecutionPlan as Q, type ReadExecOptions as R, type SelectableOf as S, type TransactWriteExecItem as T, type UpdateInput as U, type FieldMetadata as V, type WriteExecOptions as W, type ResolvedKey as X, type CdcEmulatorOptions as Y, type ChangeHandler as Z, type Unsubscribe as _, type ExecutorResult as a, type ContractCardinality as a$, type ConcurrentRecomputeRef as a0, type EventLog as a1, type ReplayOptions as a2, type ShardId as a3, type ViewDefinition as a4, type RelationMetadata as a5, type TransactionItemSpec as a6, type MaintainEffect as a7, type Param as a8, type ParamDescriptor as a9, BatchGetResult as aA, type BatchPutRequest as aB, type BatchResult as aC, type BatchWriteRequest as aD, CONTRACT_RANGE_FANOUT_CONCURRENCY as aE, type CdcMode as aF, type Change as aG, type ChangeBatch as aH, type ChangeEventName as aI, type ClockMode as aJ, type CollectionEffect as aK, type CollectionOptions as aL, type Column as aM, type ColumnMap as aN, type CommandContractMethodSpec as aO, type CommandInputShape as aP, type CommandMethod as aQ, type CommandPlan as aR, type CommandResolutionTarget as aS, type CommandResultKind as aT, type CommandSelectShape as aU, type CompiledFragment as aV, type ComposeSpec as aW, type CondSlot as aX, type ConditionCheckInput as aY, type Connection as aZ, type ContractCallSignature as a_, type DefinitionMap as aa, type OperationDefinition as ab, type WriteDefinitionOptions as ac, type PartialQueryKeyOf as ad, type StrictSelectSpec as ae, type ReadDefinitionOptions as af, type EntityInput as ag, type UniqueQueryKeyOf as ah, type EntityRef as ai, type ConditionInput as aj, type QueryModelContract as ak, type QueryMethodSpec as al, type CommandModelContract as am, type CommandMethodSpec as an, type ContractSpec as ao, type QuerySpec as ap, type CommandSpec as aq, type ContextSpec as ar, type OperationsDocument as as, type AnyOperationDefinition as at, type BridgeBundle as au, type ConditionSpec as av, type AggregateMetadata as aw, type BatchDeleteRequest as ax, type BatchGetOptions as ay, type BatchGetRequest as az, type WriteResult as b, type MutateMode as b$, type ContractCommandParams as b0, type ContractCommandResult as b1, type ContractComposeNode as b2, type ContractFromRef as b3, type ContractInputArity as b4, type ContractItem as b5, type ContractKeyFieldRef as b6, type ContractKeyInput as b7, type ContractKeyRef as b8, type ContractKeySpec as b9, type FragmentInput as bA, type GsiDefinitionMarker as bB, type GsiOptions as bC, type IdempotencyEffect as bD, type InProcessWriteDescriptor as bE, type InputArity as bF, type KeyDefinitionMarker as bG, type KeySegment as bH, type KeySlot as bI, type KeyStructure as bJ, type KeyedResult as bK, LIFECYCLE_CONTRACT_MARKER as bL, type LifecycleContract as bM, type LifecycleEffects as bN, type LiteralParam as bO, type MaintainItem as bP, type MaintainTrigger as bQ, type MaintenanceGraph as bR, type ManifestEntity as bS, type ManifestField as bT, type ManifestFieldType as bU, type ManifestGsi as bV, type ManifestKey as bW, type ManifestRelation as bX, type ManifestTable as bY, type MembershipEffect as bZ, type ModelRef as b_, type ContractKind as ba, type ContractMethodOp as bb, type ContractParamRef as bc, type ContractQueryParams as bd, type ContractResolution as be, type CounterAggregate as bf, type CounterEffect as bg, type CtxBase as bh, DEFAULT_MAX_ATTEMPTS as bi, DEFAULT_RETRY_POLICY as bj, type DeleteOptions as bk, type DeriveEffect as bl, type DerivedEdgeWrite as bm, type DerivedUpdate as bn, type DescriptorBinding as bo, ENTITY_WRITES_MARKER as bp, type EdgeEffect as bq, type EffectPath as br, type EmbeddedMetadata as bs, type EmitEffect as bt, type EntityWritesDefinition as bu, type EntityWritesShape as bv, type ExecutableCommandContract as bw, type ExecutableQueryContract as bx, type FilterInput as by, type FilterSpec as bz, type DeleteInput as c, type UpdateOptions as c$, type MutateOptions as c0, type MutateParallelResult as c1, type MutateTransactionResult as c2, type MutationBody as c3, type MutationDescriptorMap as c4, type MutationFragment as c5, type MutationInputProxy as c6, type MutationInputRef as c7, type MutationIntent as c8, type NumberParam as c9, type RelationBuilder as cA, type RelationConsistency as cB, type RelationLimitOptions as cC, type RelationPattern as cD, type RelationProjection as cE, type RelationReadOptions as cF, type RelationSelect as cG, type RelationSpec as cH, type RelationUpdateMode as cI, type RelationWriteOptions as cJ, type RequiresEffect as cK, type Resolution as cL, type RetryInfo as cM, type RetryOperationKind as cN, SPEC_VERSION as cO, type SegmentSpec as cP, type SegmentedKey as cQ, type SelectBuilder as cR, type SelectOf as cS, type SnapshotEffect as cT, type StartingPosition as cU, type StreamViewType as cV, type StringParam as cW, TransactionContext as cX, type TransactionItemType as cY, type UniqueEffect as cZ, type Updatable as c_, type OperationKind as ca, type OperationSpec as cb, type ParallelOpResult as cc, type ParamKind as cd, type ParamSpec as ce, type ParamStructure as cf, type PersistCtx as cg, type PersistOrigin as ch, type PlannedCommandMethod as ci, type ProjectionMap as cj, type ProjectionTransformOp as ck, type PutOptions as cl, type QueryContractMethodSpec as cm, type QueryEnvelopeResult as cn, type QueryKeyOf as co, type QueryMethod as cp, type QueryResult as cq, type RangeConditionSpec as cr, type ReadEnvelope as cs, type ReadOpCtx as ct, type ReadOpKind as cu, type ReadOperationType as cv, type ReadRouteDescriptor as cw, type ReadRouteOptions as cx, type ReadRouteResult as cy, type RecordedCompose as cz, type BatchWriteExecItem as d, mintContractKeyFieldRef as d$, type ViewSourceSlice as d0, type WhenSpec as d1, type WriteCtx as d2, type WriteDescriptor as d3, type WriteEnvelope as d4, type WriteInput as d5, type WriteKind as d6, type WriteLifecyclePhase as d7, type WriteMiddleware as d8, type WriteOperationType as d9, from as dA, getEntityWrites as dB, gsi as dC, identity as dD, isColumn as dE, isCommandModelContract as dF, isCommandPlan as dG, isContractComposeNode as dH, isContractFromRef as dI, isContractKeyFieldRef as dJ, isContractKeyRef as dK, isContractParamRef as dL, isEntityWritesDefinition as dM, isKeySegment as dN, isLifecycleContract as dO, isMaintainTrigger as dP, isMutationFragment as dQ, isMutationInputRef as dR, isParam as dS, isPlannedCommandMethod as dT, isQueryModelContract as dU, isRetryableError as dV, isRetryableTransactionCancellation as dW, k as dX, key as dY, lifecyclePhaseForIntent as dZ, maintainTrigger as d_, type WriteRecorder as da, type WriteResultProjection as db, attachModelClass as dc, buildDeleteInput as dd, buildMaintenanceGraph as de, buildPutInput as df, buildUpdateInput as dg, collectViewDefinitions as dh, compileFragment as di, compileMutationPlan as dj, compileSingleFragmentPlan as dk, cond as dl, contractOfMethodSpec as dm, definePlan as dn, entityWrites as dp, executeBatchGet as dq, executeBatchWrite as dr, executeCommandMethod as ds, executeDelete as dt, executeKeyedBatchGet as du, executePut as dv, executeQueryMethod as dw, executeRangeFanout as dx, executeTransaction as dy, executeUpdate as dz, type BatchExecOptions as e, mintContractParamRef as e0, mutation as e1, param as e2, preview as e3, publicCommandModel as e4, publicQueryModel as e5, query as e6, resolveLifecycle as e7, wholeKeysSentinel as e8, DDBModel as f, type PrimaryKeyOf as g, type RequestContext as h, type Middleware as i, type ReadRequestKind as j, type CtxModel as k, type ReadParams as l, type ReadRequestCtx as m, type RetryPolicy as n, type ExecutionPlanSpec as o, type EntityMetadata as p, type ModelKind as q, type DynamoType as r, type ProjectionTransform as s, type MaintainEvent as t, type MembershipPredicate as u, type MaintainConsistency as v, type MaintainUpdateMode as w, type MembershipPredicateOp as x, type RelationOptions as y, type AggregateValue as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphddb",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Graph data modeling on DynamoDB with adjacency list pattern",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",