feat(package): initialize standalone @serve.zone/interfaces package with shared TypeScript contracts
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { tap } from '@git.zone/tstest/tapbundle';
|
||||
import * as interfaces from '../ts/index.js';
|
||||
|
||||
tap.test('exports public namespaces', async () => {
|
||||
if (!interfaces.data) {
|
||||
throw new Error('Missing data namespace');
|
||||
}
|
||||
if (!interfaces.requests) {
|
||||
throw new Error('Missing requests namespace');
|
||||
}
|
||||
if (!interfaces.platformservice) {
|
||||
throw new Error('Missing platformservice namespace');
|
||||
}
|
||||
});
|
||||
|
||||
export default tap.start();
|
||||
Reference in New Issue
Block a user