mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 03:32:15 +01:00
expose createApiClient method in api package to public
This commit is contained in:
2
.github/workflows/npm-publish-api.yml
vendored
2
.github/workflows/npm-publish-api.yml
vendored
@@ -1,6 +1,6 @@
|
|||||||
name: Publish API package to NPM
|
name: Publish API package to NPM
|
||||||
on:
|
on:
|
||||||
workflow_dispatch
|
push
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -134,4 +134,6 @@ export type MyMemberships = ZodiosResponseByAlias<
|
|||||||
|
|
||||||
export type MyMembership = MyMemberships[0];
|
export type MyMembership = MyMemberships[0];
|
||||||
|
|
||||||
export const api = createApiClient('/api', { validate: 'none' });
|
const api = createApiClient('/api', { validate: 'none' });
|
||||||
|
|
||||||
|
export { createApiClient, api };
|
||||||
|
|||||||
Reference in New Issue
Block a user