initialize interfaces package

This commit is contained in:
2026-05-06 15:04:33 +00:00
commit 05387b4a6a
51 changed files with 11456 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
import { tap, expect } from '@git.zone/tstest/tapbundle';
import { data, request, tags } from '../ts/index.js';
tap.test('exports data contracts', async () => {
const organization: data.IOrganization = {
id: 'org-test',
data: {
name: 'Test Org',
slug: 'test-org',
billingPlanId: 'plan_free',
roleIds: [],
},
};
expect(organization.data.slug).toEqual('test-org');
});
tap.test('exports request contracts', async () => {
const methodName: request.IReq_RefreshJwt['method'] = 'refreshJwt';
expect(methodName).toEqual('refreshJwt');
});
tap.test('exports tags namespace', async () => {
expect(tags).toBeTruthy();
});
export default tap.start();