@pitcher/canvas-ui 2025.12.9-123000-beta → 2025.12.9-123223-beta

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.
@@ -4867,7 +4867,6 @@ export default function useCanvas(): {
4867
4867
  enable_sync_file_filtering?: boolean | undefined;
4868
4868
  time_format?: string | undefined;
4869
4869
  date_format?: string | undefined;
4870
- is_file_expiration_mandatory?: boolean | undefined;
4871
4870
  }, (OrganizationSettings & {
4872
4871
  canvas?: {
4873
4872
  hide_page_break_in_toc?: boolean;
@@ -4909,7 +4908,6 @@ export default function useCanvas(): {
4909
4908
  enable_sync_file_filtering?: boolean;
4910
4909
  time_format?: string;
4911
4910
  date_format?: string;
4912
- is_file_expiration_mandatory?: boolean;
4913
4911
  ios?: InstanceSettings;
4914
4912
  }) | {
4915
4913
  auto_assignment_rules?: {
@@ -5197,7 +5195,6 @@ export default function useCanvas(): {
5197
5195
  enable_sync_file_filtering?: boolean | undefined;
5198
5196
  time_format?: string | undefined;
5199
5197
  date_format?: string | undefined;
5200
- is_file_expiration_mandatory?: boolean | undefined;
5201
5198
  }>;
5202
5199
  pitcherSettings: Readonly<Ref<{
5203
5200
  readonly auto_assignment_rules?: readonly {
@@ -5519,7 +5516,6 @@ export default function useCanvas(): {
5519
5516
  readonly enable_sync_file_filtering?: boolean | undefined;
5520
5517
  readonly time_format?: string | undefined;
5521
5518
  readonly date_format?: string | undefined;
5522
- readonly is_file_expiration_mandatory?: boolean | undefined;
5523
5519
  }, {
5524
5520
  readonly auto_assignment_rules?: readonly {
5525
5521
  readonly connection_id: string;
@@ -5840,7 +5836,6 @@ export default function useCanvas(): {
5840
5836
  readonly enable_sync_file_filtering?: boolean | undefined;
5841
5837
  readonly time_format?: string | undefined;
5842
5838
  readonly date_format?: string | undefined;
5843
- readonly is_file_expiration_mandatory?: boolean | undefined;
5844
5839
  }>>;
5845
5840
  initialize: (props: CanvasBuilderProps, launchDarkly: LaunchDarklyEnv) => void;
5846
5841
  activateNavigationItem: (id: string, sectionId?: string, previewMode?: boolean, index?: number) => void;
package/lib/main.lib.d.ts CHANGED
@@ -191,6 +191,7 @@ export * from './util/userAgents';
191
191
  export * from './util/pitcher-settings.util';
192
192
  export * from './util/eval';
193
193
  export * from './util/storage.util';
194
+ export * from './util/handlebars';
194
195
  export * from './apps/collection-selector/utils/content-selector-adapter.util';
195
196
  export * from './util/soql.util.ts';
196
197
  export * from './utils/iframeInitialize';
@@ -62,6 +62,5 @@ export type InstanceSettings = OrganizationSettings & {
62
62
  enable_sync_file_filtering?: boolean;
63
63
  time_format?: string;
64
64
  date_format?: string;
65
- is_file_expiration_mandatory?: boolean;
66
65
  ios?: InstanceSettings;
67
66
  };
@@ -1 +1,36 @@
1
1
  export declare function renderTemplate(template: string, context?: Record<string, any>): string;
2
+ export interface CustomHandlebarsHelper {
3
+ name: string;
4
+ code: string;
5
+ description?: string;
6
+ }
7
+ /**
8
+ * Register a single custom Handlebars helper from code string
9
+ * @param helper - The helper definition with name and code
10
+ * @returns true if registration succeeded, false otherwise
11
+ */
12
+ export declare function registerCustomHelper(helper: CustomHandlebarsHelper): boolean;
13
+ /**
14
+ * Register multiple custom Handlebars helpers
15
+ * @param helpers - Array of helper definitions
16
+ * @returns Object with counts of successful and failed registrations
17
+ */
18
+ export declare function registerCustomHelpers(helpers: CustomHandlebarsHelper[]): {
19
+ registered: number;
20
+ failed: number;
21
+ };
22
+ /**
23
+ * Load and register custom Handlebars helpers from installed apps
24
+ * Looks for the "handlebars-helpers" app and registers helpers from its metadata
25
+ * @param installedApps - Array of installed app files
26
+ * @returns Object with counts of successful and failed registrations
27
+ */
28
+ export declare function loadCustomHelpersFromApps(installedApps: Array<{
29
+ app_metadata?: {
30
+ name?: string;
31
+ };
32
+ metadata?: Record<string, any>;
33
+ }>): {
34
+ registered: number;
35
+ failed: number;
36
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pitcher/canvas-ui",
3
- "version": "2025.12.9-123000-beta",
3
+ "version": "2025.12.9-123223-beta",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"