Phase 3: - Declare PowerPointApi 1.5 and replace template manifest values - Remove the dead command pipeline and the tracked Babel/polyfill setup - Extract constants, status/settings contexts, PowerPoint services, and an error boundary - Build with ES2020 and strict TypeScript; hash production assets and drop prod source maps - Add Vitest tests, CI, LICENSE, Node 20 pinning, and prune unused dependencies - Correct the README, user guide, developer guide, and audit notes Phase 4: - Add a persisted 16:9/4:3 slide size setting used by all layout tools - Add dark mode with Office/system theme detection - Make sections collapsible and move to accessible Fluent controls - Announce status through aria-live and add semantic status icons - Add a progress counter with cooperative cancellation and a Stop button - Update the tracked dependency tree for the pruned packages
This commit is contained in:
1 parent
e57258afe9
commit
89989c04e9
6211 files changed
+7028
-274819
No files matched your search
-21
@@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
# Installation
|
||||
> `npm install --save @types/office-runtime`
|
||||
|
||||
# Summary
|
||||
This package contains type definitions for office-runtime (https://github.com/OfficeDev/office-js).
|
||||
|
||||
# Details
|
||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-runtime.
|
||||
|
||||
### Additional Details
|
||||
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
|
||||
* Dependencies: none
|
||||
|
||||
# Credits
|
||||
These definitions were written by [OfficeDev](https://github.com/OfficeDev), [David Chesnut](https://github.com/davidchesnut), [Alex Jerabek](https://github.com/AlexJerabek), [Ricky Kirkham](https://github.com/rick-kirkham), and [Alison McKay](https://github.com/alison-mk).
|
||||
-376
@@ -1,376 +0,0 @@
|
||||
/*
|
||||
office-runtime
|
||||
Copyright (c) Microsoft Corporation
|
||||
*/
|
||||
|
||||
/**
|
||||
* Office runtime namespace.
|
||||
*/
|
||||
declare namespace OfficeRuntime {
|
||||
/**
|
||||
* Function that enables a pop up web dialog box.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: CustomFunctionsRuntime 1.1]
|
||||
*
|
||||
* @param url Must be a string.
|
||||
* @param options Optional parameter. Must be of type DisplayWebDialogOptions.
|
||||
*/
|
||||
function displayWebDialog(url: string, options?: DisplayWebDialogOptions): Promise<Dialog>;
|
||||
/**
|
||||
* Asynchronous, global, and persistent key-value storage.
|
||||
*/
|
||||
const storage: Storage;
|
||||
/**
|
||||
* Asynchronous, global, and persistent key-value storage.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: SharedRuntime 1.1, Mailbox 1.10]
|
||||
*
|
||||
* This interface is available in the
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1 requirement set}
|
||||
* for Excel, PowerPoint, and Word add-ins. It's also available starting in
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.10/outlook-requirement-set-1.10 | Mailbox requirement set 1.10}
|
||||
* for Outlook.
|
||||
*
|
||||
* **Important**: In Outlook, support is only available with the
|
||||
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation} feature implemented in Outlook on Windows.
|
||||
* This interface isn't supported in Outlook on Mac or on the web.
|
||||
*
|
||||
* Storage limit is 10 MB per domain, which may be shared by multiple add-ins.
|
||||
*/
|
||||
interface Storage {
|
||||
/**
|
||||
* Retrieves an item from storage based on its key.
|
||||
* Returns a Promise. In the event the Promise does not resolve, returns null.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: SharedRuntime 1.1, Mailbox 1.10]
|
||||
*
|
||||
* This method is available in the
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1 requirement set}
|
||||
* for Excel, PowerPoint, and Word add-ins. It's also available starting in
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.10/outlook-requirement-set-1.10 | Mailbox requirement set 1.10}
|
||||
* for Outlook.
|
||||
*
|
||||
* **Important**: In Outlook, support is only available with the
|
||||
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation} feature implemented in Outlook on Windows.
|
||||
* This method isn't supported in Outlook on Mac or on the web.
|
||||
*
|
||||
* @param key Key of item to be retrieved. Must be a string.
|
||||
*/
|
||||
getItem(key: string): Promise<string | null>;
|
||||
/**
|
||||
* Sets a key-value pair into storage or updates an existing key-value pair.
|
||||
* Returns a Promise.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: SharedRuntime 1.1, Mailbox 1.10]
|
||||
*
|
||||
* This method is available in the
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1 requirement set}
|
||||
* for Excel, PowerPoint, and Word add-ins. It's also available starting in
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.10/outlook-requirement-set-1.10 | Mailbox requirement set 1.10}
|
||||
* for Outlook.
|
||||
*
|
||||
* **Important**: In Outlook, support is only available with the
|
||||
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation} feature implemented in Outlook on Windows.
|
||||
* This method isn't supported in Outlook on Mac or on the web.
|
||||
*
|
||||
* @param key Key of item to be set. Must be a string.
|
||||
* @param value Must be a string.
|
||||
*/
|
||||
setItem(key: string, value: string): Promise<void>;
|
||||
/**
|
||||
* Removes an item from storage based on its key.
|
||||
* Returns a Promise.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: SharedRuntime 1.1, Mailbox 1.10]
|
||||
*
|
||||
* This method is available in the
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1 requirement set}
|
||||
* for Excel, PowerPoint, and Word add-ins. It's also available starting in
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.10/outlook-requirement-set-1.10 | Mailbox requirement set 1.10}
|
||||
* for Outlook.
|
||||
*
|
||||
* **Important**: In Outlook, support is only available with the
|
||||
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation} feature implemented in Outlook on Windows.
|
||||
* This method isn't supported in Outlook on Mac or on the web.
|
||||
*
|
||||
* @param key Key of item to be removed. Must be a string.
|
||||
*/
|
||||
removeItem(key: string): Promise<void>;
|
||||
/**
|
||||
* Retrieves multiple items from storage based on their key.
|
||||
* Returns a Promise. In the event the Promise does not resolve, returns null.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: SharedRuntime 1.1, Mailbox 1.10]
|
||||
*
|
||||
* This method is available in the
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1 requirement set}
|
||||
* for Excel, PowerPoint, and Word add-ins. It's also available starting in
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.10/outlook-requirement-set-1.10 | Mailbox requirement set 1.10}
|
||||
* for Outlook.
|
||||
*
|
||||
* **Important**: In Outlook, support is only available with the
|
||||
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation} feature implemented in Outlook on Windows.
|
||||
* This method isn't supported in Outlook on Mac or on the web.
|
||||
*
|
||||
* @param keys Keys of items to be removed. Must be an array of strings.
|
||||
*/
|
||||
getItems(keys: string[]): Promise<{ [key: string]: string | null }>;
|
||||
/**
|
||||
* Sets multiple items into storage or updates multiple items within storage.
|
||||
* Returns a Promise.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: SharedRuntime 1.1, Mailbox 1.10]
|
||||
*
|
||||
* This method is available in the
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1 requirement set}
|
||||
* for Excel, PowerPoint, and Word add-ins. It's also available starting in
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.10/outlook-requirement-set-1.10 | Mailbox requirement set 1.10}
|
||||
* for Outlook.
|
||||
*
|
||||
* **Important**: In Outlook, support is only available with the
|
||||
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation} feature implemented in Outlook on Windows.
|
||||
* This method isn't supported in Outlook on Mac or on the web.
|
||||
*
|
||||
* @param keyValues Key-value pairs to be set. Must be strings.
|
||||
*/
|
||||
setItems(keyValues: { [key: string]: string }): Promise<void>;
|
||||
/**
|
||||
* Removes multiple items from storage.
|
||||
* Returns a Promise.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: SharedRuntime 1.1, Mailbox 1.10]
|
||||
*
|
||||
* This method is available in the
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1 requirement set}
|
||||
* for Excel, PowerPoint, and Word add-ins. It's also available starting in
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.10/outlook-requirement-set-1.10 | Mailbox requirement set 1.10}
|
||||
* for Outlook.
|
||||
*
|
||||
* **Important**: In Outlook, support is only available with the
|
||||
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation} feature implemented in Outlook on Windows.
|
||||
* This method isn't supported in Outlook on Mac or on the web.
|
||||
*
|
||||
* @param keys Keys of items to be removed. Must be an array of strings.
|
||||
*/
|
||||
removeItems(keys: string[]): Promise<void>;
|
||||
/**
|
||||
* Retrieves an array of all keys from storage.
|
||||
* Returns a Promise.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: SharedRuntime 1.1, Mailbox 1.10]
|
||||
*
|
||||
* This method is available in the
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1 requirement set}
|
||||
* for Excel, PowerPoint, and Word add-ins. It's also available starting in
|
||||
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.10/outlook-requirement-set-1.10 | Mailbox requirement set 1.10}
|
||||
* for Outlook.
|
||||
*
|
||||
* **Important**: In Outlook, support is only available with the
|
||||
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation} feature implemented in Outlook on Windows.
|
||||
* This method isn't supported in Outlook on Mac or on the web.
|
||||
*/
|
||||
getKeys(): Promise<string[]>;
|
||||
}
|
||||
/**
|
||||
* Object representing the dialog box.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: CustomFunctionsRuntime 1.1]
|
||||
*
|
||||
*/
|
||||
interface Dialog {
|
||||
/**
|
||||
* Method to close a dialog box. Returns a Promise.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: CustomFunctionsRuntime 1.1]
|
||||
*
|
||||
*/
|
||||
close(): Promise<void>;
|
||||
}
|
||||
/**
|
||||
* Provides display options and actions a dialog box may take.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: CustomFunctionsRuntime 1.1]
|
||||
*
|
||||
*/
|
||||
interface DisplayWebDialogOptions {
|
||||
/**
|
||||
* Optional parameter that determines whether the dialog box displays as a popup (false) or within an IFrame (true).
|
||||
* This setting is only applicable to custom functions running on Excel Online.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: CustomFunctionsRuntime 1.1]
|
||||
*
|
||||
*/
|
||||
displayInIFrame?: boolean;
|
||||
/**
|
||||
* Optional parameter that defines the height of the dialog box as a percentage of the current display.
|
||||
* For example, accepts strings such as: '50%', '50'.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: CustomFunctionsRuntime 1.1]
|
||||
*
|
||||
*/
|
||||
height?: string;
|
||||
/**
|
||||
* Optional parameter that defines the width of dialog as a percentage of window.
|
||||
* For example, accepts strings such as: '50%', '50'.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: CustomFunctionsRuntime 1.1]
|
||||
*
|
||||
*/
|
||||
width?: string;
|
||||
/**
|
||||
* Optional callback that runs when the dialog box sends a message to its parent.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: CustomFunctionsRuntime 1.1]
|
||||
*
|
||||
*/
|
||||
onMessage?: (message: string, dialog?: Dialog) => void;
|
||||
/**
|
||||
* Optional callback that runs when the dialog box is closed.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: CustomFunctionsRuntime 1.1]
|
||||
*
|
||||
*/
|
||||
onClose?: () => void;
|
||||
/**
|
||||
* Optional callback that runs when the dialog box sends an error.
|
||||
*
|
||||
* @remarks
|
||||
* [Api set: CustomFunctionsRuntime 1.1]
|
||||
*
|
||||
*/
|
||||
onRuntimeError?: (error: Error, dialog?: Dialog) => void;
|
||||
}
|
||||
/**
|
||||
* Contains authorization related APIs.
|
||||
*/
|
||||
const auth: Auth;
|
||||
/**
|
||||
* Provides options for the user experience when Office obtains an access token to the add-in from AAD v. 2.0 with the `getAccessToken` method.
|
||||
*
|
||||
* @remarks
|
||||
*
|
||||
* The methods in this interface are equivalent to those in the `Office.AuthOptions` interface.
|
||||
* If new authentication types are added in the future, they will only be added to the `Office.AuthOptions` interface.
|
||||
* For simplicity, the code examples throughout the documentation use `Office.AuthOptions`.
|
||||
*/
|
||||
interface AuthOptions {
|
||||
/**
|
||||
* Allows Office to get an access token silently or through interactive consent, if one is required. Default value is `false`.
|
||||
* If set to `false`, Office will silently try to get an access token. If it fails to do so, Office will return a descriptive error.
|
||||
* If set to `true`, Office will show an interactive consent UI after it fails to silently get an access token.
|
||||
* The prompt will only allow consent to the AAD profile scope, not to any Microsoft Graph scopes.
|
||||
*/
|
||||
allowConsentPrompt?: boolean;
|
||||
/**
|
||||
* Allows Office to get an access token silently provided consent is present or show interactive UI to sign in the user. Default value is `false`.
|
||||
* If set to `false`, Office will silently try to get an access token. If it fails to do so, Office will return a descriptive error.
|
||||
* If set to `true`, Office will show an interactive sign-in UI after it fails to silently get an access token.
|
||||
*/
|
||||
allowSignInPrompt?: boolean;
|
||||
/**
|
||||
* Prompts the user to add their Office account (or to switch to it, if it is already added). Default value is `false`.
|
||||
*
|
||||
* @deprecated Use `allowSignInPrompt` instead.
|
||||
*/
|
||||
forceAddAccount?: boolean;
|
||||
/**
|
||||
* Causes Office to display the add-in consent experience. Useful if the add-in's Azure permissions have changed or if the user's consent has
|
||||
* been revoked. Default value is `false`.
|
||||
*
|
||||
* @deprecated Use `allowConsentPrompt` instead.
|
||||
*/
|
||||
forceConsent?: boolean;
|
||||
/**
|
||||
* Causes Office to prompt the user to provide the additional factor when the tenancy being targeted by Microsoft Graph requires multifactor
|
||||
* authentication. The string value identifies the type of additional factor that is required. In most cases, you won't know at development
|
||||
* time whether the user's tenant requires an additional factor or what the string should be. So this option would be used in a "second try"
|
||||
* call of `getAccessToken` after Microsoft Graph has sent an error requesting the additional factor and containing the string that should
|
||||
* be used with the `authChallenge` option.
|
||||
*/
|
||||
authChallenge?: string;
|
||||
/**
|
||||
* A user-defined item of any type that is returned, unchanged, in the `asyncContext` property of the `AsyncResult` object that is passed to a callback.
|
||||
*/
|
||||
asyncContext?: any;
|
||||
/**
|
||||
* Causes Office to return a descriptive error when the add-in wants to access Microsoft Graph and the user/admin has not granted consent to Graph scopes. Default value is `false`.
|
||||
* Office only supports consent to Graph scopes when the add-in has been deployed by a tenant admin.
|
||||
* Setting this option to `true` will cause Office to inform your add-in beforehand (by returning a descriptive error) if Graph access will fail.
|
||||
*
|
||||
* @remarks
|
||||
*
|
||||
* **Note**: If you're developing an Outlook add-in that uses single sign-on (SSO), comment out the `forMSGraphAccess` option before sideloading the add-in for testing.
|
||||
* Otherwise, you'll receive {@link https://learn.microsoft.com/office/dev/add-ins/develop/troubleshoot-sso-in-office-add-ins#13012 | error 13012}. For additional guidance, see
|
||||
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/authorize-to-microsoft-graph#details-on-sso-with-an-outlook-add-in | Details on SSO with an Outlook add-in}.
|
||||
*/
|
||||
forMSGraphAccess?: boolean;
|
||||
}
|
||||
/**
|
||||
* Interface that contains authorization related APIs.
|
||||
*
|
||||
* @remarks
|
||||
*
|
||||
* The methods in this interface are equivalent to those in the {@link https://learn.microsoft.com/javascript/api/office/office.auth | Office.auth interface}.
|
||||
* If new authentication types are added in the future, they will only be added to the `Office.auth` interface.
|
||||
* For simplicity, the code examples throughout the documentation use `Office.auth`.
|
||||
*/
|
||||
interface Auth {
|
||||
/**
|
||||
* Calls the Azure Active Directory V 2.0 endpoint to get an access token to your add-in's web application. Enables add-ins to identify users.
|
||||
* Server-side code can use this token to access Microsoft Graph for the add-in's web application by using the
|
||||
* {@link https://learn.microsoft.com/azure/active-directory/develop/active-directory-v2-protocols-oauth-on-behalf-of | "on behalf of" OAuth flow}.
|
||||
* This API requires a single sign-on configuration that bridges the add-in to an Azure application. Office users sign-in with Organizational
|
||||
* Accounts and Microsoft Accounts. Microsoft Azure returns tokens intended for both user account types to access resources in the Microsoft Graph.
|
||||
*
|
||||
* @remarks
|
||||
*
|
||||
* **Applications**: Excel, Outlook, PowerPoint, Word
|
||||
*
|
||||
* **Important**:
|
||||
*
|
||||
* - In Outlook, this API isn't supported if you load an add-in in an Outlook.com or Gmail mailbox.
|
||||
*
|
||||
* - In Outlook on the web, this API isn't supported if you use the Safari browser. This results in error 13001 ("The user is not signed into Office").
|
||||
*
|
||||
* - In Outlook on the web, if you use the
|
||||
* {@link https://learn.microsoft.com/javascript/api/office/office.ui#office-office-ui-displaydialogasync-member(1) | displayDialogAsync}
|
||||
* method to open a dialog, you must close the dialog before you can call `getAccessToken`.
|
||||
*
|
||||
* @param options - Optional. Accepts an `AuthOptions` object to define sign-on behaviors.
|
||||
* @returns Promise to the access token.
|
||||
*/
|
||||
getAccessToken(options?: AuthOptions): Promise<string>;
|
||||
}
|
||||
/**
|
||||
* Provides information about what Requirement Sets are supported in current environment.
|
||||
*/
|
||||
const apiInformation: ApiInformation;
|
||||
/**
|
||||
* Interface that contains methods for checking API requirement-set support.
|
||||
*/
|
||||
interface ApiInformation {
|
||||
/**
|
||||
* Check if the specified requirement set is supported by the Office application.
|
||||
* @param name - Set name; e.g., "MatrixBindings".
|
||||
* @param minVersion - The minimum required version; e.g., "1.4".
|
||||
*/
|
||||
isSetSupported(name: string, minVersion?: string): boolean;
|
||||
}
|
||||
}
|
||||
-46
@@ -1,46 +0,0 @@
|
||||
{
|
||||
"name": "@types/office-runtime",
|
||||
"version": "1.0.35",
|
||||
"description": "TypeScript definitions for office-runtime",
|
||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-runtime",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "OfficeDev",
|
||||
"githubUsername": "OfficeDev",
|
||||
"url": "https://github.com/OfficeDev"
|
||||
},
|
||||
{
|
||||
"name": "David Chesnut",
|
||||
"githubUsername": "davidchesnut",
|
||||
"url": "https://github.com/davidchesnut"
|
||||
},
|
||||
{
|
||||
"name": "Alex Jerabek",
|
||||
"githubUsername": "AlexJerabek",
|
||||
"url": "https://github.com/AlexJerabek"
|
||||
},
|
||||
{
|
||||
"name": "Ricky Kirkham",
|
||||
"githubUsername": "rick-kirkham",
|
||||
"url": "https://github.com/rick-kirkham"
|
||||
},
|
||||
{
|
||||
"name": "Alison McKay",
|
||||
"githubUsername": "alison-mk",
|
||||
"url": "https://github.com/alison-mk"
|
||||
}
|
||||
],
|
||||
"main": "",
|
||||
"types": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
||||
"directory": "types/office-runtime"
|
||||
},
|
||||
"scripts": {},
|
||||
"dependencies": {},
|
||||
"typesPublisherContentHash": "fce5c6081ed3a6a83c7ce59ad8c2fda5090a7cb44c93ddace75240abd4f2909d",
|
||||
"typeScriptVersion": "4.5",
|
||||
"nonNpm": true
|
||||
}
|
||||
-21
@@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE
|
||||
-23
@@ -1,23 +0,0 @@
|
||||
# Installation
|
||||
> `npm install --save @types/webpack`
|
||||
|
||||
# Summary
|
||||
This package contains type definitions for webpack (https://github.com/webpack/webpack).
|
||||
|
||||
# Details
|
||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack.
|
||||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack/index.d.ts)
|
||||
````ts
|
||||
/// <reference types="node" />
|
||||
/* eslint-disable-next-line @definitelytyped/no-self-import */
|
||||
import webpack = require("webpack");
|
||||
export = webpack;
|
||||
|
||||
````
|
||||
|
||||
### Additional Details
|
||||
* Last updated: Tue, 07 Nov 2023 20:08:00 GMT
|
||||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [tapable](https://npmjs.com/package/tapable), [webpack](https://npmjs.com/package/webpack)
|
||||
|
||||
# Credits
|
||||
These definitions were written by [Qubo](https://github.com/tkqubo), [Benjamin Lim](https://github.com/bumbleblym), [Boris Cherny](https://github.com/bcherny), [Tommy Troy Lin](https://github.com/tommytroylin), [Mohsen Azimi](https://github.com/mohsen1), [Jonathan Creamer](https://github.com/jcreamer898), [Alan Agius](https://github.com/alan-agius4), [Dennis George](https://github.com/dennispg), [Christophe Hurpeau](https://github.com/christophehurpeau), [ZSkycat](https://github.com/ZSkycat), [John Reilly](https://github.com/johnnyreilly), [Ryan Waskiewicz](https://github.com/rwaskiewicz), [Kyle Uehlein](https://github.com/kuehlein), [Grgur Grisogono](https://github.com/grgur), [Rubens Pinheiro Gonçalves Cavalcante](https://github.com/rubenspgcavalcante), [Anders Kaseorg](https://github.com/andersk), [Felix Haus](https://github.com/ofhouse), [Daniel Chin](https://github.com/danielthank), [Daiki Ihara](https://github.com/sasurau4), [Dion Shi](https://github.com/dionshihk), [Piotr Błażejewicz](https://github.com/peterblazejewicz), and [Michał Grzegorzewski](https://github.com/spamshaker).
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
/// <reference types="node" />
|
||||
/* eslint-disable-next-line @definitelytyped/no-self-import */
|
||||
import webpack = require("webpack");
|
||||
export = webpack;
|
||||
-134
@@ -1,134 +0,0 @@
|
||||
{
|
||||
"name": "@types/webpack",
|
||||
"version": "5.28.5",
|
||||
"description": "TypeScript definitions for webpack",
|
||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Qubo",
|
||||
"githubUsername": "tkqubo",
|
||||
"url": "https://github.com/tkqubo"
|
||||
},
|
||||
{
|
||||
"name": "Benjamin Lim",
|
||||
"githubUsername": "bumbleblym",
|
||||
"url": "https://github.com/bumbleblym"
|
||||
},
|
||||
{
|
||||
"name": "Boris Cherny",
|
||||
"githubUsername": "bcherny",
|
||||
"url": "https://github.com/bcherny"
|
||||
},
|
||||
{
|
||||
"name": "Tommy Troy Lin",
|
||||
"githubUsername": "tommytroylin",
|
||||
"url": "https://github.com/tommytroylin"
|
||||
},
|
||||
{
|
||||
"name": "Mohsen Azimi",
|
||||
"githubUsername": "mohsen1",
|
||||
"url": "https://github.com/mohsen1"
|
||||
},
|
||||
{
|
||||
"name": "Jonathan Creamer",
|
||||
"githubUsername": "jcreamer898",
|
||||
"url": "https://github.com/jcreamer898"
|
||||
},
|
||||
{
|
||||
"name": "Alan Agius",
|
||||
"githubUsername": "alan-agius4",
|
||||
"url": "https://github.com/alan-agius4"
|
||||
},
|
||||
{
|
||||
"name": "Dennis George",
|
||||
"githubUsername": "dennispg",
|
||||
"url": "https://github.com/dennispg"
|
||||
},
|
||||
{
|
||||
"name": "Christophe Hurpeau",
|
||||
"githubUsername": "christophehurpeau",
|
||||
"url": "https://github.com/christophehurpeau"
|
||||
},
|
||||
{
|
||||
"name": "ZSkycat",
|
||||
"githubUsername": "ZSkycat",
|
||||
"url": "https://github.com/ZSkycat"
|
||||
},
|
||||
{
|
||||
"name": "John Reilly",
|
||||
"githubUsername": "johnnyreilly",
|
||||
"url": "https://github.com/johnnyreilly"
|
||||
},
|
||||
{
|
||||
"name": "Ryan Waskiewicz",
|
||||
"githubUsername": "rwaskiewicz",
|
||||
"url": "https://github.com/rwaskiewicz"
|
||||
},
|
||||
{
|
||||
"name": "Kyle Uehlein",
|
||||
"githubUsername": "kuehlein",
|
||||
"url": "https://github.com/kuehlein"
|
||||
},
|
||||
{
|
||||
"name": "Grgur Grisogono",
|
||||
"githubUsername": "grgur",
|
||||
"url": "https://github.com/grgur"
|
||||
},
|
||||
{
|
||||
"name": "Rubens Pinheiro Gonçalves Cavalcante",
|
||||
"githubUsername": "rubenspgcavalcante",
|
||||
"url": "https://github.com/rubenspgcavalcante"
|
||||
},
|
||||
{
|
||||
"name": "Anders Kaseorg",
|
||||
"githubUsername": "andersk",
|
||||
"url": "https://github.com/andersk"
|
||||
},
|
||||
{
|
||||
"name": "Felix Haus",
|
||||
"githubUsername": "ofhouse",
|
||||
"url": "https://github.com/ofhouse"
|
||||
},
|
||||
{
|
||||
"name": "Daniel Chin",
|
||||
"githubUsername": "danielthank",
|
||||
"url": "https://github.com/danielthank"
|
||||
},
|
||||
{
|
||||
"name": "Daiki Ihara",
|
||||
"githubUsername": "sasurau4",
|
||||
"url": "https://github.com/sasurau4"
|
||||
},
|
||||
{
|
||||
"name": "Dion Shi",
|
||||
"githubUsername": "dionshihk",
|
||||
"url": "https://github.com/dionshihk"
|
||||
},
|
||||
{
|
||||
"name": "Piotr Błażejewicz",
|
||||
"githubUsername": "peterblazejewicz",
|
||||
"url": "https://github.com/peterblazejewicz"
|
||||
},
|
||||
{
|
||||
"name": "Michał Grzegorzewski",
|
||||
"githubUsername": "spamshaker",
|
||||
"url": "https://github.com/spamshaker"
|
||||
}
|
||||
],
|
||||
"main": "",
|
||||
"types": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
||||
"directory": "types/webpack"
|
||||
},
|
||||
"scripts": {},
|
||||
"dependencies": {
|
||||
"@types/node": "*",
|
||||
"tapable": "^2.2.0",
|
||||
"webpack": "^5"
|
||||
},
|
||||
"typesPublisherContentHash": "c66bca1496d9dda5adbfd97a25a93ac025904845ca721567ca2c7d4282a6d89c",
|
||||
"typeScriptVersion": "4.5"
|
||||
}
|
||||
Reference in new issue
Block a user