@gmb/bitmark-parser-generator 5.10.0 → 5.12.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/index.d.cts CHANGED
@@ -239,6 +239,8 @@ declare const BitType: {
239
239
  readonly exampleList: "example-list";
240
240
  readonly extractorAiChat: "extractor-ai-chat";
241
241
  readonly extractorBlock: "extractor-block";
242
+ readonly extractorBlueprint: "extractor-blueprint";
243
+ readonly extractorBlueprintConfiguration: "extractor-blueprint-configuration";
242
244
  readonly extractorConfiguration: "extractor-configuration";
243
245
  readonly extractorImage: "extractor-image";
244
246
  readonly extractorImageCollapsible: "extractor-image-collapsible";
@@ -422,6 +424,7 @@ declare const BitType: {
422
424
  readonly pageOpenBookList: "page-open-book-list";
423
425
  readonly printBook: "print-book";
424
426
  readonly openBookChapter: "open-book-chapter";
427
+ readonly openBookChapterTeaser: "open-book-chapter-teaser";
425
428
  readonly pagePerson: "page-person";
426
429
  readonly pageProduct: "page-product";
427
430
  readonly pageProductList: "page-product-list";
@@ -3744,6 +3747,7 @@ declare abstract class AbstractTagConfig {
3744
3747
  readonly minCount: number;
3745
3748
  readonly chain?: TagsConfig;
3746
3749
  readonly jsonKey?: string;
3750
+ readonly secondaryJsonKey?: string;
3747
3751
  readonly deprecated?: string;
3748
3752
  constructor(params: {
3749
3753
  type: BitTagConfigKeyTypeType;
@@ -3753,11 +3757,12 @@ declare abstract class AbstractTagConfig {
3753
3757
  minCount: number;
3754
3758
  chain: TagsConfig | undefined;
3755
3759
  jsonKey: string | undefined;
3760
+ secondaryJsonKey: string | undefined;
3756
3761
  deprecated: string | undefined;
3757
3762
  });
3758
3763
  }
3759
3764
 
3760
- interface ToStringOptions$5 {
3765
+ interface ToStringOptions$6 {
3761
3766
  includeChains?: boolean;
3762
3767
  includeConfigs?: boolean;
3763
3768
  }
@@ -3769,9 +3774,10 @@ declare class MarkupTagConfig extends AbstractTagConfig {
3769
3774
  maxCount: CountType;
3770
3775
  minCount: number;
3771
3776
  chain: TagsConfig | undefined;
3777
+ secondaryJsonKey: string | undefined;
3772
3778
  deprecated: string | undefined;
3773
3779
  });
3774
- toString(options?: ToStringOptions$5): string;
3780
+ toString(options?: ToStringOptions$6): string;
3775
3781
  }
3776
3782
 
3777
3783
  declare const TagFormat: {
@@ -3785,7 +3791,7 @@ declare const TagFormat: {
3785
3791
  };
3786
3792
  type TagFormatType = EnumType<typeof TagFormat>;
3787
3793
 
3788
- interface ToStringOptions$4 {
3794
+ interface ToStringOptions$5 {
3789
3795
  includeChains?: boolean;
3790
3796
  includeConfigs?: boolean;
3791
3797
  }
@@ -3802,15 +3808,16 @@ declare class PropertyTagConfig extends AbstractTagConfig {
3802
3808
  minCount: number;
3803
3809
  chain: TagsConfig | undefined;
3804
3810
  jsonKey: string | undefined;
3811
+ secondaryJsonKey: string | undefined;
3805
3812
  format: TagFormatType | undefined;
3806
3813
  values: string[] | undefined;
3807
3814
  defaultValue: string | undefined;
3808
3815
  deprecated: string | undefined;
3809
3816
  });
3810
- toString(options?: ToStringOptions$4): string;
3817
+ toString(options?: ToStringOptions$5): string;
3811
3818
  }
3812
3819
 
3813
- interface ToStringOptions$3 {
3820
+ interface ToStringOptions$4 {
3814
3821
  includeChains?: boolean;
3815
3822
  includeConfigs?: boolean;
3816
3823
  }
@@ -3823,9 +3830,10 @@ declare class ResourceTagConfig extends AbstractTagConfig {
3823
3830
  minCount: number;
3824
3831
  chain: TagsConfig | undefined;
3825
3832
  jsonKey: string | undefined;
3833
+ secondaryJsonKey: string | undefined;
3826
3834
  deprecated: string | undefined;
3827
3835
  });
3828
- toString(options?: ToStringOptions$3): string;
3836
+ toString(options?: ToStringOptions$4): string;
3829
3837
  }
3830
3838
 
3831
3839
  type TagConfig = MarkupTagConfig | PropertyTagConfig | ResourceTagConfig;
@@ -3834,7 +3842,7 @@ interface TagsConfig {
3834
3842
  [configKey: string]: TagConfig;
3835
3843
  }
3836
3844
 
3837
- interface ToStringOptions$2 {
3845
+ interface ToStringOptions$3 {
3838
3846
  includeChains?: boolean;
3839
3847
  includeConfigs?: boolean;
3840
3848
  }
@@ -3843,7 +3851,20 @@ declare class CardVariantConfig {
3843
3851
  bodyAllowed?: boolean;
3844
3852
  bodyRequired?: boolean;
3845
3853
  repeatCount?: CountType;
3846
- constructor(tags: TagsConfig, bodyAllowed?: boolean, bodyRequired?: boolean, repeatCount?: CountType);
3854
+ readonly jsonKey?: string | null;
3855
+ constructor(tags: TagsConfig, bodyAllowed?: boolean, bodyRequired?: boolean, repeatCount?: CountType, jsonKey?: string | null);
3856
+ toString(options?: ToStringOptions$3): string;
3857
+ }
3858
+
3859
+ interface ToStringOptions$2 {
3860
+ includeChains?: boolean;
3861
+ includeConfigs?: boolean;
3862
+ }
3863
+ declare class CardSideConfig {
3864
+ readonly name: string;
3865
+ readonly repeat: boolean;
3866
+ readonly variants: CardVariantConfig[];
3867
+ constructor(name: string, repeat: boolean, variants: CardVariantConfig[]);
3847
3868
  toString(options?: ToStringOptions$2): string;
3848
3869
  }
3849
3870
 
@@ -3876,8 +3897,16 @@ interface ToStringOptions$1 {
3876
3897
  }
3877
3898
  declare class CardSetConfig {
3878
3899
  readonly configKey: CardSetConfigKeyType;
3879
- readonly variants: CardVariantConfig[][];
3880
- constructor(configKey: CardSetConfigKeyType, variants: CardVariantConfig[][]);
3900
+ readonly jsonKey: string | null;
3901
+ readonly itemType: 'object' | 'array';
3902
+ readonly sections: Record<string, {
3903
+ jsonKey: string;
3904
+ }> | undefined;
3905
+ readonly sides: CardSideConfig[];
3906
+ get variants(): CardVariantConfig[][];
3907
+ constructor(configKey: CardSetConfigKeyType, jsonKey: string | null, itemType: 'object' | 'array', sections: Record<string, {
3908
+ jsonKey: string;
3909
+ }> | undefined, sides: CardSideConfig[]);
3881
3910
  toString(options?: ToStringOptions$1): string;
3882
3911
  }
3883
3912
 
package/dist/index.d.ts CHANGED
@@ -239,6 +239,8 @@ declare const BitType: {
239
239
  readonly exampleList: "example-list";
240
240
  readonly extractorAiChat: "extractor-ai-chat";
241
241
  readonly extractorBlock: "extractor-block";
242
+ readonly extractorBlueprint: "extractor-blueprint";
243
+ readonly extractorBlueprintConfiguration: "extractor-blueprint-configuration";
242
244
  readonly extractorConfiguration: "extractor-configuration";
243
245
  readonly extractorImage: "extractor-image";
244
246
  readonly extractorImageCollapsible: "extractor-image-collapsible";
@@ -422,6 +424,7 @@ declare const BitType: {
422
424
  readonly pageOpenBookList: "page-open-book-list";
423
425
  readonly printBook: "print-book";
424
426
  readonly openBookChapter: "open-book-chapter";
427
+ readonly openBookChapterTeaser: "open-book-chapter-teaser";
425
428
  readonly pagePerson: "page-person";
426
429
  readonly pageProduct: "page-product";
427
430
  readonly pageProductList: "page-product-list";
@@ -3744,6 +3747,7 @@ declare abstract class AbstractTagConfig {
3744
3747
  readonly minCount: number;
3745
3748
  readonly chain?: TagsConfig;
3746
3749
  readonly jsonKey?: string;
3750
+ readonly secondaryJsonKey?: string;
3747
3751
  readonly deprecated?: string;
3748
3752
  constructor(params: {
3749
3753
  type: BitTagConfigKeyTypeType;
@@ -3753,11 +3757,12 @@ declare abstract class AbstractTagConfig {
3753
3757
  minCount: number;
3754
3758
  chain: TagsConfig | undefined;
3755
3759
  jsonKey: string | undefined;
3760
+ secondaryJsonKey: string | undefined;
3756
3761
  deprecated: string | undefined;
3757
3762
  });
3758
3763
  }
3759
3764
 
3760
- interface ToStringOptions$5 {
3765
+ interface ToStringOptions$6 {
3761
3766
  includeChains?: boolean;
3762
3767
  includeConfigs?: boolean;
3763
3768
  }
@@ -3769,9 +3774,10 @@ declare class MarkupTagConfig extends AbstractTagConfig {
3769
3774
  maxCount: CountType;
3770
3775
  minCount: number;
3771
3776
  chain: TagsConfig | undefined;
3777
+ secondaryJsonKey: string | undefined;
3772
3778
  deprecated: string | undefined;
3773
3779
  });
3774
- toString(options?: ToStringOptions$5): string;
3780
+ toString(options?: ToStringOptions$6): string;
3775
3781
  }
3776
3782
 
3777
3783
  declare const TagFormat: {
@@ -3785,7 +3791,7 @@ declare const TagFormat: {
3785
3791
  };
3786
3792
  type TagFormatType = EnumType<typeof TagFormat>;
3787
3793
 
3788
- interface ToStringOptions$4 {
3794
+ interface ToStringOptions$5 {
3789
3795
  includeChains?: boolean;
3790
3796
  includeConfigs?: boolean;
3791
3797
  }
@@ -3802,15 +3808,16 @@ declare class PropertyTagConfig extends AbstractTagConfig {
3802
3808
  minCount: number;
3803
3809
  chain: TagsConfig | undefined;
3804
3810
  jsonKey: string | undefined;
3811
+ secondaryJsonKey: string | undefined;
3805
3812
  format: TagFormatType | undefined;
3806
3813
  values: string[] | undefined;
3807
3814
  defaultValue: string | undefined;
3808
3815
  deprecated: string | undefined;
3809
3816
  });
3810
- toString(options?: ToStringOptions$4): string;
3817
+ toString(options?: ToStringOptions$5): string;
3811
3818
  }
3812
3819
 
3813
- interface ToStringOptions$3 {
3820
+ interface ToStringOptions$4 {
3814
3821
  includeChains?: boolean;
3815
3822
  includeConfigs?: boolean;
3816
3823
  }
@@ -3823,9 +3830,10 @@ declare class ResourceTagConfig extends AbstractTagConfig {
3823
3830
  minCount: number;
3824
3831
  chain: TagsConfig | undefined;
3825
3832
  jsonKey: string | undefined;
3833
+ secondaryJsonKey: string | undefined;
3826
3834
  deprecated: string | undefined;
3827
3835
  });
3828
- toString(options?: ToStringOptions$3): string;
3836
+ toString(options?: ToStringOptions$4): string;
3829
3837
  }
3830
3838
 
3831
3839
  type TagConfig = MarkupTagConfig | PropertyTagConfig | ResourceTagConfig;
@@ -3834,7 +3842,7 @@ interface TagsConfig {
3834
3842
  [configKey: string]: TagConfig;
3835
3843
  }
3836
3844
 
3837
- interface ToStringOptions$2 {
3845
+ interface ToStringOptions$3 {
3838
3846
  includeChains?: boolean;
3839
3847
  includeConfigs?: boolean;
3840
3848
  }
@@ -3843,7 +3851,20 @@ declare class CardVariantConfig {
3843
3851
  bodyAllowed?: boolean;
3844
3852
  bodyRequired?: boolean;
3845
3853
  repeatCount?: CountType;
3846
- constructor(tags: TagsConfig, bodyAllowed?: boolean, bodyRequired?: boolean, repeatCount?: CountType);
3854
+ readonly jsonKey?: string | null;
3855
+ constructor(tags: TagsConfig, bodyAllowed?: boolean, bodyRequired?: boolean, repeatCount?: CountType, jsonKey?: string | null);
3856
+ toString(options?: ToStringOptions$3): string;
3857
+ }
3858
+
3859
+ interface ToStringOptions$2 {
3860
+ includeChains?: boolean;
3861
+ includeConfigs?: boolean;
3862
+ }
3863
+ declare class CardSideConfig {
3864
+ readonly name: string;
3865
+ readonly repeat: boolean;
3866
+ readonly variants: CardVariantConfig[];
3867
+ constructor(name: string, repeat: boolean, variants: CardVariantConfig[]);
3847
3868
  toString(options?: ToStringOptions$2): string;
3848
3869
  }
3849
3870
 
@@ -3876,8 +3897,16 @@ interface ToStringOptions$1 {
3876
3897
  }
3877
3898
  declare class CardSetConfig {
3878
3899
  readonly configKey: CardSetConfigKeyType;
3879
- readonly variants: CardVariantConfig[][];
3880
- constructor(configKey: CardSetConfigKeyType, variants: CardVariantConfig[][]);
3900
+ readonly jsonKey: string | null;
3901
+ readonly itemType: 'object' | 'array';
3902
+ readonly sections: Record<string, {
3903
+ jsonKey: string;
3904
+ }> | undefined;
3905
+ readonly sides: CardSideConfig[];
3906
+ get variants(): CardVariantConfig[][];
3907
+ constructor(configKey: CardSetConfigKeyType, jsonKey: string | null, itemType: 'object' | 'array', sections: Record<string, {
3908
+ jsonKey: string;
3909
+ }> | undefined, sides: CardSideConfig[]);
3881
3910
  toString(options?: ToStringOptions$1): string;
3882
3911
  }
3883
3912