skedyul 0.1.98 → 0.1.100

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
- 1769144420374
1
+ 1769147714352
package/dist/config.d.ts CHANGED
@@ -153,10 +153,15 @@ export interface PageFormHeader {
153
153
  }
154
154
  export interface PageActionDefinition {
155
155
  handle: string;
156
+ /** Button label - supports Liquid templates e.g. "{{ compliance_records[0].status == 'APPROVED' ? 'Register' : 'Pending' }}" */
156
157
  label: string;
157
158
  handler: string;
158
159
  icon?: string;
159
160
  variant?: 'primary' | 'secondary' | 'destructive';
161
+ /** Whether the action is disabled - boolean or Liquid template string e.g. "{{ compliance_records[0].status != 'APPROVED' }}" */
162
+ isDisabled?: boolean | string;
163
+ /** Whether the action is hidden - boolean or Liquid template string */
164
+ isHidden?: boolean | string;
160
165
  }
161
166
  export interface PageFieldDefinition {
162
167
  handle: string;
@@ -202,7 +207,8 @@ export interface PageDefinition {
202
207
  type: PageType;
203
208
  title: string;
204
209
  path?: string;
205
- navigation?: boolean;
210
+ /** Whether to show in navigation - boolean or Liquid template string */
211
+ navigation?: boolean | string;
206
212
  blocks: PageBlockDefinition[];
207
213
  actions?: PageActionDefinition[];
208
214
  filter?: PageInstanceFilter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skedyul",
3
- "version": "0.1.98",
3
+ "version": "0.1.100",
4
4
  "description": "The Skedyul SDK for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",