Skip to content

Commit

Permalink
Add some new api exports (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
imsitnikov authored Feb 10, 2024
1 parent db9f33d commit b74763b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export {
RevisionModelColumnRaw,
} from '../src/db/models/new/revision';

export {Tenant, TenantColumn} from '../src/db/models/new/tenant';
export {Tenant, TenantColumn, BillingRate} from '../src/db/models/new/tenant';
export {MigrationTenant, MigrationTenantColumn} from '../src/db/models/new/migration-tenant';

export {WorkbookModel, WorkbookModelColumn} from '../src/db/models/new/workbook';
Expand Down Expand Up @@ -61,6 +61,7 @@ export {
JoinedMigrationTenantColumn,
joinMigrationTenant,
LeftJoinedMigrationTenantColumns,
SelectedTenantColumns,
} from '../src/db/presentations/joined-migration-tenant';
export {JoinedEntryMigrationTenant} from '../src/db/presentations/joined-entry-migration-tenant';
export {
Expand Down
3 changes: 3 additions & 0 deletions api/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export {
getEntryByKey as legacyGetEntryByKey,
GetEntryByKeyData,
getLegacyEntryRevisions,
copyToWorkbook,
} from '../src/services/entry';

export {default as EntryService} from '../src/services/entry.service';
Expand All @@ -26,3 +27,5 @@ export {default as NavigationService} from '../src/services/navigation.service';
export {getEntryByKey, GetEntryByKeyArgs} from '../src/services/new/entry';
export {getEntriesByKeyPattern} from '../src/services/entry';
export {formatGetEntryByKeyResponse} from '../src/services/new/entry/formatters';

export {crossSyncCopiedJoinedEntryRevisions} from '../src/services/new/workbook';
2 changes: 2 additions & 0 deletions src/db/models/new/tenant/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ export class Tenant extends Model {
[TenantColumn.BillingInstanceServiceId]!: Nullable<string>;
[TenantColumn.BillingStartedAt]!: Nullable<string>;
}

export {BillingRate};

0 comments on commit b74763b

Please sign in to comment.