@livestore/sync-s2 0.4.0-dev.9 → 0.4.0

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.
Files changed (47) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/api-schema.d.ts.map +1 -1
  3. package/dist/api-schema.js +1 -1
  4. package/dist/api-schema.js.map +1 -1
  5. package/dist/api-schema.test.js +1 -1
  6. package/dist/api-schema.test.js.map +1 -1
  7. package/dist/decode.d.ts +1 -1
  8. package/dist/decode.d.ts.map +1 -1
  9. package/dist/decode.js +1 -1
  10. package/dist/decode.js.map +1 -1
  11. package/dist/http-client-generated.d.ts +21 -21
  12. package/dist/http-client-generated.d.ts.map +1 -1
  13. package/dist/http-client-generated.js +64 -22
  14. package/dist/http-client-generated.js.map +1 -1
  15. package/dist/limits.d.ts +41 -0
  16. package/dist/limits.d.ts.map +1 -0
  17. package/dist/limits.js +90 -0
  18. package/dist/limits.js.map +1 -0
  19. package/dist/limits.test.d.ts +2 -0
  20. package/dist/limits.test.d.ts.map +1 -0
  21. package/dist/limits.test.js +30 -0
  22. package/dist/limits.test.js.map +1 -0
  23. package/dist/make-s2-url.d.ts.map +1 -1
  24. package/dist/make-s2-url.js.map +1 -1
  25. package/dist/mod.d.ts +1 -0
  26. package/dist/mod.d.ts.map +1 -1
  27. package/dist/mod.js +1 -0
  28. package/dist/mod.js.map +1 -1
  29. package/dist/s2-proxy-helpers.d.ts +26 -22
  30. package/dist/s2-proxy-helpers.d.ts.map +1 -1
  31. package/dist/s2-proxy-helpers.js +35 -33
  32. package/dist/s2-proxy-helpers.js.map +1 -1
  33. package/dist/sync-provider.d.ts +4 -4
  34. package/dist/sync-provider.d.ts.map +1 -1
  35. package/dist/sync-provider.js +49 -17
  36. package/dist/sync-provider.js.map +1 -1
  37. package/package.json +76 -13
  38. package/src/api-schema.test.ts +3 -1
  39. package/src/api-schema.ts +2 -1
  40. package/src/decode.ts +4 -3
  41. package/src/http-client-generated.ts +74 -53
  42. package/src/limits.test.ts +44 -0
  43. package/src/limits.ts +135 -0
  44. package/src/make-s2-url.ts +1 -0
  45. package/src/mod.ts +1 -0
  46. package/src/s2-proxy-helpers.ts +57 -47
  47. package/src/sync-provider.ts +78 -31
@@ -1 +1 @@
1
- {"version":3,"file":"api-schema.d.ts","sourceRoot":"","sources":["../src/api-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAGhD,eAAO,MAAM,QAAQ;;;;;EAKnB,CAAA;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;EAGtB,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,IAAI,CAAA;AAC3C,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC,IAAI,CAAA;AAEjD,8CAA8C;AAC9C,eAAO,MAAM,UAAU;;;;;IAA4E,CAAA;AAEnG,eAAO,MAAM,YAAY;;EAA6C,CAAA;AACtE,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,IAAI,CAAA"}
1
+ {"version":3,"file":"api-schema.d.ts","sourceRoot":"","sources":["../src/api-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAIhD,eAAO,MAAM,QAAQ;;;;;EAKnB,CAAA;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;EAGtB,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,IAAI,CAAA;AAC3C,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC,IAAI,CAAA;AAEjD,8CAA8C;AAC9C,eAAO,MAAM,UAAU;;;;;IAA4E,CAAA;AAEnG,eAAO,MAAM,YAAY;;EAA6C,CAAA;AACtE,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,IAAI,CAAA"}
@@ -9,7 +9,7 @@ export const PullArgs = Schema.Struct({
9
9
  });
10
10
  export const PushPayload = Schema.Struct({
11
11
  storeId: Schema.String,
12
- batch: Schema.Array(LiveStoreEvent.AnyEncodedGlobal),
12
+ batch: Schema.Array(LiveStoreEvent.Global.Encoded),
13
13
  });
14
14
  /** Encoded form for query parameter `args` */
15
15
  export const ArgsSchema = Schema.compose(Schema.StringFromUriComponent, Schema.parseJson(PullArgs));
@@ -1 +1 @@
1
- {"version":3,"file":"api-schema.js","sourceRoot":"","sources":["../src/api-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IAC9D,IAAI,EAAE,MAAM,CAAC,OAAO;IACpB,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC;CAC9C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC;IACvC,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC;CACrD,CAAC,CAAA;AAKF,8CAA8C;AAC9C,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEnG,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC,CAAA"}
1
+ {"version":3,"file":"api-schema.js","sourceRoot":"","sources":["../src/api-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAEhD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IAC9D,IAAI,EAAE,MAAM,CAAC,OAAO;IACpB,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC;CAC9C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC;IACvC,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC;CACnD,CAAC,CAAA;AAKF,8CAA8C;AAC9C,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEnG,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Schema } from '@livestore/utils/effect';
2
1
  import { describe, expect, it } from 'vitest';
2
+ import { Schema } from '@livestore/utils/effect';
3
3
  import * as Api from "./api-schema.js";
4
4
  import { decodePullArgsFromSearchParams } from "./make-s2-url.js";
5
5
  import { s2SeqNum } from "./types.js";
@@ -1 +1 @@
1
- {"version":3,"file":"api-schema.test.js","sour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AAG,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAA;QACjE,MAAM,OAAO,GAAG,MAAM,CAAC,mBAAmB,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAA;QACpE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IACpC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
package/dist/decode.d.ts CHANGED
@@ -3,7 +3,7 @@ import { Option } from '@livestore/utils/effect';
3
3
  import type * as HttpClientGenerated from './http-client-generated.ts';
4
4
  import { S2SeqNum } from './types.ts';
5
5
  export declare const decodeReadBatch: (readBatch: typeof HttpClientGenerated.ReadBatch.Type) => ReadonlyArray<{
6
- eventEncoded: LiveStoreEvent.AnyEncodedGlobal;
6
+ eventEncoded: LiveStoreEvent.Global.Encoded;
7
7
  metadata: Option.Option<{
8
8
  s2SeqNum: S2SeqNum;
9
9
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"decode.d.ts","sourceRoot":"","sources":["../src/decode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,MAAM,EAAU,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,KAAK,mBAAmB,MAAM,4BAA4B,CAAA;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAWrC,eAAO,MAAM,eAAe,GAC1B,WAAW,OAAO,mBAAmB,CAAC,SAAS,CAAC,IAAI,KACnD,aAAa,CAAC;IACf,YAAY,EAAE,cAAc,CAAC,gBAAgB,CAAA;IAC7C,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;QAAE,QAAQ,EAAE,QAAQ,CAAA;KAAE,CAAC,CAAA;CAChD,CAQA,CAAA"}
1
+ {"version":3,"file":"decode.d.ts","sourceRoot":"","sources":["../src/decode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,MAAM,EAAU,MAAM,yBAAyB,CAAA;AAExD,OAAO,KAAK,KAAK,mBAAmB,MAAM,4BAA4B,CAAA;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAWrC,eAAO,MAAM,eAAe,GAC1B,WAAW,OAAO,mBAAmB,CAAC,SAAS,CAAC,IAAI,KACnD,aAAa,CAAC;IACf,YAAY,EAAE,cAAc,CAAC,MAAM,CAAC,OAAO,CAAA;IAC3C,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;QAAE,QAAQ,EAAE,QAAQ,CAAA;KAAE,CAAC,CAAA;CAChD,CAQA,CAAA"}
package/dist/decode.js CHANGED
@@ -3,7 +3,7 @@ import { Option, Schema } from '@livestore/utils/effect';
3
3
  import { S2SeqNum } from "./types.js";
4
4
  const ReadBatchSchema = Schema.Struct({
5
5
  records: Schema.Array(Schema.Struct({
6
- body: Schema.optional(Schema.parseJson(LiveStoreEvent.AnyEncodedGlobal)),
6
+ body: Schema.optional(Schema.parseJson(LiveStoreEvent.Global.Encoded)),
7
7
  seq_num: S2SeqNum,
8
8
  })),
9
9
  }).annotations({ title: '@livestore/sync-s2:ReadBatchSchema' });
@@ -1 +1 @@
1
- {"version":3,"file":"decode.js","sourceRoot":"","sources":["../src/decode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC,KAAK,CACnB,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAA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EAAE;IACH,MAAM,OAAO,GAAG,MAAM,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,SAAS,CAAC,CAAA;IAC7D,OAAO,OAAO,CAAC,OAAO;SACnB,MAAM,CAAC,CAAC,CAAC,EAAmE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,SAAS,CAAC;SACpG,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACX,YAAY,EAAE,CAAC,CAAC,IAAI;QACpB,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;KAC/C,CAAC,CAAC,CAAA;AACP,CAAC,CAAA"}
@@ -1375,96 +1375,96 @@ export interface Client {
1375
1375
  /**
1376
1376
  * List access tokens.
1377
1377
  */
1378
- readonly listAccessTokens: (options?: typeof ListAccessTokensParams.Encoded | undefined) => Effect.Effect<typeof ListAccessTokensResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1378
+ readonly listAccessTokens: (options?: typeof ListAccessTokensParams.Encoded) => Effect.Effect<typeof ListAccessTokensResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1379
1379
  /**
1380
1380
  * Issue a new access token.
1381
1381
  */
1382
- readonly issueAccessToken: (options: typeof AccessTokenInfo.Encoded) => Effect.Effect<typeof IssueAccessTokenResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1382
+ readonly issueAccessToken: (options: typeof AccessTokenInfo.Encoded) => Effect.Effect<typeof IssueAccessTokenResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1383
1383
  /**
1384
1384
  * Revoke an access token.
1385
1385
  */
1386
- readonly revokeAccessToken: (id: string) => Effect.Effect<void, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1386
+ readonly revokeAccessToken: (id: string) => Effect.Effect<void, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1387
1387
  /**
1388
1388
  * List basins.
1389
1389
  */
1390
- readonly listBasins: (options?: typeof ListBasinsParams.Encoded | undefined) => Effect.Effect<typeof ListBasinsResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1390
+ readonly listBasins: (options?: typeof ListBasinsParams.Encoded) => Effect.Effect<typeof ListBasinsResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1391
1391
  /**
1392
1392
  * Create a basin.
1393
1393
  */
1394
- readonly createBasin: (options: typeof CreateBasinRequest.Encoded) => Effect.Effect<typeof BasinInfo.Type | typeof BasinInfo.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1394
+ readonly createBasin: (options: typeof CreateBasinRequest.Encoded) => Effect.Effect<typeof BasinInfo.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1395
1395
  /**
1396
1396
  * Get basin configuration.
1397
1397
  */
1398
- readonly getBasinConfig: (basin: string) => Effect.Effect<typeof BasinConfig.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1398
+ readonly getBasinConfig: (basin: string) => Effect.Effect<typeof BasinConfig.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1399
1399
  /**
1400
1400
  * Create or reconfigure a basin.
1401
1401
  */
1402
1402
  readonly createOrReconfigureBasin: (basin: string, options: {
1403
1403
  readonly params?: typeof CreateOrReconfigureBasinParams.Encoded | undefined;
1404
1404
  readonly payload: typeof CreateOrReconfigureBasinRequest.Encoded;
1405
- }) => Effect.Effect<typeof BasinInfo.Type | typeof BasinInfo.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1405
+ }) => Effect.Effect<typeof BasinInfo.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1406
1406
  /**
1407
1407
  * Delete a basin.
1408
1408
  */
1409
- readonly deleteBasin: (basin: string) => Effect.Effect<void, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1409
+ readonly deleteBasin: (basin: string) => Effect.Effect<void, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1410
1410
  /**
1411
1411
  * Reconfigure a basin.
1412
1412
  */
1413
- readonly reconfigureBasin: (basin: string, options: typeof BasinReconfiguration.Encoded) => Effect.Effect<typeof BasinConfig.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1413
+ readonly reconfigureBasin: (basin: string, options: typeof BasinReconfiguration.Encoded) => Effect.Effect<typeof BasinConfig.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1414
1414
  /**
1415
1415
  * Account-level metrics.
1416
1416
  */
1417
- readonly accountMetrics: (options: typeof AccountMetricsParams.Encoded) => Effect.Effect<typeof MetricSetResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1417
+ readonly accountMetrics: (options: typeof AccountMetricsParams.Encoded) => Effect.Effect<typeof MetricSetResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1418
1418
  /**
1419
1419
  * Basin-level metrics.
1420
1420
  */
1421
- readonly basinMetrics: (basin: string, options: typeof BasinMetricsParams.Encoded) => Effect.Effect<typeof MetricSetResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1421
+ readonly basinMetrics: (basin: string, options: typeof BasinMetricsParams.Encoded) => Effect.Effect<typeof MetricSetResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1422
1422
  /**
1423
1423
  * Stream-level metrics.
1424
1424
  */
1425
- readonly streamMetrics: (basin: string, stream: string, options: typeof StreamMetricsParams.Encoded) => Effect.Effect<typeof MetricSetResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1425
+ readonly streamMetrics: (basin: string, stream: string, options: typeof StreamMetricsParams.Encoded) => Effect.Effect<typeof MetricSetResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1426
1426
  /**
1427
1427
  * List streams.
1428
1428
  */
1429
- readonly listStreams: (options?: typeof ListStreamsParams.Encoded | undefined) => Effect.Effect<typeof ListStreamsResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1429
+ readonly listStreams: (options?: typeof ListStreamsParams.Encoded) => Effect.Effect<typeof ListStreamsResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1430
1430
  /**
1431
1431
  * Create a stream.
1432
1432
  */
1433
- readonly createStream: (options: typeof CreateStreamRequest.Encoded) => Effect.Effect<typeof StreamInfo.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1433
+ readonly createStream: (options: typeof CreateStreamRequest.Encoded) => Effect.Effect<typeof StreamInfo.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1434
1434
  /**
1435
1435
  * Get stream configuration.
1436
1436
  */
1437
- readonly getStreamConfig: (stream: string) => Effect.Effect<typeof StreamConfig.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1437
+ readonly getStreamConfig: (stream: string) => Effect.Effect<typeof StreamConfig.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1438
1438
  /**
1439
1439
  * Create or reconfigure a stream.
1440
1440
  */
1441
1441
  readonly createOrReconfigureStream: (stream: string, options: {
1442
1442
  readonly params?: typeof CreateOrReconfigureStreamParams.Encoded | undefined;
1443
1443
  readonly payload: typeof CreateOrReconfigureStreamRequest.Encoded;
1444
- }) => Effect.Effect<typeof StreamInfo.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1444
+ }) => Effect.Effect<typeof StreamInfo.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1445
1445
  /**
1446
1446
  * Delete a stream.
1447
1447
  */
1448
- readonly deleteStream: (stream: string) => Effect.Effect<void, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1448
+ readonly deleteStream: (stream: string) => Effect.Effect<void, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1449
1449
  /**
1450
1450
  * Reconfigure a stream.
1451
1451
  */
1452
- readonly reconfigureStream: (stream: string, options: typeof StreamReconfiguration.Encoded) => Effect.Effect<typeof StreamConfig.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1452
+ readonly reconfigureStream: (stream: string, options: typeof StreamReconfiguration.Encoded) => Effect.Effect<typeof StreamConfig.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1453
1453
  /**
1454
1454
  * Read records.
1455
1455
  */
1456
- readonly read: (stream: string, options?: typeof ReadParams.Encoded | undefined) => Effect.Effect<typeof ReadBatch.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'TailResponse', typeof TailResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1456
+ readonly read: (stream: string, options?: typeof ReadParams.Encoded) => Effect.Effect<typeof ReadBatch.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'TailResponse', typeof TailResponse.Type>>;
1457
1457
  /**
1458
1458
  * Append records.
1459
1459
  */
1460
1460
  readonly append: (stream: string, options: {
1461
1461
  readonly params?: typeof AppendParams.Encoded | undefined;
1462
1462
  readonly payload: typeof AppendInput.Encoded;
1463
- }) => Effect.Effect<typeof AppendAck.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'AppendConditionFailed', typeof AppendConditionFailed.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1463
+ }) => Effect.Effect<typeof AppendAck.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'AppendConditionFailed', typeof AppendConditionFailed.Type>>;
1464
1464
  /**
1465
1465
  * Check the tail.
1466
1466
  */
1467
- readonly checkTail: (stream: string) => Effect.Effect<typeof TailResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type> | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1467
+ readonly checkTail: (stream: string) => Effect.Effect<typeof TailResponse.Type, HttpClientError.HttpClientError | ParseResult.ParseError | ClientError<'ErrorResponse', typeof ErrorResponse.Type>>;
1468
1468
  }
1469
1469
  export interface ClientError<Tag extends string, E> {
1470
1470
  readonly _tag: Tag;
@@ -1 +1 @@
1
- {"version":3,"file":"http-client-generated.d.ts","sourceRoot":"","sources":["../src/http-client-generated.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,MAAM,EACN,KAAK,UAAU,EACf,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,WAAW,EAChB,MAAM,IAAI,CAAC,EACZ,MAAM,yBAAyB,CAAA;;;;;;;;;;;;;;;AAEhC,qBAAa,sBAAuB,SAAQ,2BAO1C;CAAG;;IAQD;;;OAGG;;;IAQH;;;OAGG;;;AApBP,qBAAa,WAAY,SAAQ,gBAuBhC;CAAG;;IAGF;;OAEG;;;;;IAEH;;OAEG;;;;;;IANH;;OAEG;;;;;IAEH;;OAEG;;;;;;;;;;AAPL,qBAAa,oBAAqB,SAAQ,yBASxC;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,wBAAyB,SAAQ,6BAI5C;CAAG;;AAEL,qBAAa,SAAU,SAAQ,cAsB9B;CAAG;;;;;;;;;;;IAMF;;;OAGG;;;;;;;;;;;;;;;;;IAHH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAPL,qBAAa,gBAAiB,SAAQ,qBAUpC;CAAG;;IAGH;;;OAGG;;;;;IAEH;;;OAGG;;;;IAEH;;;OAGG;;IAEH;;OAEG;;;IAjBH;;;OAGG;;;;;IAEH;;;OAGG;;;;IAEH;;;OAGG;;IAEH;;OAEG;;;;;;;;;;;AAlBL,qBAAa,eAAgB,SAAQ,oBAoBnC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,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,YAAY,CAAC,OAAO,GAAG,SAAS,CAAA;QACzD,QAAQ,CAAC,OAAO,EAAE,OAAO,WAAW,CAAC,OAAO,CAAA;KAC7C,KACE,MAAM,CAAC,MAAM,CAChB,OAAO,SAAS,CAAC,IAAI,EACnB,eAAe,CAAC,eAAe,GAC/B,WAAW,CAAC,UAAU,GACtB,WAAW,CAAC,eAAe,EAAE,OAAO,aAAa,CAAC,IAAI,CAAC,GAIvD,WAAW,CAAC,uBAAuB,EAAE,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAE1E,CAAA;IACD;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,CAClB,MAAM,EAAE,MAAM,KACX,MAAM,CAAC,MAAM,CAChB,OAAO,YAAY,CAAC,IAAI,EACtB,eAAe,CAAC,eAAe,GAC/B,WAAW,CAAC,UAAU,GACtB,WAAW,CAAC,eAAe,EAAE,OAAO,aAAa,CAAC,IAAI,CAAC,CAK1D,CAAA;CACF;AAED,MAAM,WAAW,WAAW,CAAC,GAAG,SAAS,MAAM,EAAE,CAAC;IAChD,QAAQ,CAAC,IAAI,EAAE,GAAG,CAAA;IAClB,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC,iBAAiB,CAAA;IACrD,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC,kBAAkB,CAAA;IACxD,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAA;CAClB;AASD,eAAO,MAAM,WAAW,GAAI,GAAG,SAAS,MAAM,EAAE,CAAC,EAC/C,KAAK,GAAG,EACR,OAAO,CAAC,EACR,UAAU,kBAAkB,CAAC,kBAAkB,KAC9C,WAAW,CAAC,GAAG,EAAE,CAAC,CAMV,CAAA"}
@@ -618,14 +618,16 @@ export const make = (httpClient, options = {}) => {
618
618
  reason: 'StatusCode',
619
619
  description: typeof description === 'string' ? description : JSON.stringify(description),
620
620
  })));
621
- const withResponse = options.transformClient
621
+ const withResponse = options.transformClient !== undefined
622
622
  ? (f) => (request) => Effect.flatMap(Effect.flatMap(options.transformClient(httpClient), (client) => client.execute(request)), f)
623
623
  : (f) => (request) => Effect.flatMap(httpClient.execute(request), f);
624
624
  const decodeSuccess = (schema) => (response) => HttpClientResponse.schemaBodyJson(schema)(response);
625
625
  const decodeError = (tag, schema) => (response) => Effect.flatMap(HttpClientResponse.schemaBodyJson(schema)(response), (cause) => Effect.fail(ClientError(tag, cause, response)));
626
626
  return {
627
627
  httpClient,
628
- listAccessTokens: (options) => HttpClientRequest.get(`/access-tokens`).pipe(HttpClientRequest.setUrlParams({
628
+ listAccessTokens: (options) =>
629
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
630
+ HttpClientRequest.get(`/access-tokens`).pipe(HttpClientRequest.setUrlParams({
629
631
  prefix: options?.prefix,
630
632
  start_after: options?.start_after,
631
633
  limit: options?.limit,
@@ -635,20 +637,26 @@ export const make = (httpClient, options = {}) => {
635
637
  '403': decodeError('ErrorResponse', ErrorResponse),
636
638
  orElse: unexpectedStatus,
637
639
  }))),
638
- issueAccessToken: (options) => HttpClientRequest.post(`/access-tokens`).pipe(HttpClientRequest.bodyUnsafeJson(options), withResponse(HttpClientResponse.matchStatus({
640
+ issueAccessToken: (options) =>
641
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
642
+ HttpClientRequest.post(`/access-tokens`).pipe(HttpClientRequest.bodyUnsafeJson(options), withResponse(HttpClientResponse.matchStatus({
639
643
  '2xx': decodeSuccess(IssueAccessTokenResponse),
640
644
  '400': decodeError('ErrorResponse', ErrorResponse),
641
645
  '403': decodeError('ErrorResponse', ErrorResponse),
642
646
  '409': decodeError('ErrorResponse', ErrorResponse),
643
647
  orElse: unexpectedStatus,
644
648
  }))),
645
- revokeAccessToken: (id) => HttpClientRequest.del(`/access-tokens/${id}`).pipe(withResponse(HttpClientResponse.matchStatus({
649
+ revokeAccessToken: (id) =>
650
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
651
+ HttpClientRequest.del(`/access-tokens/${id}`).pipe(withResponse(HttpClientResponse.matchStatus({
646
652
  '400': decodeError('ErrorResponse', ErrorResponse),
647
653
  '403': decodeError('ErrorResponse', ErrorResponse),
648
654
  '200': () => Effect.void,
649
655
  orElse: unexpectedStatus,
650
656
  }))),
651
- listBasins: (options) => HttpClientRequest.get(`/basins`).pipe(HttpClientRequest.setUrlParams({
657
+ listBasins: (options) =>
658
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
659
+ HttpClientRequest.get(`/basins`).pipe(HttpClientRequest.setUrlParams({
652
660
  prefix: options?.prefix,
653
661
  start_after: options?.start_after,
654
662
  limit: options?.limit,
@@ -658,7 +666,9 @@ export const make = (httpClient, options = {}) => {
658
666
  '403': decodeError('ErrorResponse', ErrorResponse),
659
667
  orElse: unexpectedStatus,
660
668
  }))),
661
- createBasin: (options) => HttpClientRequest.post(`/basins`).pipe(HttpClientRequest.bodyUnsafeJson(options), withResponse(HttpClientResponse.matchStatus({
669
+ createBasin: (options) =>
670
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
671
+ HttpClientRequest.post(`/basins`).pipe(HttpClientRequest.bodyUnsafeJson(options), withResponse(HttpClientResponse.matchStatus({
662
672
  '200': decodeSuccess(BasinInfo),
663
673
  '201': decodeSuccess(BasinInfo),
664
674
  '400': decodeError('ErrorResponse', ErrorResponse),
@@ -667,21 +677,27 @@ export const make = (httpClient, options = {}) => {
667
677
  '409': decodeError('ErrorResponse', ErrorResponse),
668
678
  orElse: unexpectedStatus,
669
679
  }))),
670
- getBasinConfig: (basin) => HttpClientRequest.get(`/basins/${basin}`).pipe(withResponse(HttpClientResponse.matchStatus({
680
+ getBasinConfig: (basin) =>
681
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
682
+ HttpClientRequest.get(`/basins/${basin}`).pipe(withResponse(HttpClientResponse.matchStatus({
671
683
  '2xx': decodeSuccess(BasinConfig),
672
684
  '400': decodeError('ErrorResponse', ErrorResponse),
673
685
  '403': decodeError('ErrorResponse', ErrorResponse),
674
686
  '404': decodeError('ErrorResponse', ErrorResponse),
675
687
  orElse: unexpectedStatus,
676
688
  }))),
677
- createOrReconfigureBasin: (basin, options) => HttpClientRequest.put(`/basins/${basin}`).pipe(HttpClientRequest.setHeaders({ 's2-request-token': options.params?.['s2-request-token'] ?? undefined }), HttpClientRequest.bodyUnsafeJson(options.payload), withResponse(HttpClientResponse.matchStatus({
689
+ createOrReconfigureBasin: (basin, options) =>
690
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
691
+ HttpClientRequest.put(`/basins/${basin}`).pipe(HttpClientRequest.setHeaders({ 's2-request-token': options.params?.['s2-request-token'] ?? undefined }), HttpClientRequest.bodyUnsafeJson(options.payload), withResponse(HttpClientResponse.matchStatus({
678
692
  '200': decodeSuccess(BasinInfo),
679
693
  '201': decodeSuccess(BasinInfo),
680
694
  '400': decodeError('ErrorResponse', ErrorResponse),
681
695
  '204': () => Effect.void,
682
696
  orElse: unexpectedStatus,
683
697
  }))),
684
- deleteBasin: (basin) => HttpClientRequest.del(`/basins/${basin}`).pipe(withResponse(HttpClientResponse.matchStatus({
698
+ deleteBasin: (basin) =>
699
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
700
+ HttpClientRequest.del(`/basins/${basin}`).pipe(withResponse(HttpClientResponse.matchStatus({
685
701
  '400': decodeError('ErrorResponse', ErrorResponse),
686
702
  '401': decodeError('ErrorResponse', ErrorResponse),
687
703
  '403': decodeError('ErrorResponse', ErrorResponse),
@@ -689,14 +705,18 @@ export const make = (httpClient, options = {}) => {
689
705
  '202': () => Effect.void,
690
706
  orElse: unexpectedStatus,
691
707
  }))),
692
- reconfigureBasin: (basin, options) => HttpClientRequest.patch(`/basins/${basin}`).pipe(HttpClientRequest.bodyUnsafeJson(options), withResponse(HttpClientResponse.matchStatus({
708
+ reconfigureBasin: (basin, options) =>
709
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
710
+ HttpClientRequest.patch(`/basins/${basin}`).pipe(HttpClientRequest.bodyUnsafeJson(options), withResponse(HttpClientResponse.matchStatus({
693
711
  '2xx': decodeSuccess(BasinConfig),
694
712
  '400': decodeError('ErrorResponse', ErrorResponse),
695
713
  '403': decodeError('ErrorResponse', ErrorResponse),
696
714
  '404': decodeError('ErrorResponse', ErrorResponse),
697
715
  orElse: unexpectedStatus,
698
716
  }))),
699
- accountMetrics: (options) => HttpClientRequest.get(`/metrics`).pipe(HttpClientRequest.setUrlParams({
717
+ accountMetrics: (options) =>
718
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
719
+ HttpClientRequest.get(`/metrics`).pipe(HttpClientRequest.setUrlParams({
700
720
  set: options?.set,
701
721
  start: options?.start,
702
722
  end: options?.end,
@@ -707,7 +727,9 @@ export const make = (httpClient, options = {}) => {
707
727
  '403': decodeError('ErrorResponse', ErrorResponse),
708
728
  orElse: unexpectedStatus,
709
729
  }))),
710
- basinMetrics: (basin, options) => HttpClientRequest.get(`/metrics/${basin}`).pipe(HttpClientRequest.setUrlParams({
730
+ basinMetrics: (basin, options) =>
731
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
732
+ HttpClientRequest.get(`/metrics/${basin}`).pipe(HttpClientRequest.setUrlParams({
711
733
  set: options?.set,
712
734
  start: options?.start,
713
735
  end: options?.end,
@@ -718,7 +740,9 @@ export const make = (httpClient, options = {}) => {
718
740
  '403': decodeError('ErrorResponse', ErrorResponse),
719
741
  orElse: unexpectedStatus,
720
742
  }))),
721
- streamMetrics: (basin, stream, options) => HttpClientRequest.get(`/metrics/${basin}/${stream}`).pipe(HttpClientRequest.setUrlParams({
743
+ streamMetrics: (basin, stream, options) =>
744
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
745
+ HttpClientRequest.get(`/metrics/${basin}/${stream}`).pipe(HttpClientRequest.setUrlParams({
722
746
  set: options?.set,
723
747
  start: options?.start,
724
748
  end: options?.end,
@@ -729,7 +753,9 @@ export const make = (httpClient, options = {}) => {
729
753
  '403': decodeError('ErrorResponse', ErrorResponse),
730
754
  orElse: unexpectedStatus,
731
755
  }))),
732
- listStreams: (options) => HttpClientRequest.get(`/streams`).pipe(HttpClientRequest.setUrlParams({
756
+ listStreams: (options) =>
757
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
758
+ HttpClientRequest.get(`/streams`).pipe(HttpClientRequest.setUrlParams({
733
759
  prefix: options?.prefix,
734
760
  start_after: options?.start_after,
735
761
  limit: options?.limit,
@@ -740,7 +766,9 @@ export const make = (httpClient, options = {}) => {
740
766
  '404': decodeError('ErrorResponse', ErrorResponse),
741
767
  orElse: unexpectedStatus,
742
768
  }))),
743
- createStream: (options) => HttpClientRequest.post(`/streams`).pipe(HttpClientRequest.bodyUnsafeJson(options), withResponse(HttpClientResponse.matchStatus({
769
+ createStream: (options) =>
770
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
771
+ HttpClientRequest.post(`/streams`).pipe(HttpClientRequest.bodyUnsafeJson(options), withResponse(HttpClientResponse.matchStatus({
744
772
  '2xx': decodeSuccess(StreamInfo),
745
773
  '400': decodeError('ErrorResponse', ErrorResponse),
746
774
  '403': decodeError('ErrorResponse', ErrorResponse),
@@ -748,7 +776,9 @@ export const make = (httpClient, options = {}) => {
748
776
  '409': decodeError('ErrorResponse', ErrorResponse),
749
777
  orElse: unexpectedStatus,
750
778
  }))),
751
- getStreamConfig: (stream) => HttpClientRequest.get(`/streams/${stream}`).pipe(withResponse(HttpClientResponse.matchStatus({
779
+ getStreamConfig: (stream) =>
780
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
781
+ HttpClientRequest.get(`/streams/${stream}`).pipe(withResponse(HttpClientResponse.matchStatus({
752
782
  '2xx': decodeSuccess(StreamConfig),
753
783
  '400': decodeError('ErrorResponse', ErrorResponse),
754
784
  '403': decodeError('ErrorResponse', ErrorResponse),
@@ -756,7 +786,9 @@ export const make = (httpClient, options = {}) => {
756
786
  '409': decodeError('ErrorResponse', ErrorResponse),
757
787
  orElse: unexpectedStatus,
758
788
  }))),
759
- createOrReconfigureStream: (stream, options) => HttpClientRequest.put(`/streams/${stream}`).pipe(HttpClientRequest.setHeaders({ 's2-request-token': options.params?.['s2-request-token'] ?? undefined }), HttpClientRequest.bodyUnsafeJson(options.payload), withResponse(HttpClientResponse.matchStatus({
789
+ createOrReconfigureStream: (stream, options) =>
790
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
791
+ HttpClientRequest.put(`/streams/${stream}`).pipe(HttpClientRequest.setHeaders({ 's2-request-token': options.params?.['s2-request-token'] ?? undefined }), HttpClientRequest.bodyUnsafeJson(options.payload), withResponse(HttpClientResponse.matchStatus({
760
792
  '2xx': decodeSuccess(StreamInfo),
761
793
  '400': decodeError('ErrorResponse', ErrorResponse),
762
794
  '403': decodeError('ErrorResponse', ErrorResponse),
@@ -765,14 +797,18 @@ export const make = (httpClient, options = {}) => {
765
797
  '204': () => Effect.void,
766
798
  orElse: unexpectedStatus,
767
799
  }))),
768
- deleteStream: (stream) => HttpClientRequest.del(`/streams/${stream}`).pipe(withResponse(HttpClientResponse.matchStatus({
800
+ deleteStream: (stream) =>
801
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
802
+ HttpClientRequest.del(`/streams/${stream}`).pipe(withResponse(HttpClientResponse.matchStatus({
769
803
  '400': decodeError('ErrorResponse', ErrorResponse),
770
804
  '403': decodeError('ErrorResponse', ErrorResponse),
771
805
  '404': decodeError('ErrorResponse', ErrorResponse),
772
806
  '202': () => Effect.void,
773
807
  orElse: unexpectedStatus,
774
808
  }))),
775
- reconfigureStream: (stream, options) => HttpClientRequest.patch(`/streams/${stream}`).pipe(HttpClientRequest.bodyUnsafeJson(options), withResponse(HttpClientResponse.matchStatus({
809
+ reconfigureStream: (stream, options) =>
810
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
811
+ HttpClientRequest.patch(`/streams/${stream}`).pipe(HttpClientRequest.bodyUnsafeJson(options), withResponse(HttpClientResponse.matchStatus({
776
812
  '2xx': decodeSuccess(StreamConfig),
777
813
  '400': decodeError('ErrorResponse', ErrorResponse),
778
814
  '403': decodeError('ErrorResponse', ErrorResponse),
@@ -780,7 +816,9 @@ export const make = (httpClient, options = {}) => {
780
816
  '409': decodeError('ErrorResponse', ErrorResponse),
781
817
  orElse: unexpectedStatus,
782
818
  }))),
783
- read: (stream, options) => HttpClientRequest.get(`/streams/${stream}/records`).pipe(HttpClientRequest.setUrlParams({
819
+ read: (stream, options) =>
820
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
821
+ HttpClientRequest.get(`/streams/${stream}/records`).pipe(HttpClientRequest.setUrlParams({
784
822
  seq_num: options?.seq_num,
785
823
  timestamp: options?.timestamp,
786
824
  tail_offset: options?.tail_offset,
@@ -798,7 +836,9 @@ export const make = (httpClient, options = {}) => {
798
836
  '500': decodeError('ErrorResponse', ErrorResponse),
799
837
  orElse: unexpectedStatus,
800
838
  }))),
801
- append: (stream, options) => HttpClientRequest.post(`/streams/${stream}/records`).pipe(HttpClientRequest.setHeaders({ 's2-format': options.params?.['s2-format'] ?? undefined }), HttpClientRequest.bodyUnsafeJson(options.payload), withResponse(HttpClientResponse.matchStatus({
839
+ append: (stream, options) =>
840
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
841
+ HttpClientRequest.post(`/streams/${stream}/records`).pipe(HttpClientRequest.setHeaders({ 's2-format': options.params?.['s2-format'] ?? undefined }), HttpClientRequest.bodyUnsafeJson(options.payload), withResponse(HttpClientResponse.matchStatus({
802
842
  '2xx': decodeSuccess(AppendAck),
803
843
  '400': decodeError('ErrorResponse', ErrorResponse),
804
844
  '401': decodeError('ErrorResponse', ErrorResponse),
@@ -808,7 +848,9 @@ export const make = (httpClient, options = {}) => {
808
848
  '500': decodeError('ErrorResponse', ErrorResponse),
809
849
  orElse: unexpectedStatus,
810
850
  }))),
811
- checkTail: (stream) => HttpClientRequest.get(`/streams/${stream}/records/tail`).pipe(withResponse(HttpClientResponse.matchStatus({
851
+ checkTail: (stream) =>
852
+ // @effect-diagnostics-next-line anyUnknownInErrorContext:off
853
+ HttpClientRequest.get(`/streams/${stream}/records/tail`).pipe(withResponse(HttpClientResponse.matchStatus({
812
854
  '2xx': decodeSuccess(TailResponse),
813
855
  '400': decodeError('ErrorResponse', ErrorResponse),
814
856
  '401': decodeError('ErrorResponse', ErrorResponse),