@types/office-js-preview 1.0.690 → 1.0.692

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.
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 25 Feb 2026 19:47:40 GMT
11
+ * Last updated: Thu, 26 Feb 2026 18:47:04 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -434,32 +434,32 @@ declare namespace Office {
434
434
  /**
435
435
  * Return or set data as text (string). Data is returned or set as a one-dimensional run of characters.
436
436
  */
437
- Text,
437
+ Text = "text",
438
438
  /**
439
439
  * Return or set data as tabular data with no headers. Data is returned or set as an array of arrays containing one-dimensional runs of
440
440
  * characters. For example, three rows of string values in two columns would be: [["R1C1", "R1C2"], ["R2C1", "R2C2"], ["R3C1", "R3C2"]].
441
441
  *
442
442
  * **Note**: Only applies to data in Excel and Word.
443
443
  */
444
- Matrix,
444
+ Matrix = "matrix",
445
445
  /**
446
446
  * Return or set data as tabular data with optional headers. Data is returned or set as an array of arrays with optional headers.
447
447
  *
448
448
  * **Note**: Only applies to data in Excel and Word.
449
449
  */
450
- Table,
450
+ Table = "table",
451
451
  /**
452
452
  * Return or set data as HTML.
453
453
  *
454
454
  * **Note**: Only applies to data in add-ins for Word and Outlook add-ins for Outlook (compose mode).
455
455
  */
456
- Html,
456
+ Html = "html",
457
457
  /**
458
458
  * Return or set data as Office Open XML.
459
459
  *
460
460
  * **Note**: Only applies to data in Word.
461
461
  */
462
- Ooxml,
462
+ Ooxml = "ooxml",
463
463
  /**
464
464
  * Return a JSON object that contains an array of the IDs, titles, and indexes of the selected slides. For example,
465
465
  * `{"slides":[{"id":257,"title":"Slide 2","index":2},{"id":256,"title":"Slide 1","index":1}]}` for a selection of two slides.
@@ -467,17 +467,17 @@ declare namespace Office {
467
467
  * **Note**: Only applies to data in PowerPoint when calling the {@link Office.Document | Document}.getSelectedDataAsync method to get the current
468
468
  * slide or selected range of slides.
469
469
  */
470
- SlideRange,
470
+ SlideRange = "slideRange",
471
471
  /**
472
472
  * Data is returned or set as an image stream.
473
473
  * **Note**: Only applies to data in Excel, Word, and PowerPoint.
474
474
  */
475
- Image,
475
+ Image = "image",
476
476
  /**
477
477
  * Data is returned or set as XML data containing an SVG image.
478
478
  * **Note**: Only applies to data in Excel, Word, and PowerPoint.
479
479
  */
480
- XmlSvg
480
+ XmlSvg = "xmlSvg"
481
481
  }
482
482
  /**
483
483
  * Specifies the type of the XML node.
@@ -3331,6 +3331,8 @@ declare namespace Office {
3331
3331
  * @returns A promise that is resolved when the UI is shown.
3332
3332
  *
3333
3333
  * @remarks
3334
+ * This method applies only to centrally deployed or sideloaded add-ins. For add-ins published in the Microsoft Marketplace, the method is ignored and the task pane doesn't open.
3335
+ *
3334
3336
  * **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1}
3335
3337
  */
3336
3338
  showAsTaskpane(): Promise<void>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.690",
3
+ "version": "1.0.692",
4
4
  "description": "TypeScript definitions for office-js-preview",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "dd490298dbb822bac59d5b8d9d0aa81029074be8cd5ee6babb217709a54c0060",
49
+ "typesPublisherContentHash": "969a2bb3e2c987abf480f358639371924d52d11677dab2843153fe177ca356fd",
50
50
  "typeScriptVersion": "5.2",
51
51
  "nonNpm": true
52
52
  }