Skip to content

Commit

Permalink
fix: export all public TS types and interfaces (#423)
Browse files Browse the repository at this point in the history
* fix: making exports in the right format

@W-9727845@

* chore: removing yarn changes
  • Loading branch information
vamsimundra authored and AnanyaJha committed Aug 19, 2021
1 parent e81c823 commit 8f73e7a
Show file tree
Hide file tree
Showing 7 changed files with 127 additions and 31 deletions.
40 changes: 34 additions & 6 deletions src/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,43 @@ export {
} from './metadataApiRetrieve';
export { ToolingApi, ToolingDeployOptions, ToolingRetrieveOptions } from './toolingApi';
export {
AsyncResult,
ComponentDeployment,
ComponentRetrieval,
ComponentDiagnostic,
FileResponse,
SourceApiResult,
AsyncResult,
SourceDeployResult,
RequestStatus,
MetadataRequestStatus,
RetrieveFailure,
RetrieveSuccess,
SourceRetrieveResult,
MetadataApiDeployStatus,
DeployDetails,
RunTestResult,
CodeCoverage,
LocationsNotCovered,
CodeCoverageWarnings,
Failures,
Successes,
DeployMessage,
RetrieveRequest,
RetrieveMessage,
FileProperties,
ComponentStatus,
MetadataApiRetrieveStatus,
PackageOption,
PackageOptions,
RetrieveOptions,
SourceDeployResult,
RetrieveMessage,
SourceRetrieveResult,
ContainerAsyncRequest,
ToolingDeployStatus,
ComponentStatus,
FileProperties,
QueryResult,
ApexRecord,
VFRecord,
AuraRecord,
LWCRecord,
ToolingCreateResult,
AuraDefinition,
LightningComponentResource,
} from './types';
8 changes: 7 additions & 1 deletion src/collections/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@
*/
export { LazyCollection } from './lazyCollection';
export { ComponentSet, DeploySetOptions, RetrieveSetOptions } from './componentSet';
export { FromSourceOptions, FromManifestOptions } from './types';
export {
PackageTypeMembers,
PackageManifestObject,
DestructiveChangesType,
FromSourceOptions,
FromManifestOptions,
} from './types';
2 changes: 1 addition & 1 deletion src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
export { SourcePath, OptionalTreeRegistryOptions } from './types';
export { SourcePath, TreeOptions, OptionalTreeRegistryOptions, RegistryOptions } from './types';
export {
DEFAULT_PACKAGE_ROOT_SFDX,
META_XML_SUFFIX,
Expand Down
9 changes: 6 additions & 3 deletions src/convert/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
*/
export { MetadataConverter } from './metadataConverter';
export {
ConvertResult,
ConvertOutputConfig,
SfdxFileFormat,
WriteInfo,
WriterFormat,
DirectoryConfig,
ZipConfig,
MergeConfig,
MetadataTransformer,
SfdxFileFormat,
ConvertOutputConfig,
ConvertResult,
} from './types';
87 changes: 72 additions & 15 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,102 @@
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
export {
AsyncResult,
MetadataApiDeploy,
MetadataApiDeployOptions,
DeployResult,
MetadataApiRetrieve,
MetadataApiRetrieveOptions,
RetrieveResult,
ToolingApi,
ToolingDeployOptions,
ToolingRetrieveOptions,
DeployResult,
ComponentDeployment,
ComponentRetrieval,
ComponentDiagnostic,
FileResponse,
SourceApiResult,
AsyncResult,
SourceDeployResult,
RequestStatus,
MetadataRequestStatus,
RetrieveFailure,
RetrieveSuccess,
SourceRetrieveResult,
MetadataApiDeployStatus,
DeployDetails,
RunTestResult,
CodeCoverage,
LocationsNotCovered,
CodeCoverageWarnings,
Failures,
Successes,
DeployMessage,
RetrieveRequest,
RetrieveMessage,
FileProperties,
ComponentStatus,
MetadataApiRetrieveStatus,
PackageOption,
PackageOptions,
RetrieveOptions,
SourceDeployResult,
RetrieveMessage,
SourceRetrieveResult,
ContainerAsyncRequest,
ToolingDeployStatus,
ComponentStatus,
FileProperties,
QueryResult,
ApexRecord,
VFRecord,
AuraRecord,
LWCRecord,
ToolingCreateResult,
AuraDefinition,
LightningComponentResource,
} from './client';
export { MetadataConverter, ConvertOutputConfig, ConvertResult } from './convert';
export {
MetadataComponent,
MetadataMember,
MetadataConverter,
WriteInfo,
WriterFormat,
DirectoryConfig,
ZipConfig,
MergeConfig,
MetadataTransformer,
SfdxFileFormat,
ConvertOutputConfig,
ConvertResult,
} from './convert';
export {
MetadataResolver,
ManifestResolver,
TreeContainer,
NodeFSTreeContainer,
VirtualTreeContainer,
ZipTreeContainer,
SourceComponent,
TreeContainer,
MetadataComponent,
MetadataMember,
ComponentLike,
MetadataXml,
VirtualFile,
VirtualDirectory,
SourceAdapter,
ForceIgnore,
} from './resolve';
export { SourcePath } from './common';
export { SourcePath, TreeOptions, OptionalTreeRegistryOptions, RegistryOptions } from './common';
export {
LazyCollection,
ComponentSet,
FromManifestOptions,
FromSourceOptions,
DeploySetOptions,
RetrieveSetOptions,
PackageTypeMembers,
PackageManifestObject,
DestructiveChangesType,
FromSourceOptions,
FromManifestOptions,
} from './collections';
export { MetadataType, RegistryAccess, registry } from './registry';
export {
RegistryAccess,
registry,
MetadataRegistry,
MetadataType,
DecompositionStrategy,
RecompositionStrategy,
TransformerStrategy,
} from './registry';
3 changes: 2 additions & 1 deletion src/registry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
export { registry } from './registry';
export { RegistryAccess } from './registryAccess';
export {
MetadataType,
MetadataRegistry,
MetadataType,
DecompositionStrategy,
RecompositionStrategy,
TransformerStrategy,
} from './types';
9 changes: 5 additions & 4 deletions src/resolve/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ export {
} from './treeContainers';
export { SourceComponent } from './sourceComponent';
export {
MetadataXml,
SourceAdapter,
VirtualDirectory,
MetadataComponent,
ComponentLike,
MetadataMember,
ComponentLike,
MetadataXml,
VirtualFile,
VirtualDirectory,
SourceAdapter,
} from './types';
export { ForceIgnore } from './forceIgnore';

0 comments on commit 8f73e7a

Please sign in to comment.