@squidcloud/backend 1.0.334 → 1.0.336

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.
@@ -95,13 +95,16 @@ export declare function secureApi(integrationId: IntegrationId, endpointId?: Api
95
95
  */
96
96
  export declare function secureGraphQL(integrationId: IntegrationId): ActionMethodDecorator<SecureGraphQLAction>;
97
97
  /**
98
- * Decorator that marks a function for exposing it as an executable.
99
- * The function can accept any parameter that can be serialized to JSON and return any parameter that can be serialized
100
- * to JSON.
98
+ * Decorator marking a function as executable, making it accessible via the Squid SDK.
101
99
  *
102
- * Once the function is exposed, it can be called from the Squid SDK using the `executeFunction` method.
103
- * To read more about exposing an executable, see the
104
- * {@link https://docs.getsquid.ai/docs/backend/executables/ documentation}.
100
+ * Functions decorated with `@executable`:
101
+ * - May accept and return parameters serializable to JSON.
102
+ * - Automatically handle files or arrays of files from the client, receiving them as SquidFile objects.
103
+ *
104
+ * Once exposed, the decorated function can be executed using Squid's `executeFunction` method.
105
+ *
106
+ * For detailed guidance on executable functions, see:
107
+ * {@link https://docs.getsquid.ai/docs/backend/executables/ documentation}
105
108
  */
106
109
  export declare function executable(): ActionMethodDecorator<ExecutableAction>;
107
110
  /** Options for the `@aiFunction` annotation. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/backend",
3
- "version": "1.0.334",
3
+ "version": "1.0.336",
4
4
  "description": "Squid Cloud's backend SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/backend/src/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "graphql": "^16.9.0"
27
27
  },
28
28
  "peerDependencies": {
29
- "@squidcloud/client": "^1.0.334"
29
+ "@squidcloud/client": "^1.0.336"
30
30
  },
31
31
  "engines": {
32
32
  "node": ">=20.0.0"