@pdfvector/instance-contract 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+ import { z } from "zod";
2
+ export declare const healthCheck: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
3
+ message: z.ZodString;
4
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
@@ -0,0 +1,14 @@
1
+ import { oc } from "@orpc/contract";
2
+ import { z } from "zod";
3
+ const adminOutputSchema = z.object({ message: z.string() });
4
+ export const healthCheck = oc
5
+ .route({
6
+ summary: "Health check",
7
+ description: "Check that the instance server and database are operational",
8
+ tags: ["Admin"],
9
+ spec: (op) => {
10
+ op.security = [{ bearerAuth: [] }];
11
+ return op;
12
+ },
13
+ })
14
+ .output(adminOutputSchema);
@@ -1,3 +1,4 @@
1
+ export * from "./health-check";
1
2
  export * from "./set-domain";
2
3
  export * from "./set-environment";
3
4
  export * from "./set-version";
@@ -1,3 +1,4 @@
1
+ export * from "./health-check";
1
2
  export * from "./set-domain";
2
3
  export * from "./set-environment";
3
4
  export * from "./set-version";
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @pdfvector/instance-contract
2
2
 
3
+ ## 0.0.11
4
+ ### Patch Changes
5
+
6
+
7
+
8
+ - [#71](https://github.com/phuctm97/pdfvector/pull/71) [`163ef37`](https://github.com/phuctm97/pdfvector/commit/163ef37314670214fe054d7bd364c62c073c84f4) Thanks [@kittranofficial](https://github.com/kittranofficial)! - Add Drizzle SQLite integration to instance-server
9
+
3
10
  ## 0.0.10
4
11
  ### Patch Changes
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdfvector/instance-contract",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "type": "module",
5
5
  "main": ".tsc/lib/index.js",
6
6
  "dependencies": {