skedyul 0.1.43 → 0.1.45

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.
package/dist/.build-stamp CHANGED
@@ -1 +1 @@
1
- 1768781352574
1
+ 1768782418698
package/dist/index.d.ts CHANGED
@@ -1,6 +1,12 @@
1
+ import { z } from 'zod';
1
2
  export * from './types';
2
3
  export * from './schemas';
3
4
  export { server } from './server';
5
+ export { z };
4
6
  export { workplace, communicationChannel, configure, getConfig } from './core/client';
7
+ declare const _default: {
8
+ z: typeof z;
9
+ };
10
+ export default _default;
5
11
  export { defineConfig, loadConfig, validateConfig, getRequiredInstallEnvKeys, getAllEnvKeys, CONFIG_FILE_NAMES, } from './config';
6
12
  export type { SkedyulConfig, SerializableSkedyulConfig, EnvVariableDefinition, EnvSchema, EnvVisibility, InstallConfig, AppModelDefinition, ComputeLayerType, InstallHandlerContext, InstallHandlerResult, InstallHandler, PreInstallConfig, PostInstallConfig, AppFieldVisibility, AppFieldDefinition, ChannelToolBindings, ChannelIdentifierType, ChannelIdentifierValue, CommunicationChannelDefinition, WorkflowActionInput, WorkflowAction, WorkflowDefinition, } from './config';
package/dist/index.js CHANGED
@@ -14,7 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.CONFIG_FILE_NAMES = exports.getAllEnvKeys = exports.getRequiredInstallEnvKeys = exports.validateConfig = exports.loadConfig = exports.defineConfig = exports.getConfig = exports.configure = exports.communicationChannel = exports.workplace = exports.server = void 0;
17
+ exports.CONFIG_FILE_NAMES = exports.getAllEnvKeys = exports.getRequiredInstallEnvKeys = exports.validateConfig = exports.loadConfig = exports.defineConfig = exports.getConfig = exports.configure = exports.communicationChannel = exports.workplace = exports.z = exports.server = void 0;
18
+ const zod_1 = require("zod");
19
+ Object.defineProperty(exports, "z", { enumerable: true, get: function () { return zod_1.z; } });
18
20
  __exportStar(require("./types"), exports);
19
21
  __exportStar(require("./schemas"), exports);
20
22
  var server_1 = require("./server");
@@ -24,6 +26,8 @@ Object.defineProperty(exports, "workplace", { enumerable: true, get: function ()
24
26
  Object.defineProperty(exports, "communicationChannel", { enumerable: true, get: function () { return client_1.communicationChannel; } });
25
27
  Object.defineProperty(exports, "configure", { enumerable: true, get: function () { return client_1.configure; } });
26
28
  Object.defineProperty(exports, "getConfig", { enumerable: true, get: function () { return client_1.getConfig; } });
29
+ // Default export for ESM compatibility when importing from CJS
30
+ exports.default = { z: zod_1.z };
27
31
  var config_1 = require("./config");
28
32
  Object.defineProperty(exports, "defineConfig", { enumerable: true, get: function () { return config_1.defineConfig; } });
29
33
  Object.defineProperty(exports, "loadConfig", { enumerable: true, get: function () { return config_1.loadConfig; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skedyul",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
4
4
  "description": "The Skedyul SDK for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,6 +10,7 @@
10
10
  "exports": {
11
11
  ".": {
12
12
  "types": "./dist/index.d.ts",
13
+ "require": "./dist/index.js",
13
14
  "default": "./dist/index.js"
14
15
  }
15
16
  },