@types/office-js 1.0.511 → 1.0.513
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.
- office-js/README.md +1 -1
- office-js/index.d.ts +30 -10
- office-js/package.json +2 -2
office-js/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 16 Jun 2025 17:35:52 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -3387,10 +3387,16 @@ declare namespace Office {
|
|
|
3387
3387
|
*
|
|
3388
3388
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
3389
3389
|
*
|
|
3390
|
-
* **Important**:
|
|
3390
|
+
* **Important**:
|
|
3391
|
+
*
|
|
3392
|
+
* - The `options` parameter only applies to Outlook add-ins. It was introduced in Mailbox 1.8. Although Outlook on Android and on iOS support up to
|
|
3391
3393
|
* Mailbox 1.5, the `options` parameter is supported in online-meeting provider and note-logging mobile add-ins. For more information on API support in
|
|
3392
3394
|
* Outlook on mobile devices, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
3393
3395
|
*
|
|
3396
|
+
* - {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | Event-based activation} and
|
|
3397
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | integrated spam-reporting} add-ins use a different event object to signal when they've
|
|
3398
|
+
* completed processing an event. For more information, see {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent | Office.MailboxEvent}.
|
|
3399
|
+
*
|
|
3394
3400
|
* @param options Optional. In Outlook, an object that specifies the behavior of an on-send add-in, online-meeting provider add-in, or note-logging mobile add-in
|
|
3395
3401
|
* when it completes processing an event.
|
|
3396
3402
|
*/
|
|
@@ -3410,9 +3416,15 @@ declare namespace Office {
|
|
|
3410
3416
|
*
|
|
3411
3417
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
3412
3418
|
*
|
|
3413
|
-
* **Important**:
|
|
3419
|
+
* **Important**:
|
|
3420
|
+
*
|
|
3421
|
+
* - Although Outlook on Android and on iOS support up to Mailbox 1.5, the `EventCompletedOptions` object is supported in online-meeting provider and
|
|
3414
3422
|
* note-logging mobile add-ins. For more information on API support in Outlook on mobile devices, see
|
|
3415
3423
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
|
|
3424
|
+
*
|
|
3425
|
+
* - {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | Event-based activation} and
|
|
3426
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | integrated spam-reporting} add-ins use a different event object to signal when they've
|
|
3427
|
+
* completed processing an event. For more information, see {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent | Office.MailboxEvent}.
|
|
3416
3428
|
*/
|
|
3417
3429
|
interface EventCompletedOptions {
|
|
3418
3430
|
/**
|
|
@@ -18100,7 +18112,15 @@ declare namespace Office {
|
|
|
18100
18112
|
*
|
|
18101
18113
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
18102
18114
|
*
|
|
18103
|
-
* **Important**:
|
|
18115
|
+
* **Important**:
|
|
18116
|
+
*
|
|
18117
|
+
* - Support for the integrated spam-reporting feature was introduced in Mailbox 1.14.
|
|
18118
|
+
*
|
|
18119
|
+
* - For information about the Event object used by the {@link https://learn.microsoft.com/office/dev/add-ins/design/add-in-commands | function command button},
|
|
18120
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins | on-send add-in},
|
|
18121
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/online-meeting | online-meeting provider add-in}, and
|
|
18122
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-log-appointments | note-logging mobile add-in},
|
|
18123
|
+
* see {@link https://learn.microsoft.com/javascript/api/office/office.addincommands.event | Office.AddinCommands.Event}.
|
|
18104
18124
|
*/
|
|
18105
18125
|
interface MailboxEvent {
|
|
18106
18126
|
/**
|
|
@@ -131356,12 +131376,12 @@ declare namespace PowerPoint {
|
|
|
131356
131376
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
131357
131377
|
context: RequestContext;
|
|
131358
131378
|
/**
|
|
131359
|
-
* Specifies if the bullets in the paragraph are visible. Returns
|
|
131379
|
+
* Specifies if the bullets in the paragraph are visible. Returns `null` if the {@link PowerPoint.TextRange} includes text fragments with different bullet visibility values.
|
|
131360
131380
|
*
|
|
131361
131381
|
* @remarks
|
|
131362
131382
|
* [Api set: PowerPointApi 1.4]
|
|
131363
131383
|
*/
|
|
131364
|
-
visible: boolean;
|
|
131384
|
+
visible: boolean | null;
|
|
131365
131385
|
/**
|
|
131366
131386
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
131367
131387
|
*
|
|
@@ -132972,12 +132992,12 @@ declare namespace PowerPoint {
|
|
|
132972
132992
|
/** An interface for updating data on the `BulletFormat` object, for use in `bulletFormat.set({ ... })`. */
|
|
132973
132993
|
interface BulletFormatUpdateData {
|
|
132974
132994
|
/**
|
|
132975
|
-
* Specifies if the bullets in the paragraph are visible. Returns
|
|
132995
|
+
* Specifies if the bullets in the paragraph are visible. Returns `null` if the {@link PowerPoint.TextRange} includes text fragments with different bullet visibility values.
|
|
132976
132996
|
*
|
|
132977
132997
|
* @remarks
|
|
132978
132998
|
* [Api set: PowerPointApi 1.4]
|
|
132979
132999
|
*/
|
|
132980
|
-
visible?: boolean;
|
|
133000
|
+
visible?: boolean | null;
|
|
132981
133001
|
}
|
|
132982
133002
|
/** An interface for updating data on the `ParagraphFormat` object, for use in `paragraphFormat.set({ ... })`. */
|
|
132983
133003
|
interface ParagraphFormatUpdateData {
|
|
@@ -133653,12 +133673,12 @@ declare namespace PowerPoint {
|
|
|
133653
133673
|
/** An interface describing the data returned by calling `bulletFormat.toJSON()`. */
|
|
133654
133674
|
interface BulletFormatData {
|
|
133655
133675
|
/**
|
|
133656
|
-
* Specifies if the bullets in the paragraph are visible. Returns
|
|
133676
|
+
* Specifies if the bullets in the paragraph are visible. Returns `null` if the {@link PowerPoint.TextRange} includes text fragments with different bullet visibility values.
|
|
133657
133677
|
*
|
|
133658
133678
|
* @remarks
|
|
133659
133679
|
* [Api set: PowerPointApi 1.4]
|
|
133660
133680
|
*/
|
|
133661
|
-
visible?: boolean;
|
|
133681
|
+
visible?: boolean | null;
|
|
133662
133682
|
}
|
|
133663
133683
|
/** An interface describing the data returned by calling `paragraphFormat.toJSON()`. */
|
|
133664
133684
|
interface ParagraphFormatData {
|
|
@@ -134992,7 +135012,7 @@ declare namespace PowerPoint {
|
|
|
134992
135012
|
*/
|
|
134993
135013
|
$all?: boolean;
|
|
134994
135014
|
/**
|
|
134995
|
-
* Specifies if the bullets in the paragraph are visible. Returns
|
|
135015
|
+
* Specifies if the bullets in the paragraph are visible. Returns `null` if the {@link PowerPoint.TextRange} includes text fragments with different bullet visibility values.
|
|
134996
135016
|
*
|
|
134997
135017
|
* @remarks
|
|
134998
135018
|
* [Api set: PowerPointApi 1.4]
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.513",
|
|
4
4
|
"description": "TypeScript definitions for office-js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "b6e53f43c60bf4e09378ea484fac38f440228aa7a038b4e323ee290cb2b2a900",
|
|
50
50
|
"typeScriptVersion": "5.1"
|
|
51
51
|
}
|