@types/office-js-preview 1.0.501 → 1.0.502

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: Thu, 29 Aug 2024 16:39:18 GMT
11
+ * Last updated: Wed, 04 Sep 2024 21:07:34 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -95105,8 +95105,7 @@ declare namespace Word {
95105
95105
  * Resets the font of the bullet, number, or picture at the specified level in the list.
95106
95106
  *
95107
95107
  * @remarks
95108
- * [Api set: WordApi BETA (PREVIEW ONLY)]
95109
- * @beta
95108
+ * [Api set: WordApiDesktop 1.1]
95110
95109
  *
95111
95110
  * @param level Required. The level in the list.
95112
95111
  * @param resetFontName Optional. Indicates whether to reset the font name. Default is false that indicates the font name is kept unchanged.
@@ -112013,19 +112012,19 @@ declare namespace Word {
112013
112012
  }
112014
112013
  /**
112015
112014
  * Executes a batch script that performs actions on the Word object model, using the RequestContext of previously created API objects.
112016
- * @param objects - An array of previously created API objects. The array will be validated to make sure that all of the objects share the same context. The batch will use this shared RequestContext, which means that any changes applied to these objects will be picked up by "context.sync()".
112017
- * @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of "context.sync()"). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
112015
+ * @param objects - An array of previously created API objects. The array will be validated to make sure that all of the objects share the same context. The batch will use this shared RequestContext, which means that any changes applied to these objects will be picked up by `context.sync()`.
112016
+ * @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of `context.sync()`). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
112018
112017
  */
112019
112018
  function run<T>(objects: OfficeExtension.ClientObject[], batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;
112020
112019
  /**
112021
112020
  * Executes a batch script that performs actions on the Word object model, using the RequestContext of a previously created API object. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.
112022
- * @param object - A previously created API object. The batch will use the same RequestContext as the passed-in object, which means that any changes applied to the object will be picked up by "context.sync()".
112023
- * @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of "context.sync()"). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
112021
+ * @param object - A previously created API object. The batch will use the same RequestContext as the passed-in object, which means that any changes applied to the object will be picked up by `context.sync()`.
112022
+ * @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of `context.sync()`). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
112024
112023
  */
112025
112024
  function run<T>(object: OfficeExtension.ClientObject, batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;
112026
112025
  /**
112027
112026
  * Executes a batch script that performs actions on the Word object model, using a new RequestContext. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.
112028
- * @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of "context.sync()"). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
112027
+ * @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of `context.sync()`). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
112029
112028
  */
112030
112029
  function run<T>(batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;
112031
112030
  }
@@ -127708,21 +127707,21 @@ declare namespace PowerPoint {
127708
127707
  * For EACH ITEM in the collection: Returns the fill formatting of this shape.
127709
127708
  *
127710
127709
  * @remarks
127711
- * [Api set: PowerPointApi 1.4]
127710
+ * [Api set: PowerPointApi 1.5]
127712
127711
  */
127713
127712
  fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
127714
127713
  /**
127715
127714
  * For EACH ITEM in the collection: Returns the line formatting of this shape.
127716
127715
  *
127717
127716
  * @remarks
127718
- * [Api set: PowerPointApi 1.4]
127717
+ * [Api set: PowerPointApi 1.5]
127719
127718
  */
127720
127719
  lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
127721
127720
  /**
127722
127721
  * For EACH ITEM in the collection: Returns the text frame object of this shape.
127723
127722
  *
127724
127723
  * @remarks
127725
- * [Api set: PowerPointApi 1.4]
127724
+ * [Api set: PowerPointApi 1.5]
127726
127725
  */
127727
127726
  textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
127728
127727
  /**
@@ -127823,14 +127822,14 @@ declare namespace PowerPoint {
127823
127822
  * For EACH ITEM in the collection: Gets the layout of the slide.
127824
127823
  *
127825
127824
  * @remarks
127826
- * [Api set: PowerPointApi 1.3]
127825
+ * [Api set: PowerPointApi 1.5]
127827
127826
  */
127828
127827
  layout?: PowerPoint.Interfaces.SlideLayoutLoadOptions;
127829
127828
  /**
127830
127829
  * For EACH ITEM in the collection: Gets the `SlideMaster` object that represents the slide's default content.
127831
127830
  *
127832
127831
  * @remarks
127833
- * [Api set: PowerPointApi 1.3]
127832
+ * [Api set: PowerPointApi 1.5]
127834
127833
  */
127835
127834
  slideMaster?: PowerPoint.Interfaces.SlideMasterLoadOptions;
127836
127835
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.501",
3
+ "version": "1.0.502",
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",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "d81e9591159a31f82ed4604093821a7865f5b3b78e865add8ca78f6ccd989348",
48
+ "typesPublisherContentHash": "584e08e47317f3f31ff9fe99615cfda42cfd3467b08deab0dc7e8b7875ea16d2",
49
49
  "typeScriptVersion": "4.8",
50
50
  "nonNpm": true
51
51
  }