@aiquants/enrichment-core 0.5.1 → 0.7.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/README.md +10 -5
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +28 -2
- package/dist/index.d.ts +28 -2
- package/dist/index.js +1 -1
- package/package.json +4 -2
package/dist/index.d.cts
CHANGED
|
@@ -12591,6 +12591,10 @@ declare const SYSTEM_PARAMETER_RANGES: {
|
|
|
12591
12591
|
min: number;
|
|
12592
12592
|
max: number;
|
|
12593
12593
|
}>;
|
|
12594
|
+
readonly CHILD_TREE_MAX_SECONDS: Readonly<{
|
|
12595
|
+
min: number;
|
|
12596
|
+
max: number;
|
|
12597
|
+
}>;
|
|
12594
12598
|
readonly ARCHIVE_MAX_MEMBER_BYTES: Readonly<{
|
|
12595
12599
|
min: number;
|
|
12596
12600
|
max: number;
|
|
@@ -12599,12 +12603,22 @@ declare const SYSTEM_PARAMETER_RANGES: {
|
|
|
12599
12603
|
min: number;
|
|
12600
12604
|
max: number;
|
|
12601
12605
|
}>;
|
|
12606
|
+
readonly ARCHIVE_READER_MAX_MEMORY_BYTES: Readonly<{
|
|
12607
|
+
min: number;
|
|
12608
|
+
max: number;
|
|
12609
|
+
}>;
|
|
12610
|
+
readonly ARCHIVE_READER_MAX_SECONDS: Readonly<{
|
|
12611
|
+
min: number;
|
|
12612
|
+
max: number;
|
|
12613
|
+
}>;
|
|
12602
12614
|
};
|
|
12603
12615
|
type SystemParameterRangeKey = keyof typeof SYSTEM_PARAMETER_RANGES;
|
|
12604
12616
|
declare const assertSystemParameterInRange: (key: string, value: number) => void;
|
|
12605
12617
|
declare const assertBoundedSystemParameter: (key: SystemParameterRangeKey, value: number) => void;
|
|
12606
12618
|
declare const PROTECTION_FORMATS: readonly [
|
|
12607
12619
|
"zip",
|
|
12620
|
+
"7z",
|
|
12621
|
+
"rar",
|
|
12608
12622
|
"pdf",
|
|
12609
12623
|
"ooxml",
|
|
12610
12624
|
"legacy_office"
|
|
@@ -12612,6 +12626,8 @@ declare const PROTECTION_FORMATS: readonly [
|
|
|
12612
12626
|
type ProtectionFormat = (typeof PROTECTION_FORMATS)[number];
|
|
12613
12627
|
declare const ProtectionFormatSchema: z.ZodEnum<[
|
|
12614
12628
|
"zip",
|
|
12629
|
+
"7z",
|
|
12630
|
+
"rar",
|
|
12615
12631
|
"pdf",
|
|
12616
12632
|
"ooxml",
|
|
12617
12633
|
"legacy_office"
|
|
@@ -12619,6 +12635,8 @@ declare const ProtectionFormatSchema: z.ZodEnum<[
|
|
|
12619
12635
|
declare const REMOVABLE_PROTECTION_SCHEMES: readonly [
|
|
12620
12636
|
"zipcrypto",
|
|
12621
12637
|
"aes",
|
|
12638
|
+
"7z_aes",
|
|
12639
|
+
"rar_encryption",
|
|
12622
12640
|
"pdf_user_password",
|
|
12623
12641
|
"pdf_owner_password",
|
|
12624
12642
|
"office_encryption"
|
|
@@ -12627,6 +12645,8 @@ type RemovableProtectionScheme = (typeof REMOVABLE_PROTECTION_SCHEMES)[number];
|
|
|
12627
12645
|
declare const RemovableProtectionSchemeSchema: z.ZodEnum<[
|
|
12628
12646
|
"zipcrypto",
|
|
12629
12647
|
"aes",
|
|
12648
|
+
"7z_aes",
|
|
12649
|
+
"rar_encryption",
|
|
12630
12650
|
"pdf_user_password",
|
|
12631
12651
|
"pdf_owner_password",
|
|
12632
12652
|
"office_encryption"
|
|
@@ -12634,6 +12654,8 @@ declare const RemovableProtectionSchemeSchema: z.ZodEnum<[
|
|
|
12634
12654
|
declare const PROTECTION_SCHEMES: readonly [
|
|
12635
12655
|
"zipcrypto",
|
|
12636
12656
|
"aes",
|
|
12657
|
+
"7z_aes",
|
|
12658
|
+
"rar_encryption",
|
|
12637
12659
|
"pdf_user_password",
|
|
12638
12660
|
"pdf_owner_password",
|
|
12639
12661
|
"office_encryption",
|
|
@@ -12643,6 +12665,8 @@ type ProtectionScheme = (typeof PROTECTION_SCHEMES)[number];
|
|
|
12643
12665
|
declare const ProtectionSchemeSchema: z.ZodEnum<[
|
|
12644
12666
|
"zipcrypto",
|
|
12645
12667
|
"aes",
|
|
12668
|
+
"7z_aes",
|
|
12669
|
+
"rar_encryption",
|
|
12646
12670
|
"pdf_user_password",
|
|
12647
12671
|
"pdf_owner_password",
|
|
12648
12672
|
"office_encryption",
|
|
@@ -12667,14 +12691,16 @@ declare const COPY_REASONS: readonly [
|
|
|
12667
12691
|
"permission_denied",
|
|
12668
12692
|
"immutable_source",
|
|
12669
12693
|
"foreign_application",
|
|
12670
|
-
"local_source"
|
|
12694
|
+
"local_source",
|
|
12695
|
+
"format_changed"
|
|
12671
12696
|
];
|
|
12672
12697
|
type CopyReason = (typeof COPY_REASONS)[number];
|
|
12673
12698
|
declare const CopyReasonSchema: z.ZodEnum<[
|
|
12674
12699
|
"permission_denied",
|
|
12675
12700
|
"immutable_source",
|
|
12676
12701
|
"foreign_application",
|
|
12677
|
-
"local_source"
|
|
12702
|
+
"local_source",
|
|
12703
|
+
"format_changed"
|
|
12678
12704
|
]>;
|
|
12679
12705
|
declare const COPY_REASON_LABELS: Readonly<Record<CopyReason, string>>;
|
|
12680
12706
|
declare const isPromotable: (reason: CopyReason) => boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -12591,6 +12591,10 @@ declare const SYSTEM_PARAMETER_RANGES: {
|
|
|
12591
12591
|
min: number;
|
|
12592
12592
|
max: number;
|
|
12593
12593
|
}>;
|
|
12594
|
+
readonly CHILD_TREE_MAX_SECONDS: Readonly<{
|
|
12595
|
+
min: number;
|
|
12596
|
+
max: number;
|
|
12597
|
+
}>;
|
|
12594
12598
|
readonly ARCHIVE_MAX_MEMBER_BYTES: Readonly<{
|
|
12595
12599
|
min: number;
|
|
12596
12600
|
max: number;
|
|
@@ -12599,12 +12603,22 @@ declare const SYSTEM_PARAMETER_RANGES: {
|
|
|
12599
12603
|
min: number;
|
|
12600
12604
|
max: number;
|
|
12601
12605
|
}>;
|
|
12606
|
+
readonly ARCHIVE_READER_MAX_MEMORY_BYTES: Readonly<{
|
|
12607
|
+
min: number;
|
|
12608
|
+
max: number;
|
|
12609
|
+
}>;
|
|
12610
|
+
readonly ARCHIVE_READER_MAX_SECONDS: Readonly<{
|
|
12611
|
+
min: number;
|
|
12612
|
+
max: number;
|
|
12613
|
+
}>;
|
|
12602
12614
|
};
|
|
12603
12615
|
type SystemParameterRangeKey = keyof typeof SYSTEM_PARAMETER_RANGES;
|
|
12604
12616
|
declare const assertSystemParameterInRange: (key: string, value: number) => void;
|
|
12605
12617
|
declare const assertBoundedSystemParameter: (key: SystemParameterRangeKey, value: number) => void;
|
|
12606
12618
|
declare const PROTECTION_FORMATS: readonly [
|
|
12607
12619
|
"zip",
|
|
12620
|
+
"7z",
|
|
12621
|
+
"rar",
|
|
12608
12622
|
"pdf",
|
|
12609
12623
|
"ooxml",
|
|
12610
12624
|
"legacy_office"
|
|
@@ -12612,6 +12626,8 @@ declare const PROTECTION_FORMATS: readonly [
|
|
|
12612
12626
|
type ProtectionFormat = (typeof PROTECTION_FORMATS)[number];
|
|
12613
12627
|
declare const ProtectionFormatSchema: z.ZodEnum<[
|
|
12614
12628
|
"zip",
|
|
12629
|
+
"7z",
|
|
12630
|
+
"rar",
|
|
12615
12631
|
"pdf",
|
|
12616
12632
|
"ooxml",
|
|
12617
12633
|
"legacy_office"
|
|
@@ -12619,6 +12635,8 @@ declare const ProtectionFormatSchema: z.ZodEnum<[
|
|
|
12619
12635
|
declare const REMOVABLE_PROTECTION_SCHEMES: readonly [
|
|
12620
12636
|
"zipcrypto",
|
|
12621
12637
|
"aes",
|
|
12638
|
+
"7z_aes",
|
|
12639
|
+
"rar_encryption",
|
|
12622
12640
|
"pdf_user_password",
|
|
12623
12641
|
"pdf_owner_password",
|
|
12624
12642
|
"office_encryption"
|
|
@@ -12627,6 +12645,8 @@ type RemovableProtectionScheme = (typeof REMOVABLE_PROTECTION_SCHEMES)[number];
|
|
|
12627
12645
|
declare const RemovableProtectionSchemeSchema: z.ZodEnum<[
|
|
12628
12646
|
"zipcrypto",
|
|
12629
12647
|
"aes",
|
|
12648
|
+
"7z_aes",
|
|
12649
|
+
"rar_encryption",
|
|
12630
12650
|
"pdf_user_password",
|
|
12631
12651
|
"pdf_owner_password",
|
|
12632
12652
|
"office_encryption"
|
|
@@ -12634,6 +12654,8 @@ declare const RemovableProtectionSchemeSchema: z.ZodEnum<[
|
|
|
12634
12654
|
declare const PROTECTION_SCHEMES: readonly [
|
|
12635
12655
|
"zipcrypto",
|
|
12636
12656
|
"aes",
|
|
12657
|
+
"7z_aes",
|
|
12658
|
+
"rar_encryption",
|
|
12637
12659
|
"pdf_user_password",
|
|
12638
12660
|
"pdf_owner_password",
|
|
12639
12661
|
"office_encryption",
|
|
@@ -12643,6 +12665,8 @@ type ProtectionScheme = (typeof PROTECTION_SCHEMES)[number];
|
|
|
12643
12665
|
declare const ProtectionSchemeSchema: z.ZodEnum<[
|
|
12644
12666
|
"zipcrypto",
|
|
12645
12667
|
"aes",
|
|
12668
|
+
"7z_aes",
|
|
12669
|
+
"rar_encryption",
|
|
12646
12670
|
"pdf_user_password",
|
|
12647
12671
|
"pdf_owner_password",
|
|
12648
12672
|
"office_encryption",
|
|
@@ -12667,14 +12691,16 @@ declare const COPY_REASONS: readonly [
|
|
|
12667
12691
|
"permission_denied",
|
|
12668
12692
|
"immutable_source",
|
|
12669
12693
|
"foreign_application",
|
|
12670
|
-
"local_source"
|
|
12694
|
+
"local_source",
|
|
12695
|
+
"format_changed"
|
|
12671
12696
|
];
|
|
12672
12697
|
type CopyReason = (typeof COPY_REASONS)[number];
|
|
12673
12698
|
declare const CopyReasonSchema: z.ZodEnum<[
|
|
12674
12699
|
"permission_denied",
|
|
12675
12700
|
"immutable_source",
|
|
12676
12701
|
"foreign_application",
|
|
12677
|
-
"local_source"
|
|
12702
|
+
"local_source",
|
|
12703
|
+
"format_changed"
|
|
12678
12704
|
]>;
|
|
12679
12705
|
declare const COPY_REASON_LABELS: Readonly<Record<CopyReason, string>>;
|
|
12680
12706
|
declare const isPromotable: (reason: CopyReason) => boolean;
|