11/**
2- * @since 3.13 .0
2+ * @since 3.14 .0
33 */
44import * as Context from "./Context.js"
55import type * as Duration from "./Duration.js"
@@ -11,19 +11,19 @@ import * as Scope from "./Scope.js"
1111import type { Mutable } from "./Types.js"
1212
1313/**
14- * @since 3.13 .0
14+ * @since 3.14 .0
1515 * @category Symbols
1616 */
1717export const TypeId : unique symbol = Symbol . for ( "effect/LayerMap" )
1818
1919/**
20- * @since 3.13 .0
20+ * @since 3.14 .0
2121 * @category Symbols
2222 */
2323export type TypeId = typeof TypeId
2424
2525/**
26- * @since 3.13 .0
26+ * @since 3.14 .0
2727 * @category Models
2828 */
2929export interface LayerMap < in K , in out I , out S , out E = never > {
@@ -52,7 +52,7 @@ export interface LayerMap<in K, in out I, out S, out E = never> {
5252}
5353
5454/**
55- * @since 3.13 .0
55+ * @since 3.14 .0
5656 * @category Constructors
5757 *
5858 * A `LayerMap` allows you to create a map of Layer's that can be used to
@@ -165,7 +165,7 @@ export const make: <
165165} )
166166
167167/**
168- * @since 3.13 .0
168+ * @since 3.14 .0
169169 * @category Constructors
170170 */
171171export const fromRecord = <
@@ -190,7 +190,7 @@ export const fromRecord = <
190190> => make ( tagOrAccessor , ( key : keyof Layers ) => layers [ key ] , options )
191191
192192/**
193- * @since 3.13 .0
193+ * @since 3.14 .0
194194 * @category Service
195195 */
196196export interface TagClass <
@@ -238,7 +238,7 @@ export interface TagClass<
238238}
239239
240240/**
241- * @since 3.13 .0
241+ * @since 3.14 .0
242242 * @category Service
243243 *
244244 * Create a `LayerMap` service that provides a dynamic set of resources based on
@@ -352,34 +352,34 @@ export const Service = <Self>() =>
352352}
353353
354354/**
355- * @since 3.13 .0
355+ * @since 3.14 .0
356356 * @category Service
357357 */
358358export declare namespace Service {
359359 /**
360- * @since 3.13 .0
360+ * @since 3.14 .0
361361 * @category Service
362362 */
363363 export type Key < Options > = Options extends { readonly lookup : ( key : infer K ) => any } ? K
364364 : Options extends { readonly layers : infer Layers } ? keyof Layers
365365 : never
366366
367367 /**
368- * @since 3.13 .0
368+ * @since 3.14 .0
369369 * @category Service
370370 */
371371 export type Layers < Options > = Options extends { readonly lookup : ( key : infer _K ) => infer Layers } ? Layers
372372 : Options extends { readonly layers : infer Layers } ? Layers [ keyof Layers ]
373373 : never
374374
375375 /**
376- * @since 3.13 .0
376+ * @since 3.14 .0
377377 * @category Service
378378 */
379379 export type Error < Options > = Layers < Options > extends Layer . Layer < infer _A , infer _E , infer _R > ? _E : never
380380
381381 /**
382- * @since 3.13 .0
382+ * @since 3.14 .0
383383 * @category Service
384384 */
385385 export type Context < Options > = Layers < Options > extends Layer . Layer < infer _A , infer _E , infer _R > ? _R : never
0 commit comments