Skip to content

ContentStore

Defined in: packages/core/src/cms.ts:805

Content storage abstraction providing CRUD operations for collections. Handles serialization, hashing, and database operations for content data.

const contentStore = yield* ContentStore;
// Insert data
yield* contentStore.insert("post-1", "posts", postData);
// Retrieve by ID
const post = yield* contentStore.getById("posts", "post-1", PostSchema);
// Get all items
const allPosts = yield* contentStore.getAll("posts", PostSchema);
  • TagClassShape<"ContentStore", { getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>; getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>; insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>; query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>; }, this>

new ContentStore(_): ContentStore

Defined in: node_modules/effect/dist/dts/Context.d.ts:109

never

ContentStore

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().constructor

readonly [TagTypeId]: typeof TagTypeId

Defined in: node_modules/effect/dist/dts/Context.d.ts:100

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().[TagTypeId]


Id: "ContentStore"

Defined in: node_modules/effect/dist/dts/Context.d.ts:99

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().Id


readonly Type: object

Defined in: node_modules/effect/dist/dts/Context.d.ts:101

getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>

T extends AnySchema

string

T

Effect<readonly T["Type"][], ContentStoreError>

getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>

T extends AnySchema

string

string

T

Effect<Option<T["Type"]>, ContentStoreError>

insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>

T extends Struct<any>

string

string

T["Type"]

Effect<void, ContentStoreError, never>

query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>

T extends Struct<any>

string

T

Effect<readonly T["Type"][], ContentStoreError>

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().Type


readonly static _op: "Tag"

Defined in: node_modules/effect/dist/dts/Context.d.ts:33

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >()._op


readonly static [ChannelTypeId]: VarianceStruct<never, unknown, never, unknown, { getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>; getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>; insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>; query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>; }, unknown, ContentStore>

Defined in: node_modules/effect/dist/dts/Channel.d.ts:108

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().[ChannelTypeId]


readonly static [EffectTypeId]: VarianceStruct<{ getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>; getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>; insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>; query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>; }, never, ContentStore>

Defined in: node_modules/effect/dist/dts/Effect.d.ts:195

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().[EffectTypeId]


static optional [ignoreSymbol]: TagUnifyIgnore

Defined in: node_modules/effect/dist/dts/Context.d.ts:46

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().[ignoreSymbol]


readonly static [SinkTypeId]: VarianceStruct<{ getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>; getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>; insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>; query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>; }, unknown, never, never, ContentStore>

Defined in: node_modules/effect/dist/dts/Sink.d.ts:82

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().[SinkTypeId]


readonly static [STMTypeId]: object

Defined in: node_modules/effect/dist/dts/STM.d.ts:136

readonly _A: Covariant<{ getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>; getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>; insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>; query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>; }>

readonly _E: Covariant<never>

readonly _R: Covariant<ContentStore>

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().[STMTypeId]


readonly static [StreamTypeId]: VarianceStruct<{ getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>; getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>; insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>; query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>; }, never, ContentStore>

Defined in: node_modules/effect/dist/dts/Stream.d.ts:111

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().[StreamTypeId]


readonly static [TagTypeId]: object

Defined in: node_modules/effect/dist/dts/Context.d.ts:36

readonly _Identifier: Invariant<ContentStore>

readonly _Service: Invariant<{ getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>; getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>; insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>; query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>; }>

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().[TagTypeId]


static optional [typeSymbol]: unknown

Defined in: node_modules/effect/dist/dts/Context.d.ts:44

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().[typeSymbol]


static optional [unifySymbol]: TagUnify<TagClass<ContentStore, "ContentStore", { getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>; getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>; insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>; query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>; }>>

Defined in: node_modules/effect/dist/dts/Context.d.ts:45

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().[unifySymbol]


readonly static Identifier: ContentStore

Defined in: node_modules/effect/dist/dts/Context.d.ts:35

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().Identifier


readonly static key: "ContentStore"

Defined in: node_modules/effect/dist/dts/Context.d.ts:110

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().key


readonly static Service: object

Defined in: node_modules/effect/dist/dts/Context.d.ts:34

getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>

T extends AnySchema

string

T

Effect<readonly T["Type"][], ContentStoreError>

getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>

T extends AnySchema

string

string

T

Effect<Option<T["Type"]>, ContentStoreError>

insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>

T extends Struct<any>

string

string

T["Type"]

Effect<void, ContentStoreError, never>

query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>

T extends Struct<any>

string

T

Effect<readonly T["Type"][], ContentStoreError>

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().Service


readonly static optional stack: string

Defined in: node_modules/effect/dist/dts/Context.d.ts:42

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().stack

static [iterator](): EffectGenerator<Tag<ContentStore, { getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>; getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>; insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>; query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>; }>>

Defined in: node_modules/effect/dist/dts/Effect.d.ts:137

EffectGenerator<Tag<ContentStore, { getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>; getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>; insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>; query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>; }>>

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().[iterator]


static [NodeInspectSymbol](): unknown

Defined in: node_modules/effect/dist/dts/Inspectable.d.ts:22

unknown

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().[NodeInspectSymbol]


static context(self): Context<ContentStore>

Defined in: node_modules/effect/dist/dts/Context.d.ts:41

<T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>

<T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>

<T>(id, collection, data) => Effect<void, ContentStoreError, never>

<T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>

Context<ContentStore>

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().context


static of(self): object

Defined in: node_modules/effect/dist/dts/Context.d.ts:40

<T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>

<T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>

<T>(id, collection, data) => Effect<void, ContentStoreError, never>

<T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>

object

getAll: <T>(collection, schema) => Effect<readonly T["Type"][], ContentStoreError>

T extends AnySchema

string

T

Effect<readonly T["Type"][], ContentStoreError>

getById: <T>(collection, id, schema) => Effect<Option<T["Type"]>, ContentStoreError>

T extends AnySchema

string

string

T

Effect<Option<T["Type"]>, ContentStoreError>

insert: <T>(id, collection, data) => Effect<void, ContentStoreError, never>

T extends Struct<any>

string

string

T["Type"]

Effect<void, ContentStoreError, never>

query: <T>(sql, schema) => Effect<readonly T["Type"][], ContentStoreError>

T extends Struct<any>

string

T

Effect<readonly T["Type"][], ContentStoreError>

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().of


static pipe<A>(this): A

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:10

A

A

A

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B>(this, ab): B

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:11

A

B = never

A

(_) => B

B

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C>(this, ab, bc): C

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:12

A

B = never

C = never

A

(_) => B

(_) => C

C

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D>(this, ab, bc, cd): D

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:13

A

B = never

C = never

D = never

A

(_) => B

(_) => C

(_) => D

D

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E>(this, ab, bc, cd, de): E

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:14

A

B = never

C = never

D = never

E = never

A

(_) => B

(_) => C

(_) => D

(_) => E

E

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F>(this, ab, bc, cd, de, ef): F

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:15

A

B = never

C = never

D = never

E = never

F = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

F

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G>(this, ab, bc, cd, de, ef, fg): G

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:16

A

B = never

C = never

D = never

E = never

F = never

G = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

G

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H>(this, ab, bc, cd, de, ef, fg, gh): H

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:17

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

H

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I>(this, ab, bc, cd, de, ef, fg, gh, hi): I

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:18

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

I

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J>(this, ab, bc, cd, de, ef, fg, gh, hi, ij): J

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:19

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

J

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J, K>(this, ab, bc, cd, de, ef, fg, gh, hi, ij, jk): K

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:20

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

K = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

(_) => K

K

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J, K, L>(this, ab, bc, cd, de, ef, fg, gh, hi, ij, jk, kl): L

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:21

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

K = never

L = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

(_) => K

(_) => L

L

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J, K, L, M>(this, ab, bc, cd, de, ef, fg, gh, hi, ij, jk, kl, lm): M

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:22

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

K = never

L = never

M = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

(_) => K

(_) => L

(_) => M

M

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N>(this, ab, bc, cd, de, ef, fg, gh, hi, ij, jk, kl, lm, mn): N

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:23

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

K = never

L = never

M = never

N = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

(_) => K

(_) => L

(_) => M

(_) => N

N

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O>(this, ab, bc, cd, de, ef, fg, gh, hi, ij, jk, kl, lm, mn, no): O

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:24

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

K = never

L = never

M = never

N = never

O = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

(_) => K

(_) => L

(_) => M

(_) => N

(_) => O

O

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>(this, ab, bc, cd, de, ef, fg, gh, hi, ij, jk, kl, lm, mn, no, op): P

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:25

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

K = never

L = never

M = never

N = never

O = never

P = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

(_) => K

(_) => L

(_) => M

(_) => N

(_) => O

(_) => P

P

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q>(this, ab, bc, cd, de, ef, fg, gh, hi, ij, jk, kl, lm, mn, no, op, pq): Q

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:26

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

K = never

L = never

M = never

N = never

O = never

P = never

Q = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

(_) => K

(_) => L

(_) => M

(_) => N

(_) => O

(_) => P

(_) => Q

Q

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R>(this, ab, bc, cd, de, ef, fg, gh, hi, ij, jk, kl, lm, mn, no, op, pq, qr): R

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:27

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

K = never

L = never

M = never

N = never

O = never

P = never

Q = never

R = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

(_) => K

(_) => L

(_) => M

(_) => N

(_) => O

(_) => P

(_) => Q

(_) => R

R

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S>(this, ab, bc, cd, de, ef, fg, gh, hi, ij, jk, kl, lm, mn, no, op, pq, qr, rs): S

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:28

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

K = never

L = never

M = never

N = never

O = never

P = never

Q = never

R = never

S = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

(_) => K

(_) => L

(_) => M

(_) => N

(_) => O

(_) => P

(_) => Q

(_) => R

(_) => S

S

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T>(this, ab, bc, cd, de, ef, fg, gh, hi, ij, jk, kl, lm, mn, no, op, pq, qr, rs, st): T

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:29

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

K = never

L = never

M = never

N = never

O = never

P = never

Q = never

R = never

S = never

T = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

(_) => K

(_) => L

(_) => M

(_) => N

(_) => O

(_) => P

(_) => Q

(_) => R

(_) => S

(_) => T

T

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>(this, ab, bc, cd, de, ef, fg, gh, hi, ij, jk, kl, lm, mn, no, op, pq, qr, rs, st, tu): U

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:30

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

K = never

L = never

M = never

N = never

O = never

P = never

Q = never

R = never

S = never

T = never

U = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

(_) => K

(_) => L

(_) => M

(_) => N

(_) => O

(_) => P

(_) => Q

(_) => R

(_) => S

(_) => T

(_) => U

U

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe

static pipe<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U>(this, ab, bc, cd, de, ef, fg, gh, hi, ij, jk, kl, lm, mn, no, op, pq, qr, rs, st, tu): U

Defined in: node_modules/effect/dist/dts/Pipeable.d.ts:31

A

B = never

C = never

D = never

E = never

F = never

G = never

H = never

I = never

J = never

K = never

L = never

M = never

N = never

O = never

P = never

Q = never

R = never

S = never

T = never

U = never

A

(_) => B

(_) => C

(_) => D

(_) => E

(_) => F

(_) => G

(_) => H

(_) => I

(_) => J

(_) => K

(_) => L

(_) => M

(_) => N

(_) => O

(_) => P

(_) => Q

(_) => R

(_) => S

(_) => T

(_) => U

U

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().pipe


static toJSON(): unknown

Defined in: node_modules/effect/dist/dts/Inspectable.d.ts:21

unknown

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().toJSON


static toString(): string

Defined in: node_modules/effect/dist/dts/Inspectable.d.ts:20

string

Context.Tag("ContentStore")< ContentStore, { query: <T extends Schema.Struct<any>>( sql: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; insert: <T extends Schema.Struct<any>>( id: string, collection: string, data: T["Type"], ) => Effect.Effect<void, ContentStoreError, never>; getById: <T extends AnySchema>( collection: string, id: string, schema: T, ) => Effect.Effect<Option.Option<T["Type"]>, ContentStoreError>; getAll: <T extends AnySchema>( collection: string, schema: T, ) => Effect.Effect<readonly T["Type"][], ContentStoreError>; } >().toString