@maxim_mazurok/gapi.client.docs-v1 0.3.20260623 → 0.4.20260623

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 (2) hide show
  1. package/index.d.ts +8 -28
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -845,10 +845,7 @@ declare namespace gapi.client {
845
845
  interface NestingLevel {
846
846
  /** The alignment of the bullet within the space allotted for rendering the bullet. */
847
847
  bulletAlignment?:
848
- | 'BULLET_ALIGNMENT_UNSPECIFIED'
849
- | 'START'
850
- | 'CENTER'
851
- | 'END';
848
+ 'BULLET_ALIGNMENT_UNSPECIFIED' | 'START' | 'CENTER' | 'END';
852
849
  /** The format string used by bullets at this level of nesting. The glyph format contains one or more placeholders, and these placeholders are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes and suffixes. Thus, the glyph format follows the pattern `%[nesting_level]`. Note that the prefix and suffix are optional and can be arbitrary strings. For example, the glyph format `%0.` indicates that the rendered glyph will replace the placeholder with the corresponding glyph for nesting level 0 followed by a period as the suffix. So a list with a glyph type of UPPER_ALPHA and glyph format `%0.` at nesting level 0 will result in a list with rendered glyphs `A.` `B.` `C.` The glyph format can contain placeholders for the current nesting level as well as placeholders for parent nesting levels. For example, a list can have a glyph format of `%0.` at nesting level 0 and a glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels have DECIMAL glyph types, this would result in a list with rendered glyphs `1.` `2.` ` 2.1.` ` 2.2.` `3.` For nesting levels that are ordered, the string that replaces a placeholder in the glyph format for a particular paragraph depends on the paragraph's order within the list. */
853
850
  glyphFormat?: string;
854
851
  /** A custom glyph symbol used by bullets when paragraphs at this level of nesting is unordered. The glyph symbol replaces placeholders within the glyph_format. For example, if the glyph_symbol is the solid circle corresponding to Unicode U+25cf code point and the glyph_format is `%0`, the rendered glyph would be the solid circle. */
@@ -965,11 +962,7 @@ declare namespace gapi.client {
965
962
  interface ParagraphStyle {
966
963
  /** The text alignment for this paragraph. */
967
964
  alignment?:
968
- | 'ALIGNMENT_UNSPECIFIED'
969
- | 'START'
970
- | 'CENTER'
971
- | 'END'
972
- | 'JUSTIFIED';
965
+ 'ALIGNMENT_UNSPECIFIED' | 'START' | 'CENTER' | 'END' | 'JUSTIFIED';
973
966
  /** Whether to avoid widows and orphans for the paragraph. If unset, the value is inherited from the parent. */
974
967
  avoidWidowAndOrphan?: boolean;
975
968
  /** The border between this paragraph and the next and previous paragraphs. If unset, the value is inherited from the parent. The between border is rendered when the adjacent paragraph has the same border and indent properties. Paragraph borders cannot be partially updated. When changing a paragraph border, the new border must be specified in its entirety. */
@@ -984,9 +977,7 @@ declare namespace gapi.client {
984
977
  borderTop?: ParagraphBorder;
985
978
  /** The text direction of this paragraph. If unset, the value defaults to LEFT_TO_RIGHT since paragraph direction is not inherited. */
986
979
  direction?:
987
- | 'CONTENT_DIRECTION_UNSPECIFIED'
988
- | 'LEFT_TO_RIGHT'
989
- | 'RIGHT_TO_LEFT';
980
+ 'CONTENT_DIRECTION_UNSPECIFIED' | 'LEFT_TO_RIGHT' | 'RIGHT_TO_LEFT';
990
981
  /** The heading ID of the paragraph. If empty, then this paragraph is not a heading. This property is read-only. */
991
982
  headingId?: string;
992
983
  /** The amount of indentation for the paragraph on the side that corresponds to the end of the text, based on the current paragraph direction. If unset, the value is inherited from the parent. */
@@ -1023,9 +1014,7 @@ declare namespace gapi.client {
1023
1014
  spaceBelow?: Dimension;
1024
1015
  /** The spacing mode for the paragraph. */
1025
1016
  spacingMode?:
1026
- | 'SPACING_MODE_UNSPECIFIED'
1027
- | 'NEVER_COLLAPSE'
1028
- | 'COLLAPSE_LISTS';
1017
+ 'SPACING_MODE_UNSPECIFIED' | 'NEVER_COLLAPSE' | 'COLLAPSE_LISTS';
1029
1018
  /** A list of the tab stops for this paragraph. The list of tab stops is not inherited. This property is read-only. */
1030
1019
  tabStops?: TabStop[];
1031
1020
  }
@@ -1339,14 +1328,10 @@ declare namespace gapi.client {
1339
1328
  columnProperties?: SectionColumnProperties[];
1340
1329
  /** The style of column separators. This style can be set even when there's one column in the section. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. */
1341
1330
  columnSeparatorStyle?:
1342
- | 'COLUMN_SEPARATOR_STYLE_UNSPECIFIED'
1343
- | 'NONE'
1344
- | 'BETWEEN_EACH_COLUMN';
1331
+ 'COLUMN_SEPARATOR_STYLE_UNSPECIFIED' | 'NONE' | 'BETWEEN_EACH_COLUMN';
1345
1332
  /** The content direction of this section. If unset, the value defaults to LEFT_TO_RIGHT. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. */
1346
1333
  contentDirection?:
1347
- | 'CONTENT_DIRECTION_UNSPECIFIED'
1348
- | 'LEFT_TO_RIGHT'
1349
- | 'RIGHT_TO_LEFT';
1334
+ 'CONTENT_DIRECTION_UNSPECIFIED' | 'LEFT_TO_RIGHT' | 'RIGHT_TO_LEFT';
1350
1335
  /** The ID of the default footer. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's default_footer_id. If DocumentMode is PAGELESS, this property will not be rendered. This property is read-only. */
1351
1336
  defaultFooterId?: string;
1352
1337
  /** The ID of the default header. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's default_header_id. If DocumentMode is PAGELESS, this property will not be rendered. This property is read-only. */
@@ -1616,9 +1601,7 @@ declare namespace gapi.client {
1616
1601
  width?: Dimension;
1617
1602
  /** The width type of the column. */
1618
1603
  widthType?:
1619
- | 'WIDTH_TYPE_UNSPECIFIED'
1620
- | 'EVENLY_DISTRIBUTED'
1621
- | 'FIXED_WIDTH';
1604
+ 'WIDTH_TYPE_UNSPECIFIED' | 'EVENLY_DISTRIBUTED' | 'FIXED_WIDTH';
1622
1605
  }
1623
1606
  interface TableOfContents {
1624
1607
  /** The content of the table of contents. */
@@ -1709,10 +1692,7 @@ declare namespace gapi.client {
1709
1692
  backgroundColor?: OptionalColor;
1710
1693
  /** The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. Changes in this field don't affect the `font_size`. */
1711
1694
  baselineOffset?:
1712
- | 'BASELINE_OFFSET_UNSPECIFIED'
1713
- | 'NONE'
1714
- | 'SUPERSCRIPT'
1715
- | 'SUBSCRIPT';
1695
+ 'BASELINE_OFFSET_UNSPECIFIED' | 'NONE' | 'SUPERSCRIPT' | 'SUBSCRIPT';
1716
1696
  /** Whether or not the text is rendered as bold. */
1717
1697
  bold?: boolean;
1718
1698
  /** The size of the text's font. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.docs-v1",
3
- "version": "0.3.20260623",
3
+ "version": "0.4.20260623",
4
4
  "description": "TypeScript typings for Google Docs API v1",
5
5
  "repository": {
6
6
  "type": "git",