@xentom/integration-framework 0.0.12 → 0.0.13

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.
@@ -33,29 +33,33 @@ export interface SelectControlOptionsCallbackOptions extends IntegrationOptions<
33
33
  inputs: Record<string, unknown>;
34
34
  outputs: Record<string, unknown>;
35
35
  };
36
- pagination: {
37
- /**
38
- * The limit of options to return.
39
- */
40
- limit: number;
41
- /**
42
- * The cursor to use to get the next page of options.
43
- */
44
- after?: string | number;
45
- /**
46
- * The cursor to use to get the previous page of options.
47
- */
48
- before?: string | number;
49
- /**
50
- * The page number to use to get the next page of options.
51
- */
52
- page: number;
53
- };
36
+ /**
37
+ * The pagination options for the options callback.
38
+ */
39
+ pagination: SelectControlOptionsPagination;
54
40
  /**
55
41
  * The search query used to filter the options.
56
42
  */
57
43
  search?: string;
58
44
  }
45
+ export interface SelectControlOptionsPagination {
46
+ /**
47
+ * The limit of options to return.
48
+ */
49
+ limit: number;
50
+ /**
51
+ * The cursor to use to get the next page of options.
52
+ */
53
+ after?: string | number;
54
+ /**
55
+ * The cursor to use to get the previous page of options.
56
+ */
57
+ before?: string | number;
58
+ /**
59
+ * The page number to use to get the next page of options.
60
+ */
61
+ page: number;
62
+ }
59
63
  export interface SelectControlOptionsWithMetadata<S = never> {
60
64
  items: SelectControlOption<S>[];
61
65
  hasMore?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xentom/integration-framework",
3
3
  "description": "A type-safe, declarative framework for building composable workflow integrations using nodes, pins, and rich controls.",
4
- "version": "0.0.12",
4
+ "version": "0.0.13",
5
5
  "license": "MIT",
6
6
  "homepage": "https://xentom.com",
7
7
  "author": {
@@ -36,7 +36,8 @@
36
36
  "format": "prettier --check . --ignore-path ../../.gitignore",
37
37
  "typecheck": "tsc --noEmit",
38
38
  "clean": "git clean -xdf .cache .turbo node_modules dist",
39
- "build": "tsc"
39
+ "build": "tsc",
40
+ "prepack": "bun run build"
40
41
  },
41
42
  "sideEffects": false,
42
43
  "files": [