@fireproof/core 0.20.0-dev-preview-12 → 0.20.0-dev-preview-13
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.
- package/index.cjs +2 -1
- package/index.cjs.map +1 -1
- package/index.d.cts +16 -1
- package/index.d.ts +16 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/metafile-cjs.json +1 -1
- package/metafile-esm.json +1 -1
- package/package.json +1 -1
package/index.d.cts
CHANGED
@@ -1532,9 +1532,24 @@ declare namespace index$2 {
|
|
1532
1532
|
export { index$2_KeyBagProviderFile as KeyBagProviderFile, index$2_sysFileSystemFactory as sysFileSystemFactory };
|
1533
1533
|
}
|
1534
1534
|
|
1535
|
+
declare class DefSerdeGateway implements SerdeGateway {
|
1536
|
+
readonly gw: Gateway;
|
1537
|
+
constructor(gw: Gateway);
|
1538
|
+
start(sthis: SuperThis, baseURL: URI): Promise<Result<URI>>;
|
1539
|
+
buildUrl(sthis: SuperThis, baseUrl: URI, key: string): Promise<Result<URI>>;
|
1540
|
+
close(sthis: SuperThis, uri: URI): Promise<Result<void>>;
|
1541
|
+
put<T>(sthis: SuperThis, url: URI, env: FPEnvelope<T>): Promise<Result<void>>;
|
1542
|
+
get<S>(sthis: SuperThis, url: URI): Promise<SerdeGetResult<S>>;
|
1543
|
+
delete(sthis: SuperThis, url: URI): Promise<Result<void>>;
|
1544
|
+
destroy(sthis: SuperThis, baseURL: URI): Promise<Result<void>>;
|
1545
|
+
getPlain(sthis: SuperThis, iurl: URI, key: string): Promise<Result<Uint8Array<ArrayBufferLike>, Error>>;
|
1546
|
+
}
|
1547
|
+
|
1535
1548
|
type index$1_CARDecodeEnvelope = CARDecodeEnvelope;
|
1536
1549
|
type index$1_CAREncodeEnvelope = CAREncodeEnvelope;
|
1537
1550
|
type index$1_Decoder = Decoder;
|
1551
|
+
type index$1_DefSerdeGateway = DefSerdeGateway;
|
1552
|
+
declare const index$1_DefSerdeGateway: typeof DefSerdeGateway;
|
1538
1553
|
type index$1_Encoder = Encoder;
|
1539
1554
|
type index$1_FILEDecodeEnvelope = FILEDecodeEnvelope;
|
1540
1555
|
type index$1_FILEEncodeEnvelope = FILEEncodeEnvelope;
|
@@ -1547,7 +1562,7 @@ type index$1_WALEncodeEnvelope = WALEncodeEnvelope;
|
|
1547
1562
|
declare const index$1_fpDeserialize: typeof fpDeserialize;
|
1548
1563
|
declare const index$1_fpSerialize: typeof fpSerialize;
|
1549
1564
|
declare namespace index$1 {
|
1550
|
-
export { type index$1_CARDecodeEnvelope as CARDecodeEnvelope, type index$1_CAREncodeEnvelope as CAREncodeEnvelope, type index$1_Decoder as Decoder, type index$1_Encoder as Encoder, type index$1_FILEDecodeEnvelope as FILEDecodeEnvelope, type index$1_FILEEncodeEnvelope as FILEEncodeEnvelope, type index$1_METADecodeEnvelope as METADecodeEnvelope, type index$1_METAEncodeEnvelope as METAEncodeEnvelope, type index$1_SerializedMeta as SerializedMeta, type index$1_SerializedWAL as SerializedWAL, type index$1_WALDecodeEnvelope as WALDecodeEnvelope, type index$1_WALEncodeEnvelope as WALEncodeEnvelope, index$2 as file, index$1_fpDeserialize as fpDeserialize, index$1_fpSerialize as fpSerialize };
|
1565
|
+
export { type index$1_CARDecodeEnvelope as CARDecodeEnvelope, type index$1_CAREncodeEnvelope as CAREncodeEnvelope, type index$1_Decoder as Decoder, index$1_DefSerdeGateway as DefSerdeGateway, type index$1_Encoder as Encoder, type index$1_FILEDecodeEnvelope as FILEDecodeEnvelope, type index$1_FILEEncodeEnvelope as FILEEncodeEnvelope, type index$1_METADecodeEnvelope as METADecodeEnvelope, type index$1_METAEncodeEnvelope as METAEncodeEnvelope, type index$1_SerializedMeta as SerializedMeta, type index$1_SerializedWAL as SerializedWAL, type index$1_WALDecodeEnvelope as WALDecodeEnvelope, type index$1_WALEncodeEnvelope as WALEncodeEnvelope, index$2 as file, index$1_fpDeserialize as fpDeserialize, index$1_fpSerialize as fpSerialize };
|
1551
1566
|
}
|
1552
1567
|
|
1553
1568
|
declare const FILESTORE_VERSION = "v0.19-file";
|
package/index.d.ts
CHANGED
@@ -1532,9 +1532,24 @@ declare namespace index$2 {
|
|
1532
1532
|
export { index$2_KeyBagProviderFile as KeyBagProviderFile, index$2_sysFileSystemFactory as sysFileSystemFactory };
|
1533
1533
|
}
|
1534
1534
|
|
1535
|
+
declare class DefSerdeGateway implements SerdeGateway {
|
1536
|
+
readonly gw: Gateway;
|
1537
|
+
constructor(gw: Gateway);
|
1538
|
+
start(sthis: SuperThis, baseURL: URI): Promise<Result<URI>>;
|
1539
|
+
buildUrl(sthis: SuperThis, baseUrl: URI, key: string): Promise<Result<URI>>;
|
1540
|
+
close(sthis: SuperThis, uri: URI): Promise<Result<void>>;
|
1541
|
+
put<T>(sthis: SuperThis, url: URI, env: FPEnvelope<T>): Promise<Result<void>>;
|
1542
|
+
get<S>(sthis: SuperThis, url: URI): Promise<SerdeGetResult<S>>;
|
1543
|
+
delete(sthis: SuperThis, url: URI): Promise<Result<void>>;
|
1544
|
+
destroy(sthis: SuperThis, baseURL: URI): Promise<Result<void>>;
|
1545
|
+
getPlain(sthis: SuperThis, iurl: URI, key: string): Promise<Result<Uint8Array<ArrayBufferLike>, Error>>;
|
1546
|
+
}
|
1547
|
+
|
1535
1548
|
type index$1_CARDecodeEnvelope = CARDecodeEnvelope;
|
1536
1549
|
type index$1_CAREncodeEnvelope = CAREncodeEnvelope;
|
1537
1550
|
type index$1_Decoder = Decoder;
|
1551
|
+
type index$1_DefSerdeGateway = DefSerdeGateway;
|
1552
|
+
declare const index$1_DefSerdeGateway: typeof DefSerdeGateway;
|
1538
1553
|
type index$1_Encoder = Encoder;
|
1539
1554
|
type index$1_FILEDecodeEnvelope = FILEDecodeEnvelope;
|
1540
1555
|
type index$1_FILEEncodeEnvelope = FILEEncodeEnvelope;
|
@@ -1547,7 +1562,7 @@ type index$1_WALEncodeEnvelope = WALEncodeEnvelope;
|
|
1547
1562
|
declare const index$1_fpDeserialize: typeof fpDeserialize;
|
1548
1563
|
declare const index$1_fpSerialize: typeof fpSerialize;
|
1549
1564
|
declare namespace index$1 {
|
1550
|
-
export { type index$1_CARDecodeEnvelope as CARDecodeEnvelope, type index$1_CAREncodeEnvelope as CAREncodeEnvelope, type index$1_Decoder as Decoder, type index$1_Encoder as Encoder, type index$1_FILEDecodeEnvelope as FILEDecodeEnvelope, type index$1_FILEEncodeEnvelope as FILEEncodeEnvelope, type index$1_METADecodeEnvelope as METADecodeEnvelope, type index$1_METAEncodeEnvelope as METAEncodeEnvelope, type index$1_SerializedMeta as SerializedMeta, type index$1_SerializedWAL as SerializedWAL, type index$1_WALDecodeEnvelope as WALDecodeEnvelope, type index$1_WALEncodeEnvelope as WALEncodeEnvelope, index$2 as file, index$1_fpDeserialize as fpDeserialize, index$1_fpSerialize as fpSerialize };
|
1565
|
+
export { type index$1_CARDecodeEnvelope as CARDecodeEnvelope, type index$1_CAREncodeEnvelope as CAREncodeEnvelope, type index$1_Decoder as Decoder, index$1_DefSerdeGateway as DefSerdeGateway, type index$1_Encoder as Encoder, type index$1_FILEDecodeEnvelope as FILEDecodeEnvelope, type index$1_FILEEncodeEnvelope as FILEEncodeEnvelope, type index$1_METADecodeEnvelope as METADecodeEnvelope, type index$1_METAEncodeEnvelope as METAEncodeEnvelope, type index$1_SerializedMeta as SerializedMeta, type index$1_SerializedWAL as SerializedWAL, type index$1_WALDecodeEnvelope as WALDecodeEnvelope, type index$1_WALEncodeEnvelope as WALEncodeEnvelope, index$2 as file, index$1_fpDeserialize as fpDeserialize, index$1_fpSerialize as fpSerialize };
|
1551
1566
|
}
|
1552
1567
|
|
1553
1568
|
declare const FILESTORE_VERSION = "v0.19-file";
|
package/index.js
CHANGED
@@ -4598,6 +4598,7 @@ import { runtimeFn as runtimeFn4 } from "@adviser/cement";
|
|
4598
4598
|
// src/runtime/gateways/index.ts
|
4599
4599
|
var gateways_exports = {};
|
4600
4600
|
__export(gateways_exports, {
|
4601
|
+
DefSerdeGateway: () => DefSerdeGateway,
|
4601
4602
|
file: () => file_exports,
|
4602
4603
|
fpDeserialize: () => fpDeserialize,
|
4603
4604
|
fpSerialize: () => fpSerialize
|
@@ -4612,7 +4613,7 @@ __export(file_exports, {
|
|
4612
4613
|
|
4613
4614
|
// src/version.ts
|
4614
4615
|
var PACKAGE_VERSION = Object.keys({
|
4615
|
-
"0.20.0-dev-preview-
|
4616
|
+
"0.20.0-dev-preview-13": "xxxx"
|
4616
4617
|
})[0];
|
4617
4618
|
export {
|
4618
4619
|
CRDTImpl,
|