Merge pull request #10 from microsoft/octogonz/refresh-api-docs
Refresh API docs
This commit is contained in:
Коммит
add71f5149
|
@ -97,6 +97,8 @@ api_nav:
|
|||
url: /pages/api/api-extractor.extractorconfig.apireportenabled
|
||||
- title: betaTrimmedFilePath
|
||||
url: /pages/api/api-extractor.extractorconfig.betatrimmedfilepath
|
||||
- title: bundledPackages
|
||||
url: /pages/api/api-extractor.extractorconfig.bundledpackages
|
||||
- title: docModelEnabled
|
||||
url: /pages/api/api-extractor.extractorconfig.docmodelenabled
|
||||
- title: FILENAME
|
||||
|
@ -115,6 +117,8 @@ api_nav:
|
|||
url: /pages/api/api-extractor.extractorconfig.mainentrypointfilepath
|
||||
- title: messages
|
||||
url: /pages/api/api-extractor.extractorconfig.messages
|
||||
- title: newlineKind
|
||||
url: /pages/api/api-extractor.extractorconfig.newlinekind
|
||||
- title: omitTrimmingComments
|
||||
url: /pages/api/api-extractor.extractorconfig.omittrimmingcomments
|
||||
- title: overrideTsconfig
|
||||
|
@ -245,6 +249,8 @@ api_nav:
|
|||
subitems:
|
||||
- title: apiReport
|
||||
url: /pages/api/api-extractor.iconfigfile.apireport
|
||||
- title: bundledPackages
|
||||
url: /pages/api/api-extractor.iconfigfile.bundledpackages
|
||||
- title: compiler
|
||||
url: /pages/api/api-extractor.iconfigfile.compiler
|
||||
- title: docModel
|
||||
|
@ -257,6 +263,8 @@ api_nav:
|
|||
url: /pages/api/api-extractor.iconfigfile.mainentrypointfilepath
|
||||
- title: messages
|
||||
url: /pages/api/api-extractor.iconfigfile.messages
|
||||
- title: newlineKind
|
||||
url: /pages/api/api-extractor.iconfigfile.newlinekind
|
||||
- title: projectFolder
|
||||
url: /pages/api/api-extractor.iconfigfile.projectfolder
|
||||
- title: testMode
|
||||
|
@ -1444,6 +1452,8 @@ api_nav:
|
|||
url: /pages/api/node-core-library.jsonfile.updatestring
|
||||
- title: validateNoUndefinedMembers
|
||||
url: /pages/api/node-core-library.jsonfile.validatenoundefinedmembers
|
||||
- title: JsonObject
|
||||
url: /pages/api/node-core-library.jsonobject
|
||||
- title: JsonSchema
|
||||
url: /pages/api/node-core-library.jsonschema
|
||||
subitems:
|
||||
|
@ -1474,6 +1484,8 @@ api_nav:
|
|||
url: /pages/api/node-core-library.legacyadapters.convertcallbacktopromise_4
|
||||
- title: scrubError
|
||||
url: /pages/api/node-core-library.legacyadapters.scruberror
|
||||
- title: sortStable
|
||||
url: /pages/api/node-core-library.legacyadapters.sortstable
|
||||
- title: LegacyCallback
|
||||
url: /pages/api/node-core-library.legacycallback
|
||||
- title: LockFile
|
||||
|
@ -1643,6 +1655,8 @@ api_nav:
|
|||
- title: Text
|
||||
url: /pages/api/node-core-library.text
|
||||
subitems:
|
||||
- title: convertTo
|
||||
url: /pages/api/node-core-library.text.convertto
|
||||
- title: convertToCrLf
|
||||
url: /pages/api/node-core-library.text.converttocrlf
|
||||
- title: convertToLf
|
||||
|
@ -1662,6 +1676,8 @@ api_nav:
|
|||
- title: '@microsoft/package-deps-hash'
|
||||
url: /pages/api/package-deps-hash
|
||||
subitems:
|
||||
- title: getGitHashForFiles
|
||||
url: /pages/api/package-deps-hash.getgithashforfiles
|
||||
- title: getPackageDeps
|
||||
url: /pages/api/package-deps-hash.getpackagedeps
|
||||
- title: IPackageDeps
|
||||
|
@ -1729,6 +1745,8 @@ api_nav:
|
|||
url: /pages/api/rush-lib.commonversionsconfiguration.filepath
|
||||
- title: getAllPreferredVersions
|
||||
url: /pages/api/rush-lib.commonversionsconfiguration.getallpreferredversions
|
||||
- title: implicitlyPreferredVersions
|
||||
url: /pages/api/rush-lib.commonversionsconfiguration.implicitlypreferredversions
|
||||
- title: loadFromFile
|
||||
url: /pages/api/rush-lib.commonversionsconfiguration.loadfromfile
|
||||
- title: preferredVersions
|
||||
|
@ -1748,6 +1766,16 @@ api_nav:
|
|||
subitems:
|
||||
- title: get
|
||||
url: /pages/api/rush-lib.eventhooks.get
|
||||
- title: ExperimentsConfiguration
|
||||
url: /pages/api/rush-lib.experimentsconfiguration
|
||||
subitems:
|
||||
- title: configuration
|
||||
url: /pages/api/rush-lib.experimentsconfiguration.configuration
|
||||
- title: IExperimentsJson
|
||||
url: /pages/api/rush-lib.iexperimentsjson
|
||||
subitems:
|
||||
- title: legacyIncrementalBuildDependencyDetection
|
||||
url: /pages/api/rush-lib.iexperimentsjson.legacyincrementalbuilddependencydetection
|
||||
- title: ILaunchOptions
|
||||
url: /pages/api/rush-lib.ilaunchoptions
|
||||
subitems:
|
||||
|
@ -1844,10 +1872,16 @@ api_nav:
|
|||
- title: PnpmOptionsConfiguration
|
||||
url: /pages/api/rush-lib.pnpmoptionsconfiguration
|
||||
subitems:
|
||||
- title: pnpmStore
|
||||
url: /pages/api/rush-lib.pnpmoptionsconfiguration.pnpmstore
|
||||
- title: pnpmStorePath
|
||||
url: /pages/api/rush-lib.pnpmoptionsconfiguration.pnpmstorepath
|
||||
- title: resolutionStrategy
|
||||
url: /pages/api/rush-lib.pnpmoptionsconfiguration.resolutionstrategy
|
||||
- title: strictPeerDependencies
|
||||
url: /pages/api/rush-lib.pnpmoptionsconfiguration.strictpeerdependencies
|
||||
- title: PnpmStoreOptions
|
||||
url: /pages/api/rush-lib.pnpmstoreoptions
|
||||
- title: ResolutionStrategy
|
||||
url: /pages/api/rush-lib.resolutionstrategy
|
||||
- title: Rush
|
||||
|
@ -1886,6 +1920,8 @@ api_nav:
|
|||
url: /pages/api/rush-lib.rushconfiguration.ensureconsistentversions
|
||||
- title: eventHooks
|
||||
url: /pages/api/rush-lib.rushconfiguration.eventhooks
|
||||
- title: experimentsConfiguration
|
||||
url: /pages/api/rush-lib.rushconfiguration.experimentsconfiguration
|
||||
- title: findProjectByShorthandName
|
||||
url: /pages/api/rush-lib.rushconfiguration.findprojectbyshorthandname
|
||||
- title: findProjectByTempName
|
||||
|
@ -1926,8 +1962,6 @@ api_nav:
|
|||
url: /pages/api/rush-lib.rushconfiguration.packagemanagerwrapper
|
||||
- title: pnpmOptions
|
||||
url: /pages/api/rush-lib.rushconfiguration.pnpmoptions
|
||||
- title: pnpmStoreFolder
|
||||
url: /pages/api/rush-lib.rushconfiguration.pnpmstorefolder
|
||||
- title: projectFolderMaxDepth
|
||||
url: /pages/api/rush-lib.rushconfiguration.projectfoldermaxdepth
|
||||
- title: projectFolderMinDepth
|
||||
|
@ -1936,6 +1970,12 @@ api_nav:
|
|||
url: /pages/api/rush-lib.rushconfiguration.projects
|
||||
- title: projectsByName
|
||||
url: /pages/api/rush-lib.rushconfiguration.projectsbyname
|
||||
- title: repositoryDefaultBranch
|
||||
url: /pages/api/rush-lib.rushconfiguration.repositorydefaultbranch
|
||||
- title: repositoryDefaultFullyQualifiedRemoteBranch
|
||||
url: /pages/api/rush-lib.rushconfiguration.repositorydefaultfullyqualifiedremotebranch
|
||||
- title: repositoryDefaultRemote
|
||||
url: /pages/api/rush-lib.rushconfiguration.repositorydefaultremote
|
||||
- title: repositoryUrl
|
||||
url: /pages/api/rush-lib.rushconfiguration.repositoryurl
|
||||
- title: rushJsonFile
|
||||
|
@ -1989,6 +2029,8 @@ api_nav:
|
|||
url: /pages/api/rush-lib.rushconfigurationproject.projectrushtempfolder
|
||||
- title: reviewCategory
|
||||
url: /pages/api/rush-lib.rushconfigurationproject.reviewcategory
|
||||
- title: rushConfiguration
|
||||
url: /pages/api/rush-lib.rushconfigurationproject.rushconfiguration
|
||||
- title: shouldPublish
|
||||
url: /pages/api/rush-lib.rushconfigurationproject.shouldpublish
|
||||
- title: skipRushCheck
|
||||
|
@ -2289,3 +2331,215 @@ api_nav:
|
|||
url: /pages/api/ts-command-line.icommandlinestringdefinition.defaultvalue
|
||||
- title: ICommandLineStringListDefinition
|
||||
url: /pages/api/ts-command-line.icommandlinestringlistdefinition
|
||||
- title: '@rushstack/debug-certificate-manager'
|
||||
url: /pages/api/debug-certificate-manager
|
||||
subitems:
|
||||
- title: CertificateManager
|
||||
url: /pages/api/debug-certificate-manager.certificatemanager
|
||||
subitems:
|
||||
- title: (constructor)
|
||||
url: /pages/api/debug-certificate-manager.certificatemanager._constructor_
|
||||
- title: ensureCertificate
|
||||
url: /pages/api/debug-certificate-manager.certificatemanager.ensurecertificate
|
||||
- title: untrustCertificate
|
||||
url: /pages/api/debug-certificate-manager.certificatemanager.untrustcertificate
|
||||
- title: CertificateStore
|
||||
url: /pages/api/debug-certificate-manager.certificatestore
|
||||
subitems:
|
||||
- title: (constructor)
|
||||
url: /pages/api/debug-certificate-manager.certificatestore._constructor_
|
||||
- title: certificateData
|
||||
url: /pages/api/debug-certificate-manager.certificatestore.certificatedata
|
||||
- title: certificatePath
|
||||
url: /pages/api/debug-certificate-manager.certificatestore.certificatepath
|
||||
- title: keyData
|
||||
url: /pages/api/debug-certificate-manager.certificatestore.keydata
|
||||
- title: ICertificate
|
||||
url: /pages/api/debug-certificate-manager.icertificate
|
||||
subitems:
|
||||
- title: pemCertificate
|
||||
url: /pages/api/debug-certificate-manager.icertificate.pemcertificate
|
||||
- title: pemKey
|
||||
url: /pages/api/debug-certificate-manager.icertificate.pemkey
|
||||
- title: '@rushstack/localization-plugin'
|
||||
url: /pages/api/localization-plugin
|
||||
subitems:
|
||||
- title: IDefaultLocaleOptions
|
||||
url: /pages/api/localization-plugin.idefaultlocaleoptions
|
||||
subitems:
|
||||
- title: fillMissingTranslationStrings
|
||||
url: /pages/api/localization-plugin.idefaultlocaleoptions.fillmissingtranslationstrings
|
||||
- title: localeName
|
||||
url: /pages/api/localization-plugin.idefaultlocaleoptions.localename
|
||||
- title: ILocaleData
|
||||
url: /pages/api/localization-plugin.ilocaledata
|
||||
- title: ILocaleElementMap
|
||||
url: /pages/api/localization-plugin.ilocaleelementmap
|
||||
- title: ILocaleFileData
|
||||
url: /pages/api/localization-plugin.ilocalefiledata
|
||||
- title: ILocalizationPluginOptions
|
||||
url: /pages/api/localization-plugin.ilocalizationpluginoptions
|
||||
subitems:
|
||||
- title: filesToIgnore
|
||||
url: /pages/api/localization-plugin.ilocalizationpluginoptions.filestoignore
|
||||
- title: localizationStats
|
||||
url: /pages/api/localization-plugin.ilocalizationpluginoptions.localizationstats
|
||||
- title: localizedData
|
||||
url: /pages/api/localization-plugin.ilocalizationpluginoptions.localizeddata
|
||||
- title: noStringsLocaleName
|
||||
url: /pages/api/localization-plugin.ilocalizationpluginoptions.nostringslocalename
|
||||
- title: typingsOptions
|
||||
url: /pages/api/localization-plugin.ilocalizationpluginoptions.typingsoptions
|
||||
- title: ILocalizationStats
|
||||
url: /pages/api/localization-plugin.ilocalizationstats
|
||||
subitems:
|
||||
- title: entrypoints
|
||||
url: /pages/api/localization-plugin.ilocalizationstats.entrypoints
|
||||
- title: namedChunkGroups
|
||||
url: /pages/api/localization-plugin.ilocalizationstats.namedchunkgroups
|
||||
- title: ILocalizationStatsChunkGroup
|
||||
url: /pages/api/localization-plugin.ilocalizationstatschunkgroup
|
||||
subitems:
|
||||
- title: localizedAssets
|
||||
url: /pages/api/localization-plugin.ilocalizationstatschunkgroup.localizedassets
|
||||
- title: ILocalizationStatsEntrypoint
|
||||
url: /pages/api/localization-plugin.ilocalizationstatsentrypoint
|
||||
subitems:
|
||||
- title: localizedAssets
|
||||
url: /pages/api/localization-plugin.ilocalizationstatsentrypoint.localizedassets
|
||||
- title: ILocalizationStatsOptions
|
||||
url: /pages/api/localization-plugin.ilocalizationstatsoptions
|
||||
subitems:
|
||||
- title: callback
|
||||
url: /pages/api/localization-plugin.ilocalizationstatsoptions.callback
|
||||
- title: dropPath
|
||||
url: /pages/api/localization-plugin.ilocalizationstatsoptions.droppath
|
||||
- title: ILocalizedData
|
||||
url: /pages/api/localization-plugin.ilocalizeddata
|
||||
subitems:
|
||||
- title: defaultLocale
|
||||
url: /pages/api/localization-plugin.ilocalizeddata.defaultlocale
|
||||
- title: passthroughLocale
|
||||
url: /pages/api/localization-plugin.ilocalizeddata.passthroughlocale
|
||||
- title: pseudolocales
|
||||
url: /pages/api/localization-plugin.ilocalizeddata.pseudolocales
|
||||
- title: translatedStrings
|
||||
url: /pages/api/localization-plugin.ilocalizeddata.translatedstrings
|
||||
- title: ILocalizedStrings
|
||||
url: /pages/api/localization-plugin.ilocalizedstrings
|
||||
- title: ILocalizedWebpackChunk
|
||||
url: /pages/api/localization-plugin.ilocalizedwebpackchunk
|
||||
subitems:
|
||||
- title: localizedFiles
|
||||
url: /pages/api/localization-plugin.ilocalizedwebpackchunk.localizedfiles
|
||||
- title: IPassthroughLocaleOptions
|
||||
url: /pages/api/localization-plugin.ipassthroughlocaleoptions
|
||||
subitems:
|
||||
- title: passthroughLocaleName
|
||||
url: /pages/api/localization-plugin.ipassthroughlocaleoptions.passthroughlocalename
|
||||
- title: usePassthroughLocale
|
||||
url: /pages/api/localization-plugin.ipassthroughlocaleoptions.usepassthroughlocale
|
||||
- title: IPseudolocaleOptions
|
||||
url: /pages/api/localization-plugin.ipseudolocaleoptions
|
||||
subitems:
|
||||
- title: append
|
||||
url: /pages/api/localization-plugin.ipseudolocaleoptions.append
|
||||
- title: delimiter
|
||||
url: /pages/api/localization-plugin.ipseudolocaleoptions.delimiter
|
||||
- title: endDelimiter
|
||||
url: /pages/api/localization-plugin.ipseudolocaleoptions.enddelimiter
|
||||
- title: extend
|
||||
url: /pages/api/localization-plugin.ipseudolocaleoptions.extend
|
||||
- title: override
|
||||
url: /pages/api/localization-plugin.ipseudolocaleoptions.override
|
||||
- title: prepend
|
||||
url: /pages/api/localization-plugin.ipseudolocaleoptions.prepend
|
||||
- title: startDelimiter
|
||||
url: /pages/api/localization-plugin.ipseudolocaleoptions.startdelimiter
|
||||
- title: IPseudolocalesOptions
|
||||
url: /pages/api/localization-plugin.ipseudolocalesoptions
|
||||
- title: ITypingsGenerationOptions
|
||||
url: /pages/api/localization-plugin.itypingsgenerationoptions
|
||||
subitems:
|
||||
- title: exportAsDefault
|
||||
url: /pages/api/localization-plugin.itypingsgenerationoptions.exportasdefault
|
||||
- title: generatedTsFolder
|
||||
url: /pages/api/localization-plugin.itypingsgenerationoptions.generatedtsfolder
|
||||
- title: sourceRoot
|
||||
url: /pages/api/localization-plugin.itypingsgenerationoptions.sourceroot
|
||||
- title: ITypingsGeneratorOptions
|
||||
url: /pages/api/localization-plugin.itypingsgeneratoroptions
|
||||
subitems:
|
||||
- title: exportAsDefault
|
||||
url: /pages/api/localization-plugin.itypingsgeneratoroptions.exportasdefault
|
||||
- title: filesToIgnore
|
||||
url: /pages/api/localization-plugin.itypingsgeneratoroptions.filestoignore
|
||||
- title: generatedTsFolder
|
||||
url: /pages/api/localization-plugin.itypingsgeneratoroptions.generatedtsfolder
|
||||
- title: srcFolder
|
||||
url: /pages/api/localization-plugin.itypingsgeneratoroptions.srcfolder
|
||||
- title: terminal
|
||||
url: /pages/api/localization-plugin.itypingsgeneratoroptions.terminal
|
||||
- title: LocalizationPlugin
|
||||
url: /pages/api/localization-plugin.localizationplugin
|
||||
subitems:
|
||||
- title: (constructor)
|
||||
url: /pages/api/localization-plugin.localizationplugin._constructor_
|
||||
- title: apply
|
||||
url: /pages/api/localization-plugin.localizationplugin.apply
|
||||
- title: TypingsGenerator
|
||||
url: /pages/api/localization-plugin.typingsgenerator
|
||||
subitems:
|
||||
- title: (constructor)
|
||||
url: /pages/api/localization-plugin.typingsgenerator._constructor_
|
||||
- title: '@rushstack/typings-generator'
|
||||
url: /pages/api/typings-generator
|
||||
subitems:
|
||||
- title: IStringValuesTypingsGeneratorOptions
|
||||
url: /pages/api/typings-generator.istringvaluestypingsgeneratoroptions
|
||||
subitems:
|
||||
- title: exportAsDefault
|
||||
url: /pages/api/typings-generator.istringvaluestypingsgeneratoroptions.exportasdefault
|
||||
- title: IStringValueTyping
|
||||
url: /pages/api/typings-generator.istringvaluetyping
|
||||
subitems:
|
||||
- title: comment
|
||||
url: /pages/api/typings-generator.istringvaluetyping.comment
|
||||
- title: exportName
|
||||
url: /pages/api/typings-generator.istringvaluetyping.exportname
|
||||
- title: IStringValueTypings
|
||||
url: /pages/api/typings-generator.istringvaluetypings
|
||||
subitems:
|
||||
- title: typings
|
||||
url: /pages/api/typings-generator.istringvaluetypings.typings
|
||||
- title: ITypingsGeneratorOptions
|
||||
url: /pages/api/typings-generator.itypingsgeneratoroptions
|
||||
subitems:
|
||||
- title: fileExtensions
|
||||
url: /pages/api/typings-generator.itypingsgeneratoroptions.fileextensions
|
||||
- title: filesToIgnore
|
||||
url: /pages/api/typings-generator.itypingsgeneratoroptions.filestoignore
|
||||
- title: generatedTsFolder
|
||||
url: /pages/api/typings-generator.itypingsgeneratoroptions.generatedtsfolder
|
||||
- title: parseAndGenerateTypings
|
||||
url: /pages/api/typings-generator.itypingsgeneratoroptions.parseandgeneratetypings
|
||||
- title: srcFolder
|
||||
url: /pages/api/typings-generator.itypingsgeneratoroptions.srcfolder
|
||||
- title: terminal
|
||||
url: /pages/api/typings-generator.itypingsgeneratoroptions.terminal
|
||||
- title: StringValuesTypingsGenerator
|
||||
url: /pages/api/typings-generator.stringvaluestypingsgenerator
|
||||
subitems:
|
||||
- title: (constructor)
|
||||
url: /pages/api/typings-generator.stringvaluestypingsgenerator._constructor_
|
||||
- title: TypingsGenerator
|
||||
url: /pages/api/typings-generator.typingsgenerator
|
||||
subitems:
|
||||
- title: _options
|
||||
url: /pages/api/typings-generator.typingsgenerator._options
|
||||
- title: (constructor)
|
||||
url: /pages/api/typings-generator.typingsgenerator._constructor_
|
||||
- title: generateTypings
|
||||
url: /pages/api/typings-generator.typingsgenerator.generatetypings
|
||||
- title: runWatcher
|
||||
url: /pages/api/typings-generator.typingsgenerator.runwatcher
|
||||
|
|
|
@ -20,6 +20,6 @@ export declare const enum ExcerptTokenKind
|
|||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| Content | <code>"Content"</code> | |
|
||||
| Reference | <code>"Reference"</code> | |
|
||||
| Content | <code>"Content"</code> | Generic text without any special properties |
|
||||
| Reference | <code>"Reference"</code> | A reference to an API declaration |
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ export declare class CompilerState
|
|||
|
||||
| Property | Modifiers | Type | Description |
|
||||
| --- | --- | --- | --- |
|
||||
| [program](./api-extractor.compilerstate.program.md) | | <code>ts.Program</code> | The TypeScript compiler's <code>Program</code> object, which represents a complete scope of analysis. |
|
||||
| [program](./api-extractor.compilerstate.program.md) | | <code>unknown</code> | The TypeScript compiler's <code>Program</code> object, which represents a complete scope of analysis. |
|
||||
|
||||
## Methods
|
||||
|
||||
|
|
|
@ -14,5 +14,5 @@ The TypeScript compiler's `Program` object, which represents a complete scope of
|
|||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
readonly program: ts.Program;
|
||||
readonly program: unknown;
|
||||
```
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@microsoft/api-extractor](./api-extractor.md) > [ExtractorConfig](./api-extractor.extractorconfig.md) > [bundledPackages](./api-extractor.extractorconfig.bundledpackages.md)
|
||||
|
||||
## ExtractorConfig.bundledPackages property
|
||||
|
||||
A list of NPM package names whose exports should be treated as part of this package.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
readonly bundledPackages: string[];
|
||||
```
|
||||
|
||||
## Remarks
|
||||
|
||||
For example, suppose that Webpack is used to generate a distributed bundle for the project `library1`<!-- -->, and another NPM package `library2` is embedded in this bundle. Some types from `library2` may become part of the exported API for `library1`<!-- -->, but by default API Extractor would generate a .d.ts rollup that explicitly imports `library2`<!-- -->. To avoid this, we can specify:
|
||||
|
||||
```js
|
||||
"bundledPackages": [ "library2" ],
|
||||
|
||||
```
|
||||
This would direct API Extractor to embed those types directly in the .d.ts rollup, as if they had been local files for `library1`<!-- -->.
|
||||
|
|
@ -24,11 +24,13 @@ export declare class ExtractorConfig
|
|||
| [apiJsonFilePath](./api-extractor.extractorconfig.apijsonfilepath.md) | | <code>string</code> | The output path for the doc model file. The file extension should be ".api.json". |
|
||||
| [apiReportEnabled](./api-extractor.extractorconfig.apireportenabled.md) | | <code>boolean</code> | Whether to generate an API report. |
|
||||
| [betaTrimmedFilePath](./api-extractor.extractorconfig.betatrimmedfilepath.md) | | <code>string</code> | Specifies the output path for a .d.ts rollup file to be generated with trimming for a "beta" release. |
|
||||
| [bundledPackages](./api-extractor.extractorconfig.bundledpackages.md) | | <code>string[]</code> | A list of NPM package names whose exports should be treated as part of this package. |
|
||||
| [docModelEnabled](./api-extractor.extractorconfig.docmodelenabled.md) | | <code>boolean</code> | Whether to generate a doc model file. |
|
||||
| [FILENAME](./api-extractor.extractorconfig.filename.md) | <code>static</code> | <code>string</code> | The config file name "api-extractor.json". |
|
||||
| [jsonSchema](./api-extractor.extractorconfig.jsonschema.md) | <code>static</code> | <code>JsonSchema</code> | The JSON Schema for API Extractor config file (api-extractor.schema.json). |
|
||||
| [mainEntryPointFilePath](./api-extractor.extractorconfig.mainentrypointfilepath.md) | | <code>string</code> | Specifies the .d.ts file to be used as the starting point for analysis. API Extractor analyzes the symbols exported by this module. |
|
||||
| [messages](./api-extractor.extractorconfig.messages.md) | | <code>IExtractorMessagesConfig</code> | Configures how API Extractor reports error and warning messages produced during analysis. |
|
||||
| [newlineKind](./api-extractor.extractorconfig.newlinekind.md) | | <code>NewlineKind</code> | Specifies what type of newlines API Extractor should use when writing output files. By default, the output files will be written with Windows-style newlines. |
|
||||
| [omitTrimmingComments](./api-extractor.extractorconfig.omittrimmingcomments.md) | | <code>boolean</code> | When a declaration is trimmed, by default it will be replaced by a code comment such as "Excluded from this release type: exampleMember". Set "omitTrimmingComments" to true to remove the declaration completely. |
|
||||
| [overrideTsconfig](./api-extractor.extractorconfig.overridetsconfig.md) | | <code>{} | undefined</code> | Provides a compiler configuration that will be used instead of reading the tsconfig.json file from disk. |
|
||||
| [packageFolder](./api-extractor.extractorconfig.packagefolder.md) | | <code>string | undefined</code> | The absolute path of the folder containing the package.json file for the working package, or undefined if API Extractor was invoked without a package.json file. |
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@microsoft/api-extractor](./api-extractor.md) > [ExtractorConfig](./api-extractor.extractorconfig.md) > [newlineKind](./api-extractor.extractorconfig.newlinekind.md)
|
||||
|
||||
## ExtractorConfig.newlineKind property
|
||||
|
||||
Specifies what type of newlines API Extractor should use when writing output files. By default, the output files will be written with Windows-style newlines.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
readonly newlineKind: NewlineKind;
|
||||
```
|
|
@ -21,7 +21,7 @@ export declare const enum ExtractorMessageId
|
|||
|
||||
| Member | Value | Description |
|
||||
| --- | --- | --- |
|
||||
| CyclicInheritDoc | <code>"ae-cyclic-inherit-doc"</code> | "The <code>@inheritDoc</code> tag for \_\_\_ refers to its own declaration". |
|
||||
| CyclicInheritDoc | <code>"ae-cyclic-inherit-doc"</code> | "The <code>@inheritDoc</code> tag for \_\_\_ refers to its own declaration." |
|
||||
| DifferentReleaseTags | <code>"ae-different-release-tags"</code> | "This symbol has another declaration with a different release tag." |
|
||||
| ExtraReleaseTag | <code>"ae-extra-release-tag"</code> | "The doc comment should not contain more than one release tag." |
|
||||
| ForgottenExport | <code>"ae-forgotten-export"</code> | "The symbol \_\_\_ needs to be exported by the entry point \_\_\_." |
|
||||
|
@ -29,12 +29,14 @@ export declare const enum ExtractorMessageId
|
|||
| InternalMissingUnderscore | <code>"ae-internal-missing-underscore"</code> | "The name \_\_\_ should be prefixed with an underscore because the declaration is marked as <code>@internal</code>." |
|
||||
| InternalMixedReleaseTag | <code>"ae-internal-mixed-release-tag"</code> | "Mixed release tags are not allowed for \_\_\_ because one of its declarations is marked as <code>@internal</code>." |
|
||||
| MisplacedPackageTag | <code>"ae-misplaced-package-tag"</code> | "The <code>@packageDocumentation</code> comment must appear at the top of entry point \*.d.ts file." |
|
||||
| MissingGetter | <code>"ae-missing-getter"</code> | "The property \_\_\_ has a setter but no getter." |
|
||||
| MissingReleaseTag | <code>"ae-missing-release-tag"</code> | "\_\_\_ is exported by the package, but it is missing a release tag (<code>@alpha</code>, <code>@beta</code>, <code>@public</code>, or <code>@internal</code>)." |
|
||||
| PreapprovedBadReleaseTag | <code>"ae-preapproved-bad-release-tag"</code> | "The <code>@preapproved</code> tag cannot be applied to \_\_\_ without an <code>@internal</code> release tag." |
|
||||
| PreapprovedUnsupportedType | <code>"ae-preapproved-unsupported-type"</code> | "The <code>@preapproved</code> tag cannot be applied to \_\_\_ because it is not a supported declaration type." |
|
||||
| UnresolvedInheritDocBase | <code>"ae-unresolved-inheritdoc-base"</code> | "The <code>@inheritDoc</code> tag needs a TSDoc declaration reference; signature matching is not supported yet". |
|
||||
| UnresolvedInheritDocReference | <code>"ae-unresolved-inheritdoc-reference"</code> | "The <code>@inheritDoc</code> reference could not be resolved". |
|
||||
| UnresolvedLink | <code>"ae-unresolved-link"</code> | "The <code>@link</code> reference could not be resolved". |
|
||||
| SetterWithDocs | <code>"ae-setter-with-docs"</code> | "The doc comment for the property \_\_\_ must appear on the getter, not the setter." |
|
||||
| UnresolvedInheritDocBase | <code>"ae-unresolved-inheritdoc-base"</code> | "The <code>@inheritDoc</code> tag needs a TSDoc declaration reference; signature matching is not supported yet." |
|
||||
| UnresolvedInheritDocReference | <code>"ae-unresolved-inheritdoc-reference"</code> | "The <code>@inheritDoc</code> reference could not be resolved." |
|
||||
| UnresolvedLink | <code>"ae-unresolved-link"</code> | "The <code>@link</code> reference could not be resolved." |
|
||||
|
||||
## Remarks
|
||||
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@microsoft/api-extractor](./api-extractor.md) > [IConfigFile](./api-extractor.iconfigfile.md) > [bundledPackages](./api-extractor.iconfigfile.bundledpackages.md)
|
||||
|
||||
## IConfigFile.bundledPackages property
|
||||
|
||||
A list of NPM package names whose exports should be treated as part of this package.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
bundledPackages?: string[];
|
||||
```
|
||||
|
||||
## Remarks
|
||||
|
||||
For example, suppose that Webpack is used to generate a distributed bundle for the project `library1`<!-- -->, and another NPM package `library2` is embedded in this bundle. Some types from `library2` may become part of the exported API for `library1`<!-- -->, but by default API Extractor would generate a .d.ts rollup that explicitly imports `library2`<!-- -->. To avoid this, we can specify:
|
||||
|
||||
```js
|
||||
"bundledPackages": [ "library2" ],
|
||||
|
||||
```
|
||||
This would direct API Extractor to embed those types directly in the .d.ts rollup, as if they had been local files for `library1`<!-- -->.
|
||||
|
|
@ -22,12 +22,14 @@ export interface IConfigFile
|
|||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [apiReport](./api-extractor.iconfigfile.apireport.md) | <code>IConfigApiReport</code> | Configures how the API report files (\*.api.md) will be generated. |
|
||||
| [bundledPackages](./api-extractor.iconfigfile.bundledpackages.md) | <code>string[]</code> | A list of NPM package names whose exports should be treated as part of this package. |
|
||||
| [compiler](./api-extractor.iconfigfile.compiler.md) | <code>IConfigCompiler</code> | Determines how the TypeScript compiler engine will be invoked by API Extractor. |
|
||||
| [docModel](./api-extractor.iconfigfile.docmodel.md) | <code>IConfigDocModel</code> | Configures how the doc model file (\*.api.json) will be generated. |
|
||||
| [dtsRollup](./api-extractor.iconfigfile.dtsrollup.md) | <code>IConfigDtsRollup</code> | <b><i>(BETA)</i></b> Configures how the .d.ts rollup file will be generated. |
|
||||
| [extends](./api-extractor.iconfigfile.extends.md) | <code>string</code> | Optionally specifies another JSON config file that this file extends from. This provides a way for standard settings to be shared across multiple projects. |
|
||||
| [mainEntryPointFilePath](./api-extractor.iconfigfile.mainentrypointfilepath.md) | <code>string</code> | Specifies the .d.ts file to be used as the starting point for analysis. API Extractor analyzes the symbols exported by this module. |
|
||||
| [messages](./api-extractor.iconfigfile.messages.md) | <code>IExtractorMessagesConfig</code> | Configures how API Extractor reports error and warning messages produced during analysis. |
|
||||
| [newlineKind](./api-extractor.iconfigfile.newlinekind.md) | <code>'crlf' | 'lf' | 'os'</code> | Specifies what type of newlines API Extractor should use when writing output files. |
|
||||
| [projectFolder](./api-extractor.iconfigfile.projectfolder.md) | <code>string</code> | Determines the <code><projectFolder></code> token that can be used with other config file settings. The project folder typically contains the tsconfig.json and package.json config files, but the path is user-defined. |
|
||||
| [testMode](./api-extractor.iconfigfile.testmode.md) | <code>boolean</code> | Set to true when invoking API Extractor's test harness. |
|
||||
| [tsdocMetadata](./api-extractor.iconfigfile.tsdocmetadata.md) | <code>IConfigTsdocMetadata</code> | <b><i>(BETA)</i></b> Configures how the tsdoc-metadata.json file will be generated. |
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@microsoft/api-extractor](./api-extractor.md) > [IConfigFile](./api-extractor.iconfigfile.md) > [newlineKind](./api-extractor.iconfigfile.newlinekind.md)
|
||||
|
||||
## IConfigFile.newlineKind property
|
||||
|
||||
Specifies what type of newlines API Extractor should use when writing output files.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
newlineKind?: 'crlf' | 'lf' | 'os';
|
||||
```
|
||||
|
||||
## Remarks
|
||||
|
||||
By default, the output files will be written with Windows-style newlines. To use POSIX-style newlines, specify "lf" instead. To use the OS's default newline kind, specify "os".
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) > [CertificateManager](./debug-certificate-manager.certificatemanager.md) > [(constructor)](./debug-certificate-manager.certificatemanager._constructor_.md)
|
||||
|
||||
## CertificateManager.(constructor)
|
||||
|
||||
Constructs a new instance of the `CertificateManager` class
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
constructor();
|
||||
```
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) > [CertificateManager](./debug-certificate-manager.certificatemanager.md) > [ensureCertificate](./debug-certificate-manager.certificatemanager.ensurecertificate.md)
|
||||
|
||||
## CertificateManager.ensureCertificate() method
|
||||
|
||||
Get a dev certificate from the store, or optionally, generate a new one and trust it if one doesn't exist in the store.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
ensureCertificate(canGenerateNewCertificate: boolean, terminal: Terminal): ICertificate;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| canGenerateNewCertificate | <code>boolean</code> | |
|
||||
| terminal | <code>Terminal</code> | |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
`ICertificate`
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) > [CertificateManager](./debug-certificate-manager.certificatemanager.md)
|
||||
|
||||
## CertificateManager class
|
||||
|
||||
A utility class to handle generating, trusting, and untrustring a debug certificate. Contains two public methods to `ensureCertificate` and `untrustCertificate`<!-- -->.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export declare class CertificateManager
|
||||
```
|
||||
|
||||
## Constructors
|
||||
|
||||
| Constructor | Modifiers | Description |
|
||||
| --- | --- | --- |
|
||||
| [(constructor)()](./debug-certificate-manager.certificatemanager._constructor_.md) | | Constructs a new instance of the <code>CertificateManager</code> class |
|
||||
|
||||
## Methods
|
||||
|
||||
| Method | Modifiers | Description |
|
||||
| --- | --- | --- |
|
||||
| [ensureCertificate(canGenerateNewCertificate, terminal)](./debug-certificate-manager.certificatemanager.ensurecertificate.md) | | Get a dev certificate from the store, or optionally, generate a new one and trust it if one doesn't exist in the store. |
|
||||
| [untrustCertificate(terminal)](./debug-certificate-manager.certificatemanager.untrustcertificate.md) | | Attempt to locate a previously generated debug certificate and untrust it. |
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) > [CertificateManager](./debug-certificate-manager.certificatemanager.md) > [untrustCertificate](./debug-certificate-manager.certificatemanager.untrustcertificate.md)
|
||||
|
||||
## CertificateManager.untrustCertificate() method
|
||||
|
||||
Attempt to locate a previously generated debug certificate and untrust it.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
untrustCertificate(terminal: Terminal): boolean;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| terminal | <code>Terminal</code> | |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
`boolean`
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) > [CertificateStore](./debug-certificate-manager.certificatestore.md) > [(constructor)](./debug-certificate-manager.certificatestore._constructor_.md)
|
||||
|
||||
## CertificateStore.(constructor)
|
||||
|
||||
Constructs a new instance of the `CertificateStore` class
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
constructor();
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) > [CertificateStore](./debug-certificate-manager.certificatestore.md) > [certificateData](./debug-certificate-manager.certificatestore.certificatedata.md)
|
||||
|
||||
## CertificateStore.certificateData property
|
||||
|
||||
Debug certificate pem file contents.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
certificateData: string | undefined;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) > [CertificateStore](./debug-certificate-manager.certificatestore.md) > [certificatePath](./debug-certificate-manager.certificatestore.certificatepath.md)
|
||||
|
||||
## CertificateStore.certificatePath property
|
||||
|
||||
Path to the saved debug certificate
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
readonly certificatePath: string;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) > [CertificateStore](./debug-certificate-manager.certificatestore.md) > [keyData](./debug-certificate-manager.certificatestore.keydata.md)
|
||||
|
||||
## CertificateStore.keyData property
|
||||
|
||||
Key used to sign the debug pem certificate.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
keyData: string | undefined;
|
||||
```
|
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) > [CertificateStore](./debug-certificate-manager.certificatestore.md)
|
||||
|
||||
## CertificateStore class
|
||||
|
||||
Store to retrieve and save debug certificate data.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export declare class CertificateStore
|
||||
```
|
||||
|
||||
## Constructors
|
||||
|
||||
| Constructor | Modifiers | Description |
|
||||
| --- | --- | --- |
|
||||
| [(constructor)()](./debug-certificate-manager.certificatestore._constructor_.md) | | Constructs a new instance of the <code>CertificateStore</code> class |
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Modifiers | Type | Description |
|
||||
| --- | --- | --- | --- |
|
||||
| [certificateData](./debug-certificate-manager.certificatestore.certificatedata.md) | | <code>string | undefined</code> | Debug certificate pem file contents. |
|
||||
| [certificatePath](./debug-certificate-manager.certificatestore.certificatepath.md) | | <code>string</code> | Path to the saved debug certificate |
|
||||
| [keyData](./debug-certificate-manager.certificatestore.keydata.md) | | <code>string | undefined</code> | Key used to sign the debug pem certificate. |
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) > [ICertificate](./debug-certificate-manager.icertificate.md)
|
||||
|
||||
## ICertificate interface
|
||||
|
||||
The interface for a debug certificate instance
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ICertificate
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [pemCertificate](./debug-certificate-manager.icertificate.pemcertificate.md) | <code>string | undefined</code> | Generated pem certificate contents |
|
||||
| [pemKey](./debug-certificate-manager.icertificate.pemkey.md) | <code>string | undefined</code> | Private key used to sign the pem certificate |
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) > [ICertificate](./debug-certificate-manager.icertificate.md) > [pemCertificate](./debug-certificate-manager.icertificate.pemcertificate.md)
|
||||
|
||||
## ICertificate.pemCertificate property
|
||||
|
||||
Generated pem certificate contents
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
pemCertificate: string | undefined;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) > [ICertificate](./debug-certificate-manager.icertificate.md) > [pemKey](./debug-certificate-manager.icertificate.pemkey.md)
|
||||
|
||||
## ICertificate.pemKey property
|
||||
|
||||
Private key used to sign the pem certificate
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
pemKey: string | undefined;
|
||||
```
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/debug-certificate-manager](./debug-certificate-manager.md)
|
||||
|
||||
## debug-certificate-manager package
|
||||
|
||||
This package is used to manage debug certificates for development servers. It is used by \[@<!-- -->microsoft/gulp-core-build-serve\](https://www.npmjs.com/package/<!-- -->@<!-- -->microsoft/gulp-core-build-serve) to generate and trust a certificate when HTTPS is turned on.
|
||||
|
||||
This package provides the following utilities: - `CertificateStore` to handle retrieving and saving a debug certificate. - `CertificateManager` is a utility class containing the following public methods: \| - `ensureCertificate` will find or optionally create a debug certificate and trust it. \| - `untrustCertificate` will untrust a debug certificate.
|
||||
|
||||
## Classes
|
||||
|
||||
| Class | Description |
|
||||
| --- | --- |
|
||||
| [CertificateManager](./debug-certificate-manager.certificatemanager.md) | A utility class to handle generating, trusting, and untrustring a debug certificate. Contains two public methods to <code>ensureCertificate</code> and <code>untrustCertificate</code>. |
|
||||
| [CertificateStore](./debug-certificate-manager.certificatestore.md) | Store to retrieve and save debug certificate data. |
|
||||
|
||||
## Interfaces
|
||||
|
||||
| Interface | Description |
|
||||
| --- | --- |
|
||||
| [ICertificate](./debug-certificate-manager.icertificate.md) | The interface for a debug certificate instance |
|
||||
|
|
@ -21,4 +21,7 @@ improve_this_button: false
|
|||
| [@microsoft/rush-lib](./rush-lib.md) | A library for writing scripts that interact with the [Rush](https://rushjs.io/) tool. |
|
||||
| [@microsoft/stream-collator](./stream-collator.md) | This library enables a tool to display live console output from multiple asynchronous processes, while ensuring that their output does not get jumbled together. |
|
||||
| [@microsoft/ts-command-line](./ts-command-line.md) | An object-oriented command-line parser for TypeScript projects. |
|
||||
| [@rushstack/debug-certificate-manager](./debug-certificate-manager.md) | This package is used to manage debug certificates for development servers. It is used by \[@<!-- -->microsoft/gulp-core-build-serve\](https://www.npmjs.com/package/<!-- -->@<!-- -->microsoft/gulp-core-build-serve) to generate and trust a certificate when HTTPS is turned on.<!-- -->This package provides the following utilities: - <code>CertificateStore</code> to handle retrieving and saving a debug certificate. - <code>CertificateManager</code> is a utility class containing the following public methods: \| - <code>ensureCertificate</code> will find or optionally create a debug certificate and trust it. \| - <code>untrustCertificate</code> will untrust a debug certificate. |
|
||||
| [@rushstack/localization-plugin](./localization-plugin.md) | |
|
||||
| [@rushstack/typings-generator](./typings-generator.md) | |
|
||||
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IDefaultLocaleOptions](./localization-plugin.idefaultlocaleoptions.md) > [fillMissingTranslationStrings](./localization-plugin.idefaultlocaleoptions.fillmissingtranslationstrings.md)
|
||||
|
||||
## IDefaultLocaleOptions.fillMissingTranslationStrings property
|
||||
|
||||
If this option is set to `true`<!-- -->, strings that are missing from `localizedData.translatedStrings` will be provided by the default locale
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
fillMissingTranslationStrings?: boolean;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IDefaultLocaleOptions](./localization-plugin.idefaultlocaleoptions.md) > [localeName](./localization-plugin.idefaultlocaleoptions.localename.md)
|
||||
|
||||
## IDefaultLocaleOptions.localeName property
|
||||
|
||||
This required property specifies the name of the locale used in the `.resx` and `.loc.json` files in the source
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
localeName: string;
|
||||
```
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IDefaultLocaleOptions](./localization-plugin.idefaultlocaleoptions.md)
|
||||
|
||||
## IDefaultLocaleOptions interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface IDefaultLocaleOptions
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [fillMissingTranslationStrings](./localization-plugin.idefaultlocaleoptions.fillmissingtranslationstrings.md) | <code>boolean</code> | If this option is set to <code>true</code>, strings that are missing from <code>localizedData.translatedStrings</code> will be provided by the default locale |
|
||||
| [localeName](./localization-plugin.idefaultlocaleoptions.localename.md) | <code>string</code> | This required property specifies the name of the locale used in the <code>.resx</code> and <code>.loc.json</code> files in the source |
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocaleData](./localization-plugin.ilocaledata.md)
|
||||
|
||||
## ILocaleData interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ILocaleData
|
||||
```
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocaleElementMap](./localization-plugin.ilocaleelementmap.md)
|
||||
|
||||
## ILocaleElementMap interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ILocaleElementMap
|
||||
```
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocaleFileData](./localization-plugin.ilocalefiledata.md)
|
||||
|
||||
## ILocaleFileData interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ILocaleFileData
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationPluginOptions](./localization-plugin.ilocalizationpluginoptions.md) > [filesToIgnore](./localization-plugin.ilocalizationpluginoptions.filestoignore.md)
|
||||
|
||||
## ILocalizationPluginOptions.filesToIgnore property
|
||||
|
||||
This option is used to specify `.resx` and `.loc.json` files that should not be processed by this plugin.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
filesToIgnore?: string[];
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationPluginOptions](./localization-plugin.ilocalizationpluginoptions.md) > [localizationStats](./localization-plugin.ilocalizationpluginoptions.localizationstats.md)
|
||||
|
||||
## ILocalizationPluginOptions.localizationStats property
|
||||
|
||||
Options for how localization stats data should be produced.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
localizationStats?: ILocalizationStatsOptions;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationPluginOptions](./localization-plugin.ilocalizationpluginoptions.md) > [localizedData](./localization-plugin.ilocalizationpluginoptions.localizeddata.md)
|
||||
|
||||
## ILocalizationPluginOptions.localizedData property
|
||||
|
||||
Localization data.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
localizedData: ILocalizedData;
|
||||
```
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationPluginOptions](./localization-plugin.ilocalizationpluginoptions.md)
|
||||
|
||||
## ILocalizationPluginOptions interface
|
||||
|
||||
The options for localization.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ILocalizationPluginOptions
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [filesToIgnore](./localization-plugin.ilocalizationpluginoptions.filestoignore.md) | <code>string[]</code> | This option is used to specify <code>.resx</code> and <code>.loc.json</code> files that should not be processed by this plugin. |
|
||||
| [localizationStats](./localization-plugin.ilocalizationpluginoptions.localizationstats.md) | <code>ILocalizationStatsOptions</code> | Options for how localization stats data should be produced. |
|
||||
| [localizedData](./localization-plugin.ilocalizationpluginoptions.localizeddata.md) | <code>ILocalizedData</code> | Localization data. |
|
||||
| [noStringsLocaleName](./localization-plugin.ilocalizationpluginoptions.nostringslocalename.md) | <code>string</code> | The value to replace the \[locale\] token with for chunks without localized strings. Defaults to "none" |
|
||||
| [typingsOptions](./localization-plugin.ilocalizationpluginoptions.typingsoptions.md) | <code>ITypingsGenerationOptions</code> | This option is used to specify how and if TypeScript typings should be generated for loc files. |
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationPluginOptions](./localization-plugin.ilocalizationpluginoptions.md) > [noStringsLocaleName](./localization-plugin.ilocalizationpluginoptions.nostringslocalename.md)
|
||||
|
||||
## ILocalizationPluginOptions.noStringsLocaleName property
|
||||
|
||||
The value to replace the \[locale\] token with for chunks without localized strings. Defaults to "none"
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
noStringsLocaleName?: string;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationPluginOptions](./localization-plugin.ilocalizationpluginoptions.md) > [typingsOptions](./localization-plugin.ilocalizationpluginoptions.typingsoptions.md)
|
||||
|
||||
## ILocalizationPluginOptions.typingsOptions property
|
||||
|
||||
This option is used to specify how and if TypeScript typings should be generated for loc files.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
typingsOptions?: ITypingsGenerationOptions;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationStats](./localization-plugin.ilocalizationstats.md) > [entrypoints](./localization-plugin.ilocalizationstats.entrypoints.md)
|
||||
|
||||
## ILocalizationStats.entrypoints property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
entrypoints: {
|
||||
[name: string]: ILocalizationStatsEntrypoint;
|
||||
};
|
||||
```
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationStats](./localization-plugin.ilocalizationstats.md)
|
||||
|
||||
## ILocalizationStats interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ILocalizationStats
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [entrypoints](./localization-plugin.ilocalizationstats.entrypoints.md) | <code>{</code><br/><code> [name: string]: ILocalizationStatsEntrypoint;</code><br/><code> }</code> | |
|
||||
| [namedChunkGroups](./localization-plugin.ilocalizationstats.namedchunkgroups.md) | <code>{</code><br/><code> [name: string]: ILocalizationStatsChunkGroup;</code><br/><code> }</code> | |
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationStats](./localization-plugin.ilocalizationstats.md) > [namedChunkGroups](./localization-plugin.ilocalizationstats.namedchunkgroups.md)
|
||||
|
||||
## ILocalizationStats.namedChunkGroups property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
namedChunkGroups: {
|
||||
[name: string]: ILocalizationStatsChunkGroup;
|
||||
};
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationStatsChunkGroup](./localization-plugin.ilocalizationstatschunkgroup.md) > [localizedAssets](./localization-plugin.ilocalizationstatschunkgroup.localizedassets.md)
|
||||
|
||||
## ILocalizationStatsChunkGroup.localizedAssets property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
localizedAssets: ILocaleElementMap;
|
||||
```
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationStatsChunkGroup](./localization-plugin.ilocalizationstatschunkgroup.md)
|
||||
|
||||
## ILocalizationStatsChunkGroup interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ILocalizationStatsChunkGroup
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [localizedAssets](./localization-plugin.ilocalizationstatschunkgroup.localizedassets.md) | <code>ILocaleElementMap</code> | |
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationStatsEntrypoint](./localization-plugin.ilocalizationstatsentrypoint.md) > [localizedAssets](./localization-plugin.ilocalizationstatsentrypoint.localizedassets.md)
|
||||
|
||||
## ILocalizationStatsEntrypoint.localizedAssets property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
localizedAssets: ILocaleElementMap;
|
||||
```
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationStatsEntrypoint](./localization-plugin.ilocalizationstatsentrypoint.md)
|
||||
|
||||
## ILocalizationStatsEntrypoint interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ILocalizationStatsEntrypoint
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [localizedAssets](./localization-plugin.ilocalizationstatsentrypoint.localizedassets.md) | <code>ILocaleElementMap</code> | |
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationStatsOptions](./localization-plugin.ilocalizationstatsoptions.md) > [callback](./localization-plugin.ilocalizationstatsoptions.callback.md)
|
||||
|
||||
## ILocalizationStatsOptions.callback property
|
||||
|
||||
This option is used to specify a callback to be called with the stats data that would be dropped at `localizationStats.dropPath` after compilation completes.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
callback?: (stats: ILocalizationStats) => void;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationStatsOptions](./localization-plugin.ilocalizationstatsoptions.md) > [dropPath](./localization-plugin.ilocalizationstatsoptions.droppath.md)
|
||||
|
||||
## ILocalizationStatsOptions.dropPath property
|
||||
|
||||
This option is used to designate a path at which a JSON file describing the localized assets produced should be written.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
dropPath?: string;
|
||||
```
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizationStatsOptions](./localization-plugin.ilocalizationstatsoptions.md)
|
||||
|
||||
## ILocalizationStatsOptions interface
|
||||
|
||||
Options for how localization stats data should be produced.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ILocalizationStatsOptions
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [callback](./localization-plugin.ilocalizationstatsoptions.callback.md) | <code>(stats: ILocalizationStats) => void</code> | This option is used to specify a callback to be called with the stats data that would be dropped at <code>localizationStats.dropPath</code> after compilation completes. |
|
||||
| [dropPath](./localization-plugin.ilocalizationstatsoptions.droppath.md) | <code>string</code> | This option is used to designate a path at which a JSON file describing the localized assets produced should be written. |
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizedData](./localization-plugin.ilocalizeddata.md) > [defaultLocale](./localization-plugin.ilocalizeddata.defaultlocale.md)
|
||||
|
||||
## ILocalizedData.defaultLocale property
|
||||
|
||||
Options for the locale used in the source localized data files.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
defaultLocale: IDefaultLocaleOptions;
|
||||
```
|
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizedData](./localization-plugin.ilocalizeddata.md)
|
||||
|
||||
## ILocalizedData interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ILocalizedData
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [defaultLocale](./localization-plugin.ilocalizeddata.defaultlocale.md) | <code>IDefaultLocaleOptions</code> | Options for the locale used in the source localized data files. |
|
||||
| [passthroughLocale](./localization-plugin.ilocalizeddata.passthroughlocale.md) | <code>IPassthroughLocaleOptions</code> | Options around including a passthrough locale. |
|
||||
| [pseudolocales](./localization-plugin.ilocalizeddata.pseudolocales.md) | <code>IPseudolocalesOptions</code> | Options for pseudo-localization. |
|
||||
| [translatedStrings](./localization-plugin.ilocalizeddata.translatedstrings.md) | <code>ILocalizedStrings</code> | Use this parameter to specify the translated data. |
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizedData](./localization-plugin.ilocalizeddata.md) > [passthroughLocale](./localization-plugin.ilocalizeddata.passthroughlocale.md)
|
||||
|
||||
## ILocalizedData.passthroughLocale property
|
||||
|
||||
Options around including a passthrough locale.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
passthroughLocale?: IPassthroughLocaleOptions;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizedData](./localization-plugin.ilocalizeddata.md) > [pseudolocales](./localization-plugin.ilocalizeddata.pseudolocales.md)
|
||||
|
||||
## ILocalizedData.pseudolocales property
|
||||
|
||||
Options for pseudo-localization.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
pseudolocales?: IPseudolocalesOptions;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizedData](./localization-plugin.ilocalizeddata.md) > [translatedStrings](./localization-plugin.ilocalizeddata.translatedstrings.md)
|
||||
|
||||
## ILocalizedData.translatedStrings property
|
||||
|
||||
Use this parameter to specify the translated data.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
translatedStrings: ILocalizedStrings;
|
||||
```
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizedStrings](./localization-plugin.ilocalizedstrings.md)
|
||||
|
||||
## ILocalizedStrings interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ILocalizedStrings
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizedWebpackChunk](./localization-plugin.ilocalizedwebpackchunk.md) > [localizedFiles](./localization-plugin.ilocalizedwebpackchunk.localizedfiles.md)
|
||||
|
||||
## ILocalizedWebpackChunk.localizedFiles property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
localizedFiles?: {
|
||||
[locale: string]: string;
|
||||
};
|
||||
```
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ILocalizedWebpackChunk](./localization-plugin.ilocalizedwebpackchunk.md)
|
||||
|
||||
## ILocalizedWebpackChunk interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ILocalizedWebpackChunk extends webpack.compilation.Chunk
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [localizedFiles](./localization-plugin.ilocalizedwebpackchunk.localizedfiles.md) | <code>{</code><br/><code> [locale: string]: string;</code><br/><code> }</code> | |
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IPassthroughLocaleOptions](./localization-plugin.ipassthroughlocaleoptions.md)
|
||||
|
||||
## IPassthroughLocaleOptions interface
|
||||
|
||||
Options for the passthrough locale.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface IPassthroughLocaleOptions
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [passthroughLocaleName](./localization-plugin.ipassthroughlocaleoptions.passthroughlocalename.md) | <code>string</code> | If [IPassthroughLocaleOptions.usePassthroughLocale](./localization-plugin.ipassthroughlocaleoptions.usepassthroughlocale.md) is set, use this name for the passthrough locale. Defaults to "passthrough" |
|
||||
| [usePassthroughLocale](./localization-plugin.ipassthroughlocaleoptions.usepassthroughlocale.md) | <code>boolean</code> | If this is set to <code>true</code>, a passthrough locale will be included in the output |
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IPassthroughLocaleOptions](./localization-plugin.ipassthroughlocaleoptions.md) > [passthroughLocaleName](./localization-plugin.ipassthroughlocaleoptions.passthroughlocalename.md)
|
||||
|
||||
## IPassthroughLocaleOptions.passthroughLocaleName property
|
||||
|
||||
If [IPassthroughLocaleOptions.usePassthroughLocale](./localization-plugin.ipassthroughlocaleoptions.usepassthroughlocale.md) is set, use this name for the passthrough locale. Defaults to "passthrough"
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
passthroughLocaleName?: string;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IPassthroughLocaleOptions](./localization-plugin.ipassthroughlocaleoptions.md) > [usePassthroughLocale](./localization-plugin.ipassthroughlocaleoptions.usepassthroughlocale.md)
|
||||
|
||||
## IPassthroughLocaleOptions.usePassthroughLocale property
|
||||
|
||||
If this is set to `true`<!-- -->, a passthrough locale will be included in the output
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
usePassthroughLocale?: boolean;
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IPseudolocaleOptions](./localization-plugin.ipseudolocaleoptions.md) > [append](./localization-plugin.ipseudolocaleoptions.append.md)
|
||||
|
||||
## IPseudolocaleOptions.append property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
append?: string;
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IPseudolocaleOptions](./localization-plugin.ipseudolocaleoptions.md) > [delimiter](./localization-plugin.ipseudolocaleoptions.delimiter.md)
|
||||
|
||||
## IPseudolocaleOptions.delimiter property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
delimiter?: string;
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IPseudolocaleOptions](./localization-plugin.ipseudolocaleoptions.md) > [endDelimiter](./localization-plugin.ipseudolocaleoptions.enddelimiter.md)
|
||||
|
||||
## IPseudolocaleOptions.endDelimiter property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
endDelimiter?: string;
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IPseudolocaleOptions](./localization-plugin.ipseudolocaleoptions.md) > [extend](./localization-plugin.ipseudolocaleoptions.extend.md)
|
||||
|
||||
## IPseudolocaleOptions.extend property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
extend?: number;
|
||||
```
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IPseudolocaleOptions](./localization-plugin.ipseudolocaleoptions.md)
|
||||
|
||||
## IPseudolocaleOptions interface
|
||||
|
||||
Options for the pseudolocale library.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface IPseudolocaleOptions
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [append](./localization-plugin.ipseudolocaleoptions.append.md) | <code>string</code> | |
|
||||
| [delimiter](./localization-plugin.ipseudolocaleoptions.delimiter.md) | <code>string</code> | |
|
||||
| [endDelimiter](./localization-plugin.ipseudolocaleoptions.enddelimiter.md) | <code>string</code> | |
|
||||
| [extend](./localization-plugin.ipseudolocaleoptions.extend.md) | <code>number</code> | |
|
||||
| [override](./localization-plugin.ipseudolocaleoptions.override.md) | <code>string</code> | |
|
||||
| [prepend](./localization-plugin.ipseudolocaleoptions.prepend.md) | <code>string</code> | |
|
||||
| [startDelimiter](./localization-plugin.ipseudolocaleoptions.startdelimiter.md) | <code>string</code> | |
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IPseudolocaleOptions](./localization-plugin.ipseudolocaleoptions.md) > [override](./localization-plugin.ipseudolocaleoptions.override.md)
|
||||
|
||||
## IPseudolocaleOptions.override property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
override?: string;
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IPseudolocaleOptions](./localization-plugin.ipseudolocaleoptions.md) > [prepend](./localization-plugin.ipseudolocaleoptions.prepend.md)
|
||||
|
||||
## IPseudolocaleOptions.prepend property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
prepend?: string;
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IPseudolocaleOptions](./localization-plugin.ipseudolocaleoptions.md) > [startDelimiter](./localization-plugin.ipseudolocaleoptions.startdelimiter.md)
|
||||
|
||||
## IPseudolocaleOptions.startDelimiter property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
startDelimiter?: string;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [IPseudolocalesOptions](./localization-plugin.ipseudolocalesoptions.md)
|
||||
|
||||
## IPseudolocalesOptions interface
|
||||
|
||||
Options for generated pseudolocales.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface IPseudolocalesOptions
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ITypingsGenerationOptions](./localization-plugin.itypingsgenerationoptions.md) > [exportAsDefault](./localization-plugin.itypingsgenerationoptions.exportasdefault.md)
|
||||
|
||||
## ITypingsGenerationOptions.exportAsDefault property
|
||||
|
||||
If this option is set to `true`<!-- -->, loc modules typings will be exported wrapped in a `default` property.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
exportAsDefault?: boolean;
|
||||
```
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ITypingsGenerationOptions](./localization-plugin.itypingsgenerationoptions.md) > [generatedTsFolder](./localization-plugin.itypingsgenerationoptions.generatedtsfolder.md)
|
||||
|
||||
## ITypingsGenerationOptions.generatedTsFolder property
|
||||
|
||||
This property specifies the folder in which `.d.ts` files for loc files should be dropped.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
generatedTsFolder: string;
|
||||
```
|
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ITypingsGenerationOptions](./localization-plugin.itypingsgenerationoptions.md)
|
||||
|
||||
## ITypingsGenerationOptions interface
|
||||
|
||||
Options for typing generation.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ITypingsGenerationOptions
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [exportAsDefault](./localization-plugin.itypingsgenerationoptions.exportasdefault.md) | <code>boolean</code> | If this option is set to <code>true</code>, loc modules typings will be exported wrapped in a <code>default</code> property. |
|
||||
| [generatedTsFolder](./localization-plugin.itypingsgenerationoptions.generatedtsfolder.md) | <code>string</code> | This property specifies the folder in which <code>.d.ts</code> files for loc files should be dropped. |
|
||||
| [sourceRoot](./localization-plugin.itypingsgenerationoptions.sourceroot.md) | <code>string</code> | This optional property overrides the compiler context for discovery of localization files for which typings should be generated. |
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ITypingsGenerationOptions](./localization-plugin.itypingsgenerationoptions.md) > [sourceRoot](./localization-plugin.itypingsgenerationoptions.sourceroot.md)
|
||||
|
||||
## ITypingsGenerationOptions.sourceRoot property
|
||||
|
||||
This optional property overrides the compiler context for discovery of localization files for which typings should be generated.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
sourceRoot?: string;
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ITypingsGeneratorOptions](./localization-plugin.itypingsgeneratoroptions.md) > [exportAsDefault](./localization-plugin.itypingsgeneratoroptions.exportasdefault.md)
|
||||
|
||||
## ITypingsGeneratorOptions.exportAsDefault property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
exportAsDefault?: boolean;
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ITypingsGeneratorOptions](./localization-plugin.itypingsgeneratoroptions.md) > [filesToIgnore](./localization-plugin.itypingsgeneratoroptions.filestoignore.md)
|
||||
|
||||
## ITypingsGeneratorOptions.filesToIgnore property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
filesToIgnore?: string[];
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ITypingsGeneratorOptions](./localization-plugin.itypingsgeneratoroptions.md) > [generatedTsFolder](./localization-plugin.itypingsgeneratoroptions.generatedtsfolder.md)
|
||||
|
||||
## ITypingsGeneratorOptions.generatedTsFolder property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
generatedTsFolder: string;
|
||||
```
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ITypingsGeneratorOptions](./localization-plugin.itypingsgeneratoroptions.md)
|
||||
|
||||
## ITypingsGeneratorOptions interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface ITypingsGeneratorOptions
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [exportAsDefault](./localization-plugin.itypingsgeneratoroptions.exportasdefault.md) | <code>boolean</code> | |
|
||||
| [filesToIgnore](./localization-plugin.itypingsgeneratoroptions.filestoignore.md) | <code>string[]</code> | |
|
||||
| [generatedTsFolder](./localization-plugin.itypingsgeneratoroptions.generatedtsfolder.md) | <code>string</code> | |
|
||||
| [srcFolder](./localization-plugin.itypingsgeneratoroptions.srcfolder.md) | <code>string</code> | |
|
||||
| [terminal](./localization-plugin.itypingsgeneratoroptions.terminal.md) | <code>Terminal</code> | |
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ITypingsGeneratorOptions](./localization-plugin.itypingsgeneratoroptions.md) > [srcFolder](./localization-plugin.itypingsgeneratoroptions.srcfolder.md)
|
||||
|
||||
## ITypingsGeneratorOptions.srcFolder property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
srcFolder: string;
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [ITypingsGeneratorOptions](./localization-plugin.itypingsgeneratoroptions.md) > [terminal](./localization-plugin.itypingsgeneratoroptions.terminal.md)
|
||||
|
||||
## ITypingsGeneratorOptions.terminal property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
terminal?: Terminal;
|
||||
```
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [LocalizationPlugin](./localization-plugin.localizationplugin.md) > [(constructor)](./localization-plugin.localizationplugin._constructor_.md)
|
||||
|
||||
## LocalizationPlugin.(constructor)
|
||||
|
||||
Constructs a new instance of the `LocalizationPlugin` class
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
constructor(options: ILocalizationPluginOptions);
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| options | <code>ILocalizationPluginOptions</code> | |
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [LocalizationPlugin](./localization-plugin.localizationplugin.md) > [apply](./localization-plugin.localizationplugin.apply.md)
|
||||
|
||||
## LocalizationPlugin.apply() method
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
apply(compiler: Webpack.Compiler): void;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| compiler | <code>Webpack.Compiler</code> | |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
`void`
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [LocalizationPlugin](./localization-plugin.localizationplugin.md)
|
||||
|
||||
## LocalizationPlugin class
|
||||
|
||||
This plugin facilitates localization in webpack.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export declare class LocalizationPlugin implements Webpack.Plugin
|
||||
```
|
||||
|
||||
## Constructors
|
||||
|
||||
| Constructor | Modifiers | Description |
|
||||
| --- | --- | --- |
|
||||
| [(constructor)(options)](./localization-plugin.localizationplugin._constructor_.md) | | Constructs a new instance of the <code>LocalizationPlugin</code> class |
|
||||
|
||||
## Methods
|
||||
|
||||
| Method | Modifiers | Description |
|
||||
| --- | --- | --- |
|
||||
| [apply(compiler)](./localization-plugin.localizationplugin.apply.md) | | |
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md)
|
||||
|
||||
## localization-plugin package
|
||||
|
||||
## Classes
|
||||
|
||||
| Class | Description |
|
||||
| --- | --- |
|
||||
| [LocalizationPlugin](./localization-plugin.localizationplugin.md) | This plugin facilitates localization in webpack. |
|
||||
| [TypingsGenerator](./localization-plugin.typingsgenerator.md) | This is a simple tool that generates .d.ts files for .loc.json and .resx files. |
|
||||
|
||||
## Interfaces
|
||||
|
||||
| Interface | Description |
|
||||
| --- | --- |
|
||||
| [IDefaultLocaleOptions](./localization-plugin.idefaultlocaleoptions.md) | |
|
||||
| [ILocaleData](./localization-plugin.ilocaledata.md) | |
|
||||
| [ILocaleElementMap](./localization-plugin.ilocaleelementmap.md) | |
|
||||
| [ILocaleFileData](./localization-plugin.ilocalefiledata.md) | |
|
||||
| [ILocalizationPluginOptions](./localization-plugin.ilocalizationpluginoptions.md) | The options for localization. |
|
||||
| [ILocalizationStats](./localization-plugin.ilocalizationstats.md) | |
|
||||
| [ILocalizationStatsChunkGroup](./localization-plugin.ilocalizationstatschunkgroup.md) | |
|
||||
| [ILocalizationStatsEntrypoint](./localization-plugin.ilocalizationstatsentrypoint.md) | |
|
||||
| [ILocalizationStatsOptions](./localization-plugin.ilocalizationstatsoptions.md) | Options for how localization stats data should be produced. |
|
||||
| [ILocalizedData](./localization-plugin.ilocalizeddata.md) | |
|
||||
| [ILocalizedStrings](./localization-plugin.ilocalizedstrings.md) | |
|
||||
| [ILocalizedWebpackChunk](./localization-plugin.ilocalizedwebpackchunk.md) | |
|
||||
| [IPassthroughLocaleOptions](./localization-plugin.ipassthroughlocaleoptions.md) | Options for the passthrough locale. |
|
||||
| [IPseudolocaleOptions](./localization-plugin.ipseudolocaleoptions.md) | Options for the pseudolocale library. |
|
||||
| [IPseudolocalesOptions](./localization-plugin.ipseudolocalesoptions.md) | Options for generated pseudolocales. |
|
||||
| [ITypingsGenerationOptions](./localization-plugin.itypingsgenerationoptions.md) | Options for typing generation. |
|
||||
| [ITypingsGeneratorOptions](./localization-plugin.itypingsgeneratoroptions.md) | |
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [TypingsGenerator](./localization-plugin.typingsgenerator.md) > [(constructor)](./localization-plugin.typingsgenerator._constructor_.md)
|
||||
|
||||
## TypingsGenerator.(constructor)
|
||||
|
||||
Constructs a new instance of the `LocFileTypingsGenerator` class
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
constructor(options: ITypingsGeneratorOptions);
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| options | <code>ITypingsGeneratorOptions</code> | |
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
layout: page
|
||||
navigation_source: api_nav
|
||||
improve_this_button: false
|
||||
---
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [@rushstack/localization-plugin](./localization-plugin.md) > [TypingsGenerator](./localization-plugin.typingsgenerator.md)
|
||||
|
||||
## TypingsGenerator class
|
||||
|
||||
This is a simple tool that generates .d.ts files for .loc.json and .resx files.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export declare class LocFileTypingsGenerator extends StringValuesTypingsGenerator
|
||||
```
|
||||
|
||||
## Constructors
|
||||
|
||||
| Constructor | Modifiers | Description |
|
||||
| --- | --- | --- |
|
||||
| [(constructor)(options)](./localization-plugin.typingsgenerator._constructor_.md) | | Constructs a new instance of the <code>LocFileTypingsGenerator</code> class |
|
||||
|
|
@ -14,7 +14,7 @@ Reads the contents of the folder, not including "." or "..". Behind the scenes i
|
|||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
static readFolder(folderPath: string, options?: IFileSystemReadFolderOptions): Array<string>;
|
||||
static readFolder(folderPath: string, options?: IFileSystemReadFolderOptions): string[];
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
@ -26,5 +26,5 @@ static readFolder(folderPath: string, options?: IFileSystemReadFolderOptions): A
|
|||
|
||||
<b>Returns:</b>
|
||||
|
||||
`Array<string>`
|
||||
`string[]`
|
||||
|
||||
|
|
|
@ -21,5 +21,5 @@ export interface IFileSystemDeleteFileOptions
|
|||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [throwIfNotExists](./node-core-library.ifilesystemdeletefileoptions.throwifnotexists.md) | <code>boolean</code> | If true, will throw an exception if the file did not exist before <code>deleteFile()</code> was called. Defaults to <code>false</code>. |
|
||||
| [throwIfNotExists](./node-core-library.ifilesystemdeletefileoptions.throwifnotexists.md) | <code>boolean</code> | If true, will throw an exception if the file did not exist before <code>deleteFile()</code> was called. |
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ improve_this_button: false
|
|||
|
||||
## IFileSystemDeleteFileOptions.throwIfNotExists property
|
||||
|
||||
If true, will throw an exception if the file did not exist before `deleteFile()` was called. Defaults to `false`<!-- -->.
|
||||
If true, will throw an exception if the file did not exist before `deleteFile()` was called.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ improve_this_button: false
|
|||
|
||||
## IFileSystemMoveOptions.ensureFolderExists property
|
||||
|
||||
If true, will ensure the folder is created before writing the file. Defaults to `false`<!-- -->.
|
||||
If true, will ensure the folder is created before writing the file.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ export interface IFileSystemMoveOptions
|
|||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [destinationPath](./node-core-library.ifilesystemmoveoptions.destinationpath.md) | <code>string</code> | The new path for the object. The path may be absolute or relative. |
|
||||
| [ensureFolderExists](./node-core-library.ifilesystemmoveoptions.ensurefolderexists.md) | <code>boolean</code> | If true, will ensure the folder is created before writing the file. Defaults to <code>false</code>. |
|
||||
| [overwrite](./node-core-library.ifilesystemmoveoptions.overwrite.md) | <code>boolean</code> | If true, will overwrite the file if it already exists. Defaults to true. |
|
||||
| [ensureFolderExists](./node-core-library.ifilesystemmoveoptions.ensurefolderexists.md) | <code>boolean</code> | If true, will ensure the folder is created before writing the file. |
|
||||
| [overwrite](./node-core-library.ifilesystemmoveoptions.overwrite.md) | <code>boolean</code> | If true, will overwrite the file if it already exists. |
|
||||
| [sourcePath](./node-core-library.ifilesystemmoveoptions.sourcepath.md) | <code>string</code> | The path of the existing object to be moved. The path may be absolute or relative. |
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ improve_this_button: false
|
|||
|
||||
## IFileSystemMoveOptions.overwrite property
|
||||
|
||||
If true, will overwrite the file if it already exists. Defaults to true.
|
||||
If true, will overwrite the file if it already exists.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ improve_this_button: false
|
|||
|
||||
## IFileSystemReadFileOptions.convertLineEndings property
|
||||
|
||||
If specified, will normalize line endings to the specified style of newline. Defaults to `NewlineKind.None`<!-- -->.
|
||||
If specified, will normalize line endings to the specified style of newline.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ improve_this_button: false
|
|||
|
||||
## IFileSystemReadFileOptions.encoding property
|
||||
|
||||
If specified, will change the encoding of the file that will be written. Defaults to `"utf8"`<!-- -->.
|
||||
If specified, will change the encoding of the file that will be written.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
|
|
@ -21,6 +21,6 @@ export interface IFileSystemReadFileOptions
|
|||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [convertLineEndings](./node-core-library.ifilesystemreadfileoptions.convertlineendings.md) | <code>NewlineKind</code> | If specified, will normalize line endings to the specified style of newline. Defaults to <code>NewlineKind.None</code>. |
|
||||
| [encoding](./node-core-library.ifilesystemreadfileoptions.encoding.md) | <code>Encoding</code> | If specified, will change the encoding of the file that will be written. Defaults to <code>"utf8"</code>. |
|
||||
| [convertLineEndings](./node-core-library.ifilesystemreadfileoptions.convertlineendings.md) | <code>NewlineKind</code> | If specified, will normalize line endings to the specified style of newline. |
|
||||
| [encoding](./node-core-library.ifilesystemreadfileoptions.encoding.md) | <code>Encoding</code> | If specified, will change the encoding of the file that will be written. |
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ improve_this_button: false
|
|||
|
||||
## IFileSystemReadFolderOptions.absolutePaths property
|
||||
|
||||
If true, returns the absolute paths of the files in the folder. Defaults to `false`<!-- -->.
|
||||
If true, returns the absolute paths of the files in the folder.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
|
|
@ -21,5 +21,5 @@ export interface IFileSystemReadFolderOptions
|
|||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [absolutePaths](./node-core-library.ifilesystemreadfolderoptions.absolutepaths.md) | <code>boolean</code> | If true, returns the absolute paths of the files in the folder. Defaults to <code>false</code>. |
|
||||
| [absolutePaths](./node-core-library.ifilesystemreadfolderoptions.absolutepaths.md) | <code>boolean</code> | If true, returns the absolute paths of the files in the folder. |
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ improve_this_button: false
|
|||
|
||||
## IFileSystemWriteFileOptions.convertLineEndings property
|
||||
|
||||
If specified, will normalize line endings to the specified style of newline. Defaults to `NewlineKind.None`<!-- -->.
|
||||
If specified, will normalize line endings to the specified style of newline.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ improve_this_button: false
|
|||
|
||||
## IFileSystemWriteFileOptions.encoding property
|
||||
|
||||
If specified, will change the encoding of the file that will be written. Defaults to `"utf8"`<!-- -->.
|
||||
If specified, will change the encoding of the file that will be written.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ improve_this_button: false
|
|||
|
||||
## IFileSystemWriteFileOptions.ensureFolderExists property
|
||||
|
||||
If true, will ensure the folder is created before writing the file. Defaults to `false`<!-- -->.
|
||||
If true, will ensure the folder is created before writing the file.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ export interface IFileSystemWriteFileOptions
|
|||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [convertLineEndings](./node-core-library.ifilesystemwritefileoptions.convertlineendings.md) | <code>NewlineKind</code> | If specified, will normalize line endings to the specified style of newline. Defaults to <code>NewlineKind.None</code>. |
|
||||
| [encoding](./node-core-library.ifilesystemwritefileoptions.encoding.md) | <code>Encoding</code> | If specified, will change the encoding of the file that will be written. Defaults to <code>"utf8"</code>. |
|
||||
| [ensureFolderExists](./node-core-library.ifilesystemwritefileoptions.ensurefolderexists.md) | <code>boolean</code> | If true, will ensure the folder is created before writing the file. Defaults to <code>false</code>. |
|
||||
| [convertLineEndings](./node-core-library.ifilesystemwritefileoptions.convertlineendings.md) | <code>NewlineKind</code> | If specified, will normalize line endings to the specified style of newline. |
|
||||
| [encoding](./node-core-library.ifilesystemwritefileoptions.encoding.md) | <code>Encoding</code> | If specified, will change the encoding of the file that will be written. |
|
||||
| [ensureFolderExists](./node-core-library.ifilesystemwritefileoptions.ensurefolderexists.md) | <code>boolean</code> | If true, will ensure the folder is created before writing the file. |
|
||||
|
||||
|
|
|
@ -21,6 +21,6 @@ export interface IJsonFileStringifyOptions
|
|||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [newlineConversion](./node-core-library.ijsonfilestringifyoptions.newlineconversion.md) | <code>NewlineKind</code> | If true, then <code>\n</code> will be used for newlines instead of the default <code>\r\n</code>. |
|
||||
| [newlineConversion](./node-core-library.ijsonfilestringifyoptions.newlineconversion.md) | <code>NewlineKind</code> | If provided, the specified newline type will be used instead of the default <code>\r\n</code>. |
|
||||
| [prettyFormatting](./node-core-library.ijsonfilestringifyoptions.prettyformatting.md) | <code>boolean</code> | If true, then the "jju" library will be used to improve the text formatting. Note that this is slightly slower than the native JSON.stringify() implementation. |
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ improve_this_button: false
|
|||
|
||||
## IJsonFileStringifyOptions.newlineConversion property
|
||||
|
||||
If true, then `\n` will be used for newlines instead of the default `\r\n`<!-- -->.
|
||||
If provided, the specified newline type will be used instead of the default `\r\n`<!-- -->.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче