Skip to content

Commit

Permalink
create-index-files npm command
Browse files Browse the repository at this point in the history
Generates the index.ts automatically
  • Loading branch information
fboucquez committed Oct 27, 2020
1 parent 791bc93 commit 6aa10a9
Show file tree
Hide file tree
Showing 46 changed files with 814 additions and 495 deletions.
2 changes: 1 addition & 1 deletion e2e/infrastructure/AccountHttp.spec.ts
Expand Up @@ -36,7 +36,7 @@ import { IntegrationTestHelper } from './IntegrationTestHelper';
import { AccountPaginationStreamer } from '../../src/infrastructure/paginationStreamer/AccountPaginationStreamer';
import { toArray, take } from 'rxjs/operators';
import { deepEqual } from 'assert';
import { Order } from '../../src/infrastructure/infrastructure';
import { Order } from '../../src/infrastructure';
import { AccountOrderBy } from '../../src/infrastructure/searchCriteria/AccountOrderBy';

describe('AccountHttp', () => {
Expand Down
4 changes: 2 additions & 2 deletions e2e/infrastructure/BlockHttp.spec.ts
Expand Up @@ -28,9 +28,9 @@ import { IntegrationTestHelper } from './IntegrationTestHelper';
import { BlockPaginationStreamer } from '../../src/infrastructure/paginationStreamer/BlockPaginationStreamer';
import { deepEqual } from 'assert';
import { take } from 'rxjs/operators';
import { TransactionStatement } from '../../src/model/model';
import { TransactionStatement } from '../../src/model';
import { ReceiptPaginationStreamer } from '../../src/infrastructure/paginationStreamer/ReceiptPaginationStreamer';
import { Order } from '../../src/infrastructure/infrastructure';
import { Order } from '../../src/infrastructure';

describe('BlockHttp', () => {
const helper = new IntegrationTestHelper();
Expand Down
2 changes: 1 addition & 1 deletion e2e/infrastructure/HashLockHttp.spec.ts
Expand Up @@ -27,7 +27,7 @@ import { UInt64 } from '../../src/model/UInt64';
import { IntegrationTestHelper } from './IntegrationTestHelper';
import { toArray, take } from 'rxjs/operators';
import { deepEqual } from 'assert';
import { Order, HashLockPaginationStreamer } from '../../src/infrastructure/infrastructure';
import { Order, HashLockPaginationStreamer } from '../../src/infrastructure';
import { Mosaic } from '../../src/model/mosaic/Mosaic';
import { LockFundsTransaction } from '../../src/model/transaction/LockFundsTransaction';
import { ChronoUnit } from '@js-joda/core';
Expand Down
4 changes: 2 additions & 2 deletions e2e/infrastructure/MetadataHttp.spec.ts
Expand Up @@ -32,8 +32,8 @@ import { NamespaceMetadataTransaction } from '../../src/model/transaction/Namesp
import { NamespaceRegistrationTransaction } from '../../src/model/transaction/NamespaceRegistrationTransaction';
import { UInt64 } from '../../src/model/UInt64';
import { IntegrationTestHelper } from './IntegrationTestHelper';
import { MetadataType } from '../../src/model/model';
import { Order, MetadataPaginationStreamer } from '../../src/infrastructure/infrastructure';
import { MetadataType } from '../../src/model';
import { Order, MetadataPaginationStreamer } from '../../src/infrastructure';
import { deepEqual } from 'assert';
import { take, toArray } from 'rxjs/operators';

Expand Down
2 changes: 1 addition & 1 deletion e2e/infrastructure/NamespaceHttp.spec.ts
Expand Up @@ -27,7 +27,7 @@ import { UInt64 } from '../../src/model/UInt64';
import { IntegrationTestHelper } from './IntegrationTestHelper';
import { NamespacePaginationStreamer } from '../../src/infrastructure/paginationStreamer/NamespacePaginationStreamer';
import { take, toArray } from 'rxjs/operators';
import { Order } from '../../src/infrastructure/infrastructure';
import { Order } from '../../src/infrastructure';

describe('NamespaceHttp', () => {
let defaultNamespaceId: NamespaceId;
Expand Down
2 changes: 1 addition & 1 deletion e2e/infrastructure/ReceiptHttp.spec.ts
Expand Up @@ -18,7 +18,7 @@ import { expect } from 'chai';
import { toArray } from 'rxjs/operators';
import { ReceiptPaginationStreamer } from '../../src/infrastructure/paginationStreamer/ReceiptPaginationStreamer';
import { ReceiptRepository } from '../../src/infrastructure/ReceiptRepository';
import { ReceiptType, UInt64 } from '../../src/model/model';
import { ReceiptType, UInt64 } from '../../src/model';
import { IntegrationTestHelper } from './IntegrationTestHelper';

describe('ReceiptHttp', () => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/infrastructure/SecretLockHttp.spec.ts
Expand Up @@ -22,7 +22,7 @@ import { UInt64 } from '../../src/model/UInt64';
import { IntegrationTestHelper } from './IntegrationTestHelper';
import { toArray, take } from 'rxjs/operators';
import { deepEqual } from 'assert';
import { Order, SecretLockPaginationStreamer } from '../../src/infrastructure/infrastructure';
import { Order, SecretLockPaginationStreamer } from '../../src/infrastructure';
import { SecretLockRepository } from '../../src/infrastructure/SecretLockRepository';
import { SecretLockTransaction } from '../../src/model/transaction/SecretLockTransaction';
import { LockHashAlgorithm } from '../../src/model/lock/LockHashAlgorithm';
Expand Down
2 changes: 1 addition & 1 deletion e2e/infrastructure/TransactionHttp.spec.ts
Expand Up @@ -64,7 +64,7 @@ import { TransferTransaction } from '../../src/model/transaction/TransferTransac
import { UInt64 } from '../../src/model/UInt64';
import { IntegrationTestHelper } from './IntegrationTestHelper';
import { LockHashUtils } from '../../src/core/utils/LockHashUtils';
import { TransactionSearchCriteria } from '../../src/infrastructure/infrastructure';
import { TransactionSearchCriteria } from '../../src/infrastructure';
import { VrfKeyLinkTransaction } from '../../src/model/transaction/VrfKeyLinkTransaction';
import { VotingKeyLinkTransaction } from '../../src/model/transaction/VotingKeyLinkTransaction';
import { NodeKeyLinkTransaction } from '../../src/model/transaction/NodeKeyLinkTransaction';
Expand Down
9 changes: 2 additions & 7 deletions index.ts
@@ -1,5 +1,5 @@
/*
* Copyright 2018 NEM
* Copyright 2020 NEM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,9 +14,4 @@
* limitations under the License.
*/

export * from './src/infrastructure/infrastructure';
export * from './src/model/model';
export * from './src/service/service';
export * from './src/core/utils/utility';
export * from './src/core/format';
export * from './src/core/crypto';
export * from './src';

0 comments on commit 6aa10a9

Please sign in to comment.