@prisma-next/contract 0.3.0-pr.111.14 → 0.3.0-pr.111.16

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.
@@ -1,2 +1,527 @@
1
- import { C as TypeRenderer, D as interpolateTypeTemplate, E as checkContractComponentRequirements, O as normalizeRenderer, S as TargetPackRef, T as TypeRendererTemplate, _ as PackRefBase, a as ComponentMetadata, b as TargetDescriptor, c as DriverDescriptor, d as ExtensionDescriptor, f as ExtensionInstance, g as NormalizedTypeRenderer, h as FamilyInstance, i as ComponentDescriptor, l as DriverInstance, m as FamilyDescriptor, n as AdapterInstance, o as ContractComponentRequirementsCheckInput, p as ExtensionPackRef, r as AdapterPackRef, s as ContractComponentRequirementsCheckResult, t as AdapterDescriptor, u as DriverPackRef, v as RenderTypeContext, w as TypeRendererFunction, x as TargetInstance, y as TargetBoundComponentDescriptor } from "./framework-components-2yOmthS2.mjs";
2
- export { type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type DriverDescriptor, type DriverInstance, type DriverPackRef, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type NormalizedTypeRenderer, type PackRefBase, type RenderTypeContext, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetPackRef, type TypeRenderer, type TypeRendererFunction, type TypeRendererTemplate, checkContractComponentRequirements, interpolateTypeTemplate, normalizeRenderer };
1
+ import { h as OperationManifest, k as TypesImportSpec, x as RenderTypeContext } from "./types-Biu_aeqL.mjs";
2
+
3
+ //#region src/framework-components.d.ts
4
+
5
+ /**
6
+ * A template-based type renderer (structured form).
7
+ * Uses mustache-style placeholders (e.g., `Vector<{{length}}>`) that are
8
+ * replaced with typeParams values during rendering.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * { kind: 'template', template: 'Vector<{{length}}>' }
13
+ * // With typeParams { length: 1536 }, renders: 'Vector<1536>'
14
+ * ```
15
+ */
16
+ interface TypeRendererTemplate {
17
+ readonly kind: 'template';
18
+ /** Template string with `{{key}}` placeholders for typeParams values */
19
+ readonly template: string;
20
+ }
21
+ /**
22
+ * A function-based type renderer for full control over type expression generation.
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * {
27
+ * kind: 'function',
28
+ * render: (params, ctx) => `Vector<${params.length}>`
29
+ * }
30
+ * ```
31
+ */
32
+ interface TypeRendererFunction {
33
+ readonly kind: 'function';
34
+ /** Render function that produces a TypeScript type expression */
35
+ readonly render: (params: Record<string, unknown>, ctx: RenderTypeContext) => string;
36
+ }
37
+ /**
38
+ * A raw template string type renderer (convenience form).
39
+ * Shorthand for TypeRendererTemplate - just the template string without wrapper.
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * 'Vector<{{length}}>'
44
+ * // Equivalent to: { kind: 'template', template: 'Vector<{{length}}>' }
45
+ * ```
46
+ */
47
+ type TypeRendererString = string;
48
+ /**
49
+ * A raw function type renderer (convenience form).
50
+ * Shorthand for TypeRendererFunction - just the function without wrapper.
51
+ *
52
+ * @example
53
+ * ```ts
54
+ * (params, ctx) => `Vector<${params.length}>`
55
+ * // Equivalent to: { kind: 'function', render: ... }
56
+ * ```
57
+ */
58
+ type TypeRendererRawFunction = (params: Record<string, unknown>, ctx: RenderTypeContext) => string;
59
+ /**
60
+ * Union of type renderer formats.
61
+ *
62
+ * Supports both structured forms (with `kind` discriminator) and convenience forms:
63
+ * - `string` - Template string with `{{key}}` placeholders (manifest-safe, JSON-serializable)
64
+ * - `function` - Render function for full control (requires runtime execution)
65
+ * - `{ kind: 'template', template: string }` - Structured template form
66
+ * - `{ kind: 'function', render: fn }` - Structured function form
67
+ *
68
+ * Templates are normalized to functions during pack assembly.
69
+ * **Prefer template strings** for most cases - they are JSON-serializable.
70
+ */
71
+ type TypeRenderer = TypeRendererString | TypeRendererRawFunction | TypeRendererTemplate | TypeRendererFunction;
72
+ /**
73
+ * Normalized type renderer - always a function after assembly.
74
+ * This is the form received by the emitter.
75
+ */
76
+ interface NormalizedTypeRenderer {
77
+ readonly codecId: string;
78
+ readonly render: (params: Record<string, unknown>, ctx: RenderTypeContext) => string;
79
+ }
80
+ /**
81
+ * Interpolates a template string with params values.
82
+ * Used internally by normalizeRenderer to compile templates to functions.
83
+ *
84
+ * @throws Error if a placeholder key is not found in params (except 'CodecTypes')
85
+ */
86
+ declare function interpolateTypeTemplate(template: string, params: Record<string, unknown>, ctx: RenderTypeContext): string;
87
+ /**
88
+ * Normalizes a TypeRenderer to function form.
89
+ * Called during pack assembly, not at emission time.
90
+ *
91
+ * Handles all TypeRenderer forms:
92
+ * - Raw string template: `'Vector<{{length}}>'`
93
+ * - Raw function: `(params, ctx) => ...`
94
+ * - Structured template: `{ kind: 'template', template: '...' }`
95
+ * - Structured function: `{ kind: 'function', render: fn }`
96
+ */
97
+ declare function normalizeRenderer(codecId: string, renderer: TypeRenderer): NormalizedTypeRenderer;
98
+ /**
99
+ * Declarative fields that describe component metadata.
100
+ * These fields are owned directly by descriptors (not nested under a manifest).
101
+ */
102
+ interface ComponentMetadata {
103
+ /** Component version (semver) */
104
+ readonly version: string;
105
+ /**
106
+ * Capabilities this component provides.
107
+ *
108
+ * For adapters, capabilities must be declared on the adapter descriptor (so they are emitted into
109
+ * the contract) and also exposed in runtime adapter code (e.g. `adapter.profile.capabilities`);
110
+ * keep these declarations in sync. Targets are identifiers/descriptors and typically do not
111
+ * declare capabilities.
112
+ */
113
+ readonly capabilities?: Record<string, unknown>;
114
+ /** Type imports for contract.d.ts generation */
115
+ readonly types?: {
116
+ readonly codecTypes?: {
117
+ /**
118
+ * Base codec types import spec.
119
+ * Optional: adapters typically provide this, extensions usually don't.
120
+ */
121
+ readonly import?: TypesImportSpec;
122
+ /**
123
+ * Optional renderers for parameterized codecs owned by this component.
124
+ * Key is codecId (e.g., 'pg/vector@1'), value is the type renderer.
125
+ *
126
+ * Templates are normalized to functions during pack assembly.
127
+ * Duplicate codecId across descriptors is a hard error.
128
+ */
129
+ readonly parameterized?: Record<string, TypeRenderer>;
130
+ /**
131
+ * Optional additional type-only imports required by parameterized renderers.
132
+ *
133
+ * These imports are included in generated `contract.d.ts` but are NOT treated as
134
+ * codec type maps (i.e., they should not be intersected into `export type CodecTypes = ...`).
135
+ *
136
+ * Example: `Vector<N>` for pgvector renderers that emit `Vector<{{length}}>`
137
+ */
138
+ readonly typeImports?: ReadonlyArray<TypesImportSpec>;
139
+ };
140
+ readonly operationTypes?: {
141
+ readonly import: TypesImportSpec;
142
+ };
143
+ readonly storage?: ReadonlyArray<{
144
+ readonly typeId: string;
145
+ readonly familyId: string;
146
+ readonly targetId: string;
147
+ readonly nativeType?: string;
148
+ }>;
149
+ };
150
+ /** Operation manifests for building operation registries */
151
+ readonly operations?: ReadonlyArray<OperationManifest>;
152
+ }
153
+ /**
154
+ * Base descriptor for any framework component.
155
+ *
156
+ * All component descriptors share these fundamental properties that identify
157
+ * the component and provide its metadata. This interface is extended by
158
+ * specific descriptor types (FamilyDescriptor, TargetDescriptor, etc.).
159
+ *
160
+ * @template Kind - Discriminator literal identifying the component type.
161
+ * Built-in kinds are 'family', 'target', 'adapter', 'driver', 'extension',
162
+ * but the type accepts any string to allow ecosystem extensions.
163
+ *
164
+ * @example
165
+ * ```ts
166
+ * // All descriptors have these properties
167
+ * descriptor.kind // The Kind type parameter (e.g., 'family', 'target', or custom kinds)
168
+ * descriptor.id // Unique string identifier (e.g., 'sql', 'postgres')
169
+ * descriptor.version // Component version (semver)
170
+ * ```
171
+ */
172
+ interface ComponentDescriptor<Kind extends string> extends ComponentMetadata {
173
+ /** Discriminator identifying the component type */
174
+ readonly kind: Kind;
175
+ /** Unique identifier for this component (e.g., 'sql', 'postgres', 'pgvector') */
176
+ readonly id: string;
177
+ }
178
+ interface ContractComponentRequirementsCheckInput {
179
+ readonly contract: {
180
+ readonly target: string;
181
+ readonly targetFamily?: string | undefined;
182
+ readonly extensionPacks?: Record<string, unknown> | undefined;
183
+ };
184
+ readonly expectedTargetFamily?: string | undefined;
185
+ readonly expectedTargetId?: string | undefined;
186
+ readonly providedComponentIds: Iterable<string>;
187
+ }
188
+ interface ContractComponentRequirementsCheckResult {
189
+ readonly familyMismatch?: {
190
+ readonly expected: string;
191
+ readonly actual: string;
192
+ } | undefined;
193
+ readonly targetMismatch?: {
194
+ readonly expected: string;
195
+ readonly actual: string;
196
+ } | undefined;
197
+ readonly missingExtensionPackIds: readonly string[];
198
+ }
199
+ declare function checkContractComponentRequirements(input: ContractComponentRequirementsCheckInput): ContractComponentRequirementsCheckResult;
200
+ /**
201
+ * Descriptor for a family component.
202
+ *
203
+ * A "family" represents a category of data sources with shared semantics
204
+ * (e.g., SQL databases, document stores). Families define:
205
+ * - Query semantics and operations (SELECT, INSERT, find, aggregate, etc.)
206
+ * - Contract structure (tables vs collections, columns vs fields)
207
+ * - Type system and codecs
208
+ *
209
+ * Families are the top-level grouping. Each family contains multiple targets
210
+ * (e.g., SQL family contains Postgres, MySQL, SQLite targets).
211
+ *
212
+ * Extended by plane-specific descriptors:
213
+ * - `ControlFamilyDescriptor` - adds `hook` for CLI/tooling operations
214
+ * - `RuntimeFamilyDescriptor` - adds runtime-specific factory methods
215
+ *
216
+ * @template TFamilyId - Literal type for the family identifier (e.g., 'sql', 'document')
217
+ *
218
+ * @example
219
+ * ```ts
220
+ * import sql from '@prisma-next/family-sql/control';
221
+ *
222
+ * sql.kind // 'family'
223
+ * sql.familyId // 'sql'
224
+ * sql.id // 'sql'
225
+ * ```
226
+ */
227
+ interface FamilyDescriptor<TFamilyId extends string> extends ComponentDescriptor<'family'> {
228
+ /** The family identifier (e.g., 'sql', 'document') */
229
+ readonly familyId: TFamilyId;
230
+ }
231
+ /**
232
+ * Descriptor for a target component.
233
+ *
234
+ * A "target" represents a specific database or data store within a family
235
+ * (e.g., Postgres, MySQL, MongoDB). Targets define:
236
+ * - Native type mappings (e.g., Postgres int4 → TypeScript number)
237
+ * - Target-specific capabilities (e.g., RETURNING, LATERAL joins)
238
+ *
239
+ * Targets are bound to a family and provide the target-specific implementation
240
+ * details that adapters and drivers use.
241
+ *
242
+ * Extended by plane-specific descriptors:
243
+ * - `ControlTargetDescriptor` - adds optional `migrations` capability
244
+ * - `RuntimeTargetDescriptor` - adds runtime factory method
245
+ *
246
+ * @template TFamilyId - Literal type for the family identifier
247
+ * @template TTargetId - Literal type for the target identifier (e.g., 'postgres', 'mysql')
248
+ *
249
+ * @example
250
+ * ```ts
251
+ * import postgres from '@prisma-next/target-postgres/control';
252
+ *
253
+ * postgres.kind // 'target'
254
+ * postgres.familyId // 'sql'
255
+ * postgres.targetId // 'postgres'
256
+ * ```
257
+ */
258
+ interface TargetDescriptor<TFamilyId extends string, TTargetId extends string> extends ComponentDescriptor<'target'> {
259
+ /** The family this target belongs to */
260
+ readonly familyId: TFamilyId;
261
+ /** The target identifier (e.g., 'postgres', 'mysql', 'mongodb') */
262
+ readonly targetId: TTargetId;
263
+ }
264
+ /**
265
+ * Base shape for any pack reference.
266
+ * Pack refs are pure JSON-friendly objects safe to import in authoring flows.
267
+ */
268
+ interface PackRefBase<Kind extends string, TFamilyId extends string> extends ComponentMetadata {
269
+ readonly kind: Kind;
270
+ readonly id: string;
271
+ readonly familyId: TFamilyId;
272
+ readonly targetId?: string;
273
+ }
274
+ type TargetPackRef<TFamilyId extends string = string, TTargetId extends string = string> = PackRefBase<'target', TFamilyId> & {
275
+ readonly targetId: TTargetId;
276
+ };
277
+ type AdapterPackRef<TFamilyId extends string = string, TTargetId extends string = string> = PackRefBase<'adapter', TFamilyId> & {
278
+ readonly targetId: TTargetId;
279
+ };
280
+ type ExtensionPackRef<TFamilyId extends string = string, TTargetId extends string = string> = PackRefBase<'extension', TFamilyId> & {
281
+ readonly targetId: TTargetId;
282
+ };
283
+ type DriverPackRef<TFamilyId extends string = string, TTargetId extends string = string> = PackRefBase<'driver', TFamilyId> & {
284
+ readonly targetId: TTargetId;
285
+ };
286
+ /**
287
+ * Descriptor for an adapter component.
288
+ *
289
+ * An "adapter" provides the protocol and dialect implementation for a target.
290
+ * Adapters handle:
291
+ * - SQL/query generation (lowering AST to target-specific syntax)
292
+ * - Codec registration (encoding/decoding between JS and wire types)
293
+ * - Type mappings and coercions
294
+ *
295
+ * Adapters are bound to a specific family+target combination and work with
296
+ * any compatible driver for that target.
297
+ *
298
+ * Extended by plane-specific descriptors:
299
+ * - `ControlAdapterDescriptor` - control-plane factory
300
+ * - `RuntimeAdapterDescriptor` - runtime factory
301
+ *
302
+ * @template TFamilyId - Literal type for the family identifier
303
+ * @template TTargetId - Literal type for the target identifier
304
+ *
305
+ * @example
306
+ * ```ts
307
+ * import postgresAdapter from '@prisma-next/adapter-postgres/control';
308
+ *
309
+ * postgresAdapter.kind // 'adapter'
310
+ * postgresAdapter.familyId // 'sql'
311
+ * postgresAdapter.targetId // 'postgres'
312
+ * ```
313
+ */
314
+ interface AdapterDescriptor<TFamilyId extends string, TTargetId extends string> extends ComponentDescriptor<'adapter'> {
315
+ /** The family this adapter belongs to */
316
+ readonly familyId: TFamilyId;
317
+ /** The target this adapter is designed for */
318
+ readonly targetId: TTargetId;
319
+ }
320
+ /**
321
+ * Descriptor for a driver component.
322
+ *
323
+ * A "driver" provides the connection and execution layer for a target.
324
+ * Drivers handle:
325
+ * - Connection management (pooling, timeouts, retries)
326
+ * - Query execution (sending SQL/commands, receiving results)
327
+ * - Transaction management
328
+ * - Wire protocol communication
329
+ *
330
+ * Drivers are bound to a specific family+target and work with any compatible
331
+ * adapter. Multiple drivers can exist for the same target (e.g., node-postgres
332
+ * vs postgres.js for Postgres).
333
+ *
334
+ * Extended by plane-specific descriptors:
335
+ * - `ControlDriverDescriptor` - creates driver from connection URL
336
+ * - `RuntimeDriverDescriptor` - creates driver with runtime options
337
+ *
338
+ * @template TFamilyId - Literal type for the family identifier
339
+ * @template TTargetId - Literal type for the target identifier
340
+ *
341
+ * @example
342
+ * ```ts
343
+ * import postgresDriver from '@prisma-next/driver-postgres/control';
344
+ *
345
+ * postgresDriver.kind // 'driver'
346
+ * postgresDriver.familyId // 'sql'
347
+ * postgresDriver.targetId // 'postgres'
348
+ * ```
349
+ */
350
+ interface DriverDescriptor<TFamilyId extends string, TTargetId extends string> extends ComponentDescriptor<'driver'> {
351
+ /** The family this driver belongs to */
352
+ readonly familyId: TFamilyId;
353
+ /** The target this driver connects to */
354
+ readonly targetId: TTargetId;
355
+ }
356
+ /**
357
+ * Descriptor for an extension component.
358
+ *
359
+ * An "extension" adds optional capabilities to a target. Extensions can provide:
360
+ * - Additional operations (e.g., vector similarity search with pgvector)
361
+ * - Custom types and codecs (e.g., vector type)
362
+ * - Extended query capabilities
363
+ *
364
+ * Extensions are bound to a specific family+target and are registered in the
365
+ * config alongside the core components. Multiple extensions can be used together.
366
+ *
367
+ * Extended by plane-specific descriptors:
368
+ * - `ControlExtensionDescriptor` - control-plane extension factory
369
+ * - `RuntimeExtensionDescriptor` - runtime extension factory
370
+ *
371
+ * @template TFamilyId - Literal type for the family identifier
372
+ * @template TTargetId - Literal type for the target identifier
373
+ *
374
+ * @example
375
+ * ```ts
376
+ * import pgvector from '@prisma-next/extension-pgvector/control';
377
+ *
378
+ * pgvector.kind // 'extension'
379
+ * pgvector.familyId // 'sql'
380
+ * pgvector.targetId // 'postgres'
381
+ * ```
382
+ */
383
+ interface ExtensionDescriptor<TFamilyId extends string, TTargetId extends string> extends ComponentDescriptor<'extension'> {
384
+ /** The family this extension belongs to */
385
+ readonly familyId: TFamilyId;
386
+ /** The target this extension is designed for */
387
+ readonly targetId: TTargetId;
388
+ }
389
+ /**
390
+ * Union type for target-bound component descriptors.
391
+ *
392
+ * Target-bound components are those that must be compatible with a specific
393
+ * family+target combination. This includes targets, adapters, drivers, and
394
+ * extensions. Families are not target-bound.
395
+ *
396
+ * This type is used in migration and verification interfaces to enforce
397
+ * type-level compatibility between components.
398
+ *
399
+ * @template TFamilyId - Literal type for the family identifier
400
+ * @template TTargetId - Literal type for the target identifier
401
+ *
402
+ * @example
403
+ * ```ts
404
+ * // All these components must have matching familyId and targetId
405
+ * const components: TargetBoundComponentDescriptor<'sql', 'postgres'>[] = [
406
+ * postgresTarget,
407
+ * postgresAdapter,
408
+ * postgresDriver,
409
+ * pgvectorExtension,
410
+ * ];
411
+ * ```
412
+ */
413
+ type TargetBoundComponentDescriptor<TFamilyId extends string, TTargetId extends string> = TargetDescriptor<TFamilyId, TTargetId> | AdapterDescriptor<TFamilyId, TTargetId> | DriverDescriptor<TFamilyId, TTargetId> | ExtensionDescriptor<TFamilyId, TTargetId>;
414
+ /**
415
+ * Base interface for family instances.
416
+ *
417
+ * A family instance is created by a family descriptor's `create()` method.
418
+ * This base interface carries only the identity; plane-specific interfaces
419
+ * add domain actions (e.g., `emitContract`, `verify` on ControlFamilyInstance).
420
+ *
421
+ * @template TFamilyId - Literal type for the family identifier (e.g., 'sql', 'document')
422
+ *
423
+ * @example
424
+ * ```ts
425
+ * const instance = sql.create({ target, adapter, driver, extensions });
426
+ * instance.familyId // 'sql'
427
+ * ```
428
+ */
429
+ interface FamilyInstance<TFamilyId extends string> {
430
+ /** The family identifier (e.g., 'sql', 'document') */
431
+ readonly familyId: TFamilyId;
432
+ }
433
+ /**
434
+ * Base interface for target instances.
435
+ *
436
+ * A target instance is created by a target descriptor's `create()` method.
437
+ * This base interface carries only the identity; plane-specific interfaces
438
+ * add target-specific behavior.
439
+ *
440
+ * @template TFamilyId - Literal type for the family identifier
441
+ * @template TTargetId - Literal type for the target identifier (e.g., 'postgres', 'mysql')
442
+ *
443
+ * @example
444
+ * ```ts
445
+ * const instance = postgres.create();
446
+ * instance.familyId // 'sql'
447
+ * instance.targetId // 'postgres'
448
+ * ```
449
+ */
450
+ interface TargetInstance<TFamilyId extends string, TTargetId extends string> {
451
+ /** The family this target belongs to */
452
+ readonly familyId: TFamilyId;
453
+ /** The target identifier (e.g., 'postgres', 'mysql', 'mongodb') */
454
+ readonly targetId: TTargetId;
455
+ }
456
+ /**
457
+ * Base interface for adapter instances.
458
+ *
459
+ * An adapter instance is created by an adapter descriptor's `create()` method.
460
+ * This base interface carries only the identity; plane-specific interfaces
461
+ * add adapter-specific behavior (e.g., codec registration, query lowering).
462
+ *
463
+ * @template TFamilyId - Literal type for the family identifier
464
+ * @template TTargetId - Literal type for the target identifier
465
+ *
466
+ * @example
467
+ * ```ts
468
+ * const instance = postgresAdapter.create();
469
+ * instance.familyId // 'sql'
470
+ * instance.targetId // 'postgres'
471
+ * ```
472
+ */
473
+ interface AdapterInstance<TFamilyId extends string, TTargetId extends string> {
474
+ /** The family this adapter belongs to */
475
+ readonly familyId: TFamilyId;
476
+ /** The target this adapter is designed for */
477
+ readonly targetId: TTargetId;
478
+ }
479
+ /**
480
+ * Base interface for driver instances.
481
+ *
482
+ * A driver instance is created by a driver descriptor's `create()` method.
483
+ * This base interface carries only the identity; plane-specific interfaces
484
+ * add driver-specific behavior (e.g., `query`, `close` on ControlDriverInstance).
485
+ *
486
+ * @template TFamilyId - Literal type for the family identifier
487
+ * @template TTargetId - Literal type for the target identifier
488
+ *
489
+ * @example
490
+ * ```ts
491
+ * const instance = postgresDriver.create({ databaseUrl });
492
+ * instance.familyId // 'sql'
493
+ * instance.targetId // 'postgres'
494
+ * ```
495
+ */
496
+ interface DriverInstance<TFamilyId extends string, TTargetId extends string> {
497
+ /** The family this driver belongs to */
498
+ readonly familyId: TFamilyId;
499
+ /** The target this driver connects to */
500
+ readonly targetId: TTargetId;
501
+ }
502
+ /**
503
+ * Base interface for extension instances.
504
+ *
505
+ * An extension instance is created by an extension descriptor's `create()` method.
506
+ * This base interface carries only the identity; plane-specific interfaces
507
+ * add extension-specific behavior.
508
+ *
509
+ * @template TFamilyId - Literal type for the family identifier
510
+ * @template TTargetId - Literal type for the target identifier
511
+ *
512
+ * @example
513
+ * ```ts
514
+ * const instance = pgvector.create();
515
+ * instance.familyId // 'sql'
516
+ * instance.targetId // 'postgres'
517
+ * ```
518
+ */
519
+ interface ExtensionInstance<TFamilyId extends string, TTargetId extends string> {
520
+ /** The family this extension belongs to */
521
+ readonly familyId: TFamilyId;
522
+ /** The target this extension is designed for */
523
+ readonly targetId: TTargetId;
524
+ }
525
+ //#endregion
526
+ export { type AdapterDescriptor, type AdapterInstance, type AdapterPackRef, type ComponentDescriptor, type ComponentMetadata, type ContractComponentRequirementsCheckInput, type ContractComponentRequirementsCheckResult, type DriverDescriptor, type DriverInstance, type DriverPackRef, type ExtensionDescriptor, type ExtensionInstance, type ExtensionPackRef, type FamilyDescriptor, type FamilyInstance, type NormalizedTypeRenderer, type PackRefBase, type TargetBoundComponentDescriptor, type TargetDescriptor, type TargetInstance, type TargetPackRef, type TypeRenderer, type TypeRendererFunction, type TypeRendererTemplate, checkContractComponentRequirements, interpolateTypeTemplate, normalizeRenderer };
527
+ //# sourceMappingURL=framework-components.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"framework-components.d.mts","names":[],"sources":["../src/framework-components.ts"],"sourcesContent":[],"mappings":";;;;;;AA4BA;AAiBA;AAgBA;AAYA;AAiBA;;;;;AAIwB,UAlEP,oBAAA,CAkEO;EAMP,SAAA,IAAA,EAAA,UAAsB;EAWvB;EA4BA,SAAA,QAAA,EAAA,MAAiB;AA4DjC;;;;;;;;;;;;AAwEiB,UAlOA,oBAAA,CAkOmB;EAQnB,SAAA,IAAA,EAAA,UAAA;EAWA;EAMD,SAAA,MAAA,EAAA,CAAA,MAAA,EAxPY,MAwPZ,CAAA,MAAkC,EAAA,OAAA,CACzC,EAAA,GAAA,EAzPiD,iBAyPjD,EAAA,GAAA,MAAA;AA8DT;AAgCA;;;;;AAaA;;;;;AAQY,KA/VA,kBAAA,GA+Va,MAAA;;;;;AAOzB;;;;;AAOA;AAG6B,KApWjB,uBAAA,GAoWiB,CAAA,MAAA,EAnWnB,MAmWmB,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA,GAAA,EAlWtB,iBAkWsB,EAAA,GAAA,MAAA;;;;AAI7B;;;;;AAmCA;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