diff --git a/examples/authentication/auth-demo/src/bindings/index.ts b/examples/authentication/auth-demo/src/bindings/index.ts index be8a071..6d23030 100644 --- a/examples/authentication/auth-demo/src/bindings/index.ts +++ b/examples/authentication/auth-demo/src/bindings/index.ts @@ -12,4 +12,6 @@ import type { Query } from "@qubit-rs/client"; +export type { Query } from "@qubit-rs/client"; + export type QubitServer = { echo_cookie: Query<[], string>, secret_endpoint: Query<[], string> }; \ No newline at end of file diff --git a/examples/chaos/bindings/index.ts b/examples/chaos/bindings/index.ts index 798f29a..e56c8f6 100644 --- a/examples/chaos/bindings/index.ts +++ b/examples/chaos/bindings/index.ts @@ -20,4 +20,14 @@ import type { Metadata } from "./Metadata.ts"; import type { User } from "./User.ts"; import type { Test } from "./Test.ts"; +export type { Query } from "@qubit-rs/client"; +export type { Mutation } from "@qubit-rs/client"; +export type { Subscription } from "@qubit-rs/client"; +export type { NestedStruct } from "./NestedStruct.ts"; +export type { MyEnum } from "./MyEnum.ts"; +export type { UniqueType } from "./UniqueType.ts"; +export type { Metadata } from "./Metadata.ts"; +export type { User } from "./User.ts"; +export type { Test } from "./Test.ts"; + export type QubitServer = { version: Query<[], string>, count: Mutation<[], number>, countdown: Subscription<[min: number, max: number, ], number>, array: Query<[], Array>, enum_test: Query<[], MyEnum>, array_type: Query<[], Array>, user: { someHandler: Query<[_id: string, ], User>, create: Mutation<[name: string, email: string, age: number, ], User>, list: Query<[], Array>, asdf: Query<[], null> } }; \ No newline at end of file diff --git a/examples/chat-room-react/src/bindings/index.ts b/examples/chat-room-react/src/bindings/index.ts index 9b8b02f..46001dc 100644 --- a/examples/chat-room-react/src/bindings/index.ts +++ b/examples/chat-room-react/src/bindings/index.ts @@ -15,4 +15,9 @@ import type { Mutation } from "@qubit-rs/client"; import type { Subscription } from "@qubit-rs/client"; import type { ChatMessage } from "./ChatMessage.ts"; +export type { Query } from "@qubit-rs/client"; +export type { Mutation } from "@qubit-rs/client"; +export type { Subscription } from "@qubit-rs/client"; +export type { ChatMessage } from "./ChatMessage.ts"; + export type QubitServer = { get_name: Query<[], string>, send_message: Mutation<[message: string, ], null>, list_online: Subscription<[], Array>, list_messages: Subscription<[], Array> }; \ No newline at end of file diff --git a/examples/counter/bindings/index.ts b/examples/counter/bindings/index.ts index 68bd1c8..1781b80 100644 --- a/examples/counter/bindings/index.ts +++ b/examples/counter/bindings/index.ts @@ -14,4 +14,8 @@ import type { Mutation } from "@qubit-rs/client"; import type { Query } from "@qubit-rs/client"; import type { Subscription } from "@qubit-rs/client"; +export type { Mutation } from "@qubit-rs/client"; +export type { Query } from "@qubit-rs/client"; +export type { Subscription } from "@qubit-rs/client"; + export type QubitServer = { increment: Mutation<[], null>, decrement: Mutation<[], null>, add: Mutation<[n: number, ], null>, get: Query<[], number>, countdown: Subscription<[], number> }; \ No newline at end of file diff --git a/examples/hello-world/bindings/index.ts b/examples/hello-world/bindings/index.ts index 16c2d43..3dd79d2 100644 --- a/examples/hello-world/bindings/index.ts +++ b/examples/hello-world/bindings/index.ts @@ -12,4 +12,6 @@ import type { Query } from "@qubit-rs/client"; +export type { Query } from "@qubit-rs/client"; + export type QubitServer = { hello_world: Query<[], string> }; \ No newline at end of file