@squidcloud/backend 1.0.383 → 1.0.386

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,31 @@
1
+ /**
2
+ * Options for the `@mcpServer` decorator.
3
+ */
4
+ export interface McpServerOptions {
5
+ /** Unique ID for this MCP server that will also be used in the MCP url. */
6
+ id: string;
7
+ /**
8
+ * The MCP description.
9
+ */
10
+ description: string;
11
+ /** The MCP name - it will be exposed in the MCP manifest. */
12
+ name: string;
13
+ /**
14
+ * The version of the MCP server.
15
+ * This will be exposed in the MCP manifest.
16
+ */
17
+ version: string;
18
+ }
19
+ /**
20
+ * Represents a request to authorize an MCP request.
21
+ *
22
+ * @category MCP
23
+ */
24
+ export interface McpAuthorizationRequest {
25
+ /** The parsed body of the webhook request. */
26
+ body: any;
27
+ /** A record of query parameters included in the webhook request. */
28
+ queryParams: Record<string, string>;
29
+ /** A record of HTTP headers included in the webhook request. */
30
+ headers: Record<string, string>;
31
+ }
@@ -1,9 +1,9 @@
1
1
  import { IntegrationId } from '@squidcloud/client';
2
2
  /**
3
- * Represents the type of native query request, either relational or MongoDB.
3
+ * Represents the type of native query request, either relational, elastic or MongoDB.
4
4
  * @category Database
5
5
  */
6
- export type NativeQueryRequestType = 'relational' | 'mongo';
6
+ export type NativeQueryRequestType = 'relational' | 'mongo' | 'elasticsearch';
7
7
  interface BaseNativeQueryContext {
8
8
  /** Type of the native query request. */
9
9
  type: NativeQueryRequestType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/backend",
3
- "version": "1.0.383",
3
+ "version": "1.0.386",
4
4
  "description": "Squid Cloud's backend SDK",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -34,7 +34,7 @@
34
34
  "typedoc-plugin-markdown": "^4.5.2"
35
35
  },
36
36
  "peerDependencies": {
37
- "@squidcloud/client": "^1.0.383"
37
+ "@squidcloud/client": "^1.0.386"
38
38
  },
39
39
  "engines": {
40
40
  "node": ">=20.0.0"