js.documents 1.95.5 → 1.96.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.
- package/dist/firebird/backup.cjs +0 -2
- package/dist/firebird/backup.d.cts +1 -3
- package/dist/firebird/backup.d.ts +1 -3
- package/dist/firebird/backup.js +2 -2
- package/dist/firebird/data.d.cts +2 -2
- package/dist/firebird/data.d.ts +2 -2
- package/dist/firebird/reader.d.cts +40 -1
- package/dist/firebird/reader.d.ts +40 -1
- package/dist/firebird/schema.d.cts +23 -1
- package/dist/firebird/schema.d.ts +23 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +2 -2
- package/dist/reader-DP0Mbaj4.d.cts +0 -41
- package/dist/reader-DP0Mbaj4.d.ts +0 -41
- package/dist/schema-BeR_KJ0X.d.cts +0 -24
- package/dist/schema-CSKwSb_v.d.ts +0 -24
package/dist/firebird/backup.cjs
CHANGED
|
@@ -144,7 +144,5 @@ function readFirebirdBackup(bytes) {
|
|
|
144
144
|
}
|
|
145
145
|
//#endregion
|
|
146
146
|
exports.FirebirdBackupFormatError = FirebirdBackupFormatError;
|
|
147
|
-
exports.FirebirdCompositeRecordUnsupportedError = require_firebird_data.FirebirdCompositeRecordUnsupportedError;
|
|
148
|
-
exports.FirebirdSchemaParseError = require_firebird_schema.FirebirdSchemaParseError;
|
|
149
147
|
exports.SUPPORTED_BACKUP_FORMAT_VERSION = SUPPORTED_BACKUP_FORMAT_VERSION;
|
|
150
148
|
exports.readFirebirdBackup = readFirebirdBackup;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { r as HsqldbTable } from "../script-DsGGIzGU.cjs";
|
|
2
|
-
import { r as FirebirdSchemaParseError } from "../schema-BeR_KJ0X.cjs";
|
|
3
|
-
import { FirebirdCompositeRecordUnsupportedError } from "./data.cjs";
|
|
4
2
|
//#region src/firebird/backup.d.ts
|
|
5
3
|
declare class FirebirdBackupFormatError extends Error {
|
|
6
4
|
constructor(message: string);
|
|
@@ -18,4 +16,4 @@ interface ReadFirebirdBackupResult {
|
|
|
18
16
|
}
|
|
19
17
|
declare function readFirebirdBackup(bytes: Uint8Array<ArrayBuffer>): ReadFirebirdBackupResult;
|
|
20
18
|
//#endregion
|
|
21
|
-
export { FirebirdBackupFormatError, FirebirdBackupSummary,
|
|
19
|
+
export { FirebirdBackupFormatError, FirebirdBackupSummary, ReadFirebirdBackupResult, SUPPORTED_BACKUP_FORMAT_VERSION, readFirebirdBackup };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { r as HsqldbTable } from "../script-DsGGIzGU.js";
|
|
2
|
-
import { r as FirebirdSchemaParseError } from "../schema-CSKwSb_v.js";
|
|
3
|
-
import { FirebirdCompositeRecordUnsupportedError } from "./data.js";
|
|
4
2
|
//#region src/firebird/backup.d.ts
|
|
5
3
|
declare class FirebirdBackupFormatError extends Error {
|
|
6
4
|
constructor(message: string);
|
|
@@ -18,4 +16,4 @@ interface ReadFirebirdBackupResult {
|
|
|
18
16
|
}
|
|
19
17
|
declare function readFirebirdBackup(bytes: Uint8Array<ArrayBuffer>): ReadFirebirdBackupResult;
|
|
20
18
|
//#endregion
|
|
21
|
-
export { FirebirdBackupFormatError, FirebirdBackupSummary,
|
|
19
|
+
export { FirebirdBackupFormatError, FirebirdBackupSummary, ReadFirebirdBackupResult, SUPPORTED_BACKUP_FORMAT_VERSION, readFirebirdBackup };
|
package/dist/firebird/backup.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FirebirdBackupReader } from "./reader.js";
|
|
2
|
-
import {
|
|
2
|
+
import { readRelationSchema } from "./schema.js";
|
|
3
3
|
import { FirebirdCompositeRecordUnsupportedError, readRelationData } from "./data.js";
|
|
4
4
|
//#region src/firebird/backup.ts
|
|
5
5
|
const REC_DATABASE = 1;
|
|
@@ -142,4 +142,4 @@ function readFirebirdBackup(bytes) {
|
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
//#endregion
|
|
145
|
-
export { FirebirdBackupFormatError,
|
|
145
|
+
export { FirebirdBackupFormatError, SUPPORTED_BACKUP_FORMAT_VERSION, readFirebirdBackup };
|
package/dist/firebird/data.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { FirebirdBackupReader } from "./reader.cjs";
|
|
2
|
+
import { FirebirdField, FirebirdRelation } from "./schema.cjs";
|
|
3
3
|
import { ContentCellValue } from "document-schema.js";
|
|
4
4
|
//#region src/firebird/data.d.ts
|
|
5
5
|
declare class FirebirdDataParseError extends Error {
|
package/dist/firebird/data.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { FirebirdBackupReader } from "./reader.js";
|
|
2
|
+
import { FirebirdField, FirebirdRelation } from "./schema.js";
|
|
3
3
|
import { ContentCellValue } from "document-schema.js";
|
|
4
4
|
//#region src/firebird/data.d.ts
|
|
5
5
|
declare class FirebirdDataParseError extends Error {
|
|
@@ -1,2 +1,41 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/firebird/reader.d.ts
|
|
2
|
+
declare class FirebirdBackupParseError extends Error {
|
|
3
|
+
readonly offset: number;
|
|
4
|
+
constructor(message: string, offset: number);
|
|
5
|
+
}
|
|
6
|
+
declare class FirebirdBackupReader {
|
|
7
|
+
private readonly bytes;
|
|
8
|
+
private position;
|
|
9
|
+
constructor(bytes: Uint8Array<ArrayBuffer>);
|
|
10
|
+
get offset(): number;
|
|
11
|
+
atEnd(): boolean;
|
|
12
|
+
readTag(): number;
|
|
13
|
+
peekTag(): number | undefined;
|
|
14
|
+
private readLengthByte;
|
|
15
|
+
private readRawBytes;
|
|
16
|
+
readAttributeBytes(): Uint8Array<ArrayBuffer>;
|
|
17
|
+
readInt32Attribute(): number;
|
|
18
|
+
readTextAttribute(): string;
|
|
19
|
+
skipAttributeValue(): void;
|
|
20
|
+
skipFlatRecordAttributes(): void;
|
|
21
|
+
readRawPayload(length: number): Uint8Array<ArrayBuffer>;
|
|
22
|
+
readBlobSegmentLength(): number;
|
|
23
|
+
private readSignedByte;
|
|
24
|
+
readCompressedPayload(decompressedLength: number): Uint8Array<ArrayBuffer>;
|
|
25
|
+
}
|
|
26
|
+
declare class XdrReader {
|
|
27
|
+
private readonly bytes;
|
|
28
|
+
private position;
|
|
29
|
+
private readonly end;
|
|
30
|
+
constructor(bytes: Uint8Array<ArrayBuffer>, start?: number, end?: number);
|
|
31
|
+
get offset(): number;
|
|
32
|
+
atEnd(): boolean;
|
|
33
|
+
readInt32(): number;
|
|
34
|
+
readInt16(): number;
|
|
35
|
+
readInt64(): bigint;
|
|
36
|
+
readDouble(): number;
|
|
37
|
+
readFloat(): number;
|
|
38
|
+
readOpaque(len: number): Uint8Array<ArrayBuffer>;
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
2
41
|
export { FirebirdBackupParseError, FirebirdBackupReader, XdrReader };
|
|
@@ -1,2 +1,41 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/firebird/reader.d.ts
|
|
2
|
+
declare class FirebirdBackupParseError extends Error {
|
|
3
|
+
readonly offset: number;
|
|
4
|
+
constructor(message: string, offset: number);
|
|
5
|
+
}
|
|
6
|
+
declare class FirebirdBackupReader {
|
|
7
|
+
private readonly bytes;
|
|
8
|
+
private position;
|
|
9
|
+
constructor(bytes: Uint8Array<ArrayBuffer>);
|
|
10
|
+
get offset(): number;
|
|
11
|
+
atEnd(): boolean;
|
|
12
|
+
readTag(): number;
|
|
13
|
+
peekTag(): number | undefined;
|
|
14
|
+
private readLengthByte;
|
|
15
|
+
private readRawBytes;
|
|
16
|
+
readAttributeBytes(): Uint8Array<ArrayBuffer>;
|
|
17
|
+
readInt32Attribute(): number;
|
|
18
|
+
readTextAttribute(): string;
|
|
19
|
+
skipAttributeValue(): void;
|
|
20
|
+
skipFlatRecordAttributes(): void;
|
|
21
|
+
readRawPayload(length: number): Uint8Array<ArrayBuffer>;
|
|
22
|
+
readBlobSegmentLength(): number;
|
|
23
|
+
private readSignedByte;
|
|
24
|
+
readCompressedPayload(decompressedLength: number): Uint8Array<ArrayBuffer>;
|
|
25
|
+
}
|
|
26
|
+
declare class XdrReader {
|
|
27
|
+
private readonly bytes;
|
|
28
|
+
private position;
|
|
29
|
+
private readonly end;
|
|
30
|
+
constructor(bytes: Uint8Array<ArrayBuffer>, start?: number, end?: number);
|
|
31
|
+
get offset(): number;
|
|
32
|
+
atEnd(): boolean;
|
|
33
|
+
readInt32(): number;
|
|
34
|
+
readInt16(): number;
|
|
35
|
+
readInt64(): bigint;
|
|
36
|
+
readDouble(): number;
|
|
37
|
+
readFloat(): number;
|
|
38
|
+
readOpaque(len: number): Uint8Array<ArrayBuffer>;
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
2
41
|
export { FirebirdBackupParseError, FirebirdBackupReader, XdrReader };
|
|
@@ -1,2 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as FirebirdPhysicalType } from "../blr-types-DVgO1DQ9.cjs";
|
|
2
|
+
import { FirebirdBackupReader } from "./reader.cjs";
|
|
3
|
+
//#region src/firebird/schema.d.ts
|
|
4
|
+
interface FirebirdField {
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly physicalType: FirebirdPhysicalType;
|
|
7
|
+
readonly lengthBytes: number;
|
|
8
|
+
readonly scale: number;
|
|
9
|
+
readonly characterLength: number | undefined;
|
|
10
|
+
readonly subType: number;
|
|
11
|
+
readonly fieldNumber: number | undefined;
|
|
12
|
+
readonly typeLabel: string;
|
|
13
|
+
readonly computed: boolean;
|
|
14
|
+
}
|
|
15
|
+
interface FirebirdRelation {
|
|
16
|
+
readonly name: string;
|
|
17
|
+
readonly fields: readonly FirebirdField[];
|
|
18
|
+
}
|
|
19
|
+
declare class FirebirdSchemaParseError extends Error {
|
|
20
|
+
constructor(message: string);
|
|
21
|
+
}
|
|
22
|
+
declare function readRelationSchema(reader: FirebirdBackupReader, onUnhandledNested: (recordType: number) => never): FirebirdRelation;
|
|
23
|
+
//#endregion
|
|
2
24
|
export { FirebirdField, FirebirdRelation, FirebirdSchemaParseError, readRelationSchema };
|
|
@@ -1,2 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as FirebirdPhysicalType } from "../blr-types-DVgO1DQ9.js";
|
|
2
|
+
import { FirebirdBackupReader } from "./reader.js";
|
|
3
|
+
//#region src/firebird/schema.d.ts
|
|
4
|
+
interface FirebirdField {
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly physicalType: FirebirdPhysicalType;
|
|
7
|
+
readonly lengthBytes: number;
|
|
8
|
+
readonly scale: number;
|
|
9
|
+
readonly characterLength: number | undefined;
|
|
10
|
+
readonly subType: number;
|
|
11
|
+
readonly fieldNumber: number | undefined;
|
|
12
|
+
readonly typeLabel: string;
|
|
13
|
+
readonly computed: boolean;
|
|
14
|
+
}
|
|
15
|
+
interface FirebirdRelation {
|
|
16
|
+
readonly name: string;
|
|
17
|
+
readonly fields: readonly FirebirdField[];
|
|
18
|
+
}
|
|
19
|
+
declare class FirebirdSchemaParseError extends Error {
|
|
20
|
+
constructor(message: string);
|
|
21
|
+
}
|
|
22
|
+
declare function readRelationSchema(reader: FirebirdBackupReader, onUnhandledNested: (recordType: number) => never): FirebirdRelation;
|
|
23
|
+
//#endregion
|
|
2
24
|
export { FirebirdField, FirebirdRelation, FirebirdSchemaParseError, readRelationSchema };
|
package/dist/index.d.cts
CHANGED
|
@@ -57,11 +57,11 @@ import { PptxSlide, SlideImageInit as SlideImageInit$1, SlideTableInit as SlideT
|
|
|
57
57
|
import { CreatePptxOptions, PptxEditor, createPptx, openPptx } from "./edit/pptx/editor.cjs";
|
|
58
58
|
import { CreateEmptyPptxPackageOptions } from "./edit/pptx/scaffold.cjs";
|
|
59
59
|
import { a as parseHsqldbScript, i as displayTextFor, n as HsqldbScriptParseError, r as HsqldbTable, t as HsqldbColumn } from "./script-DsGGIzGU.cjs";
|
|
60
|
-
import {
|
|
60
|
+
import { FirebirdBackupFormatError, FirebirdBackupSummary, ReadFirebirdBackupResult, SUPPORTED_BACKUP_FORMAT_VERSION, readFirebirdBackup } from "./firebird/backup.cjs";
|
|
61
61
|
import { D as FirebirdUnsupportedFieldTypeError } from "./blr-types-DVgO1DQ9.cjs";
|
|
62
|
-
import {
|
|
62
|
+
import { FirebirdBackupParseError } from "./firebird/reader.cjs";
|
|
63
|
+
import { FirebirdSchemaParseError } from "./firebird/schema.cjs";
|
|
63
64
|
import { FirebirdCompositeRecordUnsupportedError, FirebirdDataParseError } from "./firebird/data.cjs";
|
|
64
|
-
import { FirebirdBackupFormatError, FirebirdBackupSummary, ReadFirebirdBackupResult, SUPPORTED_BACKUP_FORMAT_VERSION, readFirebirdBackup } from "./firebird/backup.cjs";
|
|
65
65
|
import { FontDeobfuscationError, deobfuscateEmbeddedFont, deriveFontKey, looksLikeSfnt } from "./fonts/obfuscation.cjs";
|
|
66
66
|
import { OdfEmbeddedFontError, extractOdfEmbeddedFonts } from "./fonts/odf.cjs";
|
|
67
67
|
import { OoxmlEmbeddedFontError, extractOoxmlEmbeddedFonts } from "./fonts/ooxml.cjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -57,11 +57,11 @@ import { PptxSlide, SlideImageInit as SlideImageInit$1, SlideTableInit as SlideT
|
|
|
57
57
|
import { CreatePptxOptions, PptxEditor, createPptx, openPptx } from "./edit/pptx/editor.js";
|
|
58
58
|
import { CreateEmptyPptxPackageOptions } from "./edit/pptx/scaffold.js";
|
|
59
59
|
import { a as parseHsqldbScript, i as displayTextFor, n as HsqldbScriptParseError, r as HsqldbTable, t as HsqldbColumn } from "./script-DsGGIzGU.js";
|
|
60
|
-
import {
|
|
60
|
+
import { FirebirdBackupFormatError, FirebirdBackupSummary, ReadFirebirdBackupResult, SUPPORTED_BACKUP_FORMAT_VERSION, readFirebirdBackup } from "./firebird/backup.js";
|
|
61
61
|
import { D as FirebirdUnsupportedFieldTypeError } from "./blr-types-DVgO1DQ9.js";
|
|
62
|
-
import {
|
|
62
|
+
import { FirebirdBackupParseError } from "./firebird/reader.js";
|
|
63
|
+
import { FirebirdSchemaParseError } from "./firebird/schema.js";
|
|
63
64
|
import { FirebirdCompositeRecordUnsupportedError, FirebirdDataParseError } from "./firebird/data.js";
|
|
64
|
-
import { FirebirdBackupFormatError, FirebirdBackupSummary, ReadFirebirdBackupResult, SUPPORTED_BACKUP_FORMAT_VERSION, readFirebirdBackup } from "./firebird/backup.js";
|
|
65
65
|
import { FontDeobfuscationError, deobfuscateEmbeddedFont, deriveFontKey, looksLikeSfnt } from "./fonts/obfuscation.js";
|
|
66
66
|
import { OdfEmbeddedFontError, extractOdfEmbeddedFonts } from "./fonts/odf.js";
|
|
67
67
|
import { OoxmlEmbeddedFontError, extractOoxmlEmbeddedFonts } from "./fonts/ooxml.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "js.documents",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.96.0",
|
|
4
4
|
"description": "Bidirectional docx/pptx <-> PDF conversion and a read+write editable OOXML document model, built on ooxml.js and Zod 4 codecs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"markdown-codec": "^1.2.4",
|
|
65
65
|
"odf.js": "^2.4.22",
|
|
66
66
|
"ooxml.js": "^2.9.4",
|
|
67
|
-
"pdf-codec": "^2.1.
|
|
67
|
+
"pdf-codec": "^2.1.3",
|
|
68
68
|
"zod": "^4.4.3"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
//#region src/firebird/reader.d.ts
|
|
2
|
-
declare class FirebirdBackupParseError extends Error {
|
|
3
|
-
readonly offset: number;
|
|
4
|
-
constructor(message: string, offset: number);
|
|
5
|
-
}
|
|
6
|
-
declare class FirebirdBackupReader {
|
|
7
|
-
private readonly bytes;
|
|
8
|
-
private position;
|
|
9
|
-
constructor(bytes: Uint8Array<ArrayBuffer>);
|
|
10
|
-
get offset(): number;
|
|
11
|
-
atEnd(): boolean;
|
|
12
|
-
readTag(): number;
|
|
13
|
-
peekTag(): number | undefined;
|
|
14
|
-
private readLengthByte;
|
|
15
|
-
private readRawBytes;
|
|
16
|
-
readAttributeBytes(): Uint8Array<ArrayBuffer>;
|
|
17
|
-
readInt32Attribute(): number;
|
|
18
|
-
readTextAttribute(): string;
|
|
19
|
-
skipAttributeValue(): void;
|
|
20
|
-
skipFlatRecordAttributes(): void;
|
|
21
|
-
readRawPayload(length: number): Uint8Array<ArrayBuffer>;
|
|
22
|
-
readBlobSegmentLength(): number;
|
|
23
|
-
private readSignedByte;
|
|
24
|
-
readCompressedPayload(decompressedLength: number): Uint8Array<ArrayBuffer>;
|
|
25
|
-
}
|
|
26
|
-
declare class XdrReader {
|
|
27
|
-
private readonly bytes;
|
|
28
|
-
private position;
|
|
29
|
-
private readonly end;
|
|
30
|
-
constructor(bytes: Uint8Array<ArrayBuffer>, start?: number, end?: number);
|
|
31
|
-
get offset(): number;
|
|
32
|
-
atEnd(): boolean;
|
|
33
|
-
readInt32(): number;
|
|
34
|
-
readInt16(): number;
|
|
35
|
-
readInt64(): bigint;
|
|
36
|
-
readDouble(): number;
|
|
37
|
-
readFloat(): number;
|
|
38
|
-
readOpaque(len: number): Uint8Array<ArrayBuffer>;
|
|
39
|
-
}
|
|
40
|
-
//#endregion
|
|
41
|
-
export { FirebirdBackupReader as n, XdrReader as r, FirebirdBackupParseError as t };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
//#region src/firebird/reader.d.ts
|
|
2
|
-
declare class FirebirdBackupParseError extends Error {
|
|
3
|
-
readonly offset: number;
|
|
4
|
-
constructor(message: string, offset: number);
|
|
5
|
-
}
|
|
6
|
-
declare class FirebirdBackupReader {
|
|
7
|
-
private readonly bytes;
|
|
8
|
-
private position;
|
|
9
|
-
constructor(bytes: Uint8Array<ArrayBuffer>);
|
|
10
|
-
get offset(): number;
|
|
11
|
-
atEnd(): boolean;
|
|
12
|
-
readTag(): number;
|
|
13
|
-
peekTag(): number | undefined;
|
|
14
|
-
private readLengthByte;
|
|
15
|
-
private readRawBytes;
|
|
16
|
-
readAttributeBytes(): Uint8Array<ArrayBuffer>;
|
|
17
|
-
readInt32Attribute(): number;
|
|
18
|
-
readTextAttribute(): string;
|
|
19
|
-
skipAttributeValue(): void;
|
|
20
|
-
skipFlatRecordAttributes(): void;
|
|
21
|
-
readRawPayload(length: number): Uint8Array<ArrayBuffer>;
|
|
22
|
-
readBlobSegmentLength(): number;
|
|
23
|
-
private readSignedByte;
|
|
24
|
-
readCompressedPayload(decompressedLength: number): Uint8Array<ArrayBuffer>;
|
|
25
|
-
}
|
|
26
|
-
declare class XdrReader {
|
|
27
|
-
private readonly bytes;
|
|
28
|
-
private position;
|
|
29
|
-
private readonly end;
|
|
30
|
-
constructor(bytes: Uint8Array<ArrayBuffer>, start?: number, end?: number);
|
|
31
|
-
get offset(): number;
|
|
32
|
-
atEnd(): boolean;
|
|
33
|
-
readInt32(): number;
|
|
34
|
-
readInt16(): number;
|
|
35
|
-
readInt64(): bigint;
|
|
36
|
-
readDouble(): number;
|
|
37
|
-
readFloat(): number;
|
|
38
|
-
readOpaque(len: number): Uint8Array<ArrayBuffer>;
|
|
39
|
-
}
|
|
40
|
-
//#endregion
|
|
41
|
-
export { FirebirdBackupReader as n, XdrReader as r, FirebirdBackupParseError as t };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { n as FirebirdBackupReader } from "./reader-DP0Mbaj4.cjs";
|
|
2
|
-
import { E as FirebirdPhysicalType } from "./blr-types-DVgO1DQ9.cjs";
|
|
3
|
-
//#region src/firebird/schema.d.ts
|
|
4
|
-
interface FirebirdField {
|
|
5
|
-
readonly name: string;
|
|
6
|
-
readonly physicalType: FirebirdPhysicalType;
|
|
7
|
-
readonly lengthBytes: number;
|
|
8
|
-
readonly scale: number;
|
|
9
|
-
readonly characterLength: number | undefined;
|
|
10
|
-
readonly subType: number;
|
|
11
|
-
readonly fieldNumber: number | undefined;
|
|
12
|
-
readonly typeLabel: string;
|
|
13
|
-
readonly computed: boolean;
|
|
14
|
-
}
|
|
15
|
-
interface FirebirdRelation {
|
|
16
|
-
readonly name: string;
|
|
17
|
-
readonly fields: readonly FirebirdField[];
|
|
18
|
-
}
|
|
19
|
-
declare class FirebirdSchemaParseError extends Error {
|
|
20
|
-
constructor(message: string);
|
|
21
|
-
}
|
|
22
|
-
declare function readRelationSchema(reader: FirebirdBackupReader, onUnhandledNested: (recordType: number) => never): FirebirdRelation;
|
|
23
|
-
//#endregion
|
|
24
|
-
export { readRelationSchema as i, FirebirdRelation as n, FirebirdSchemaParseError as r, FirebirdField as t };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { n as FirebirdBackupReader } from "./reader-DP0Mbaj4.js";
|
|
2
|
-
import { E as FirebirdPhysicalType } from "./blr-types-DVgO1DQ9.js";
|
|
3
|
-
//#region src/firebird/schema.d.ts
|
|
4
|
-
interface FirebirdField {
|
|
5
|
-
readonly name: string;
|
|
6
|
-
readonly physicalType: FirebirdPhysicalType;
|
|
7
|
-
readonly lengthBytes: number;
|
|
8
|
-
readonly scale: number;
|
|
9
|
-
readonly characterLength: number | undefined;
|
|
10
|
-
readonly subType: number;
|
|
11
|
-
readonly fieldNumber: number | undefined;
|
|
12
|
-
readonly typeLabel: string;
|
|
13
|
-
readonly computed: boolean;
|
|
14
|
-
}
|
|
15
|
-
interface FirebirdRelation {
|
|
16
|
-
readonly name: string;
|
|
17
|
-
readonly fields: readonly FirebirdField[];
|
|
18
|
-
}
|
|
19
|
-
declare class FirebirdSchemaParseError extends Error {
|
|
20
|
-
constructor(message: string);
|
|
21
|
-
}
|
|
22
|
-
declare function readRelationSchema(reader: FirebirdBackupReader, onUnhandledNested: (recordType: number) => never): FirebirdRelation;
|
|
23
|
-
//#endregion
|
|
24
|
-
export { readRelationSchema as i, FirebirdRelation as n, FirebirdSchemaParseError as r, FirebirdField as t };
|