busabase-sdk 0.51.0 → 0.52.0

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/airapp.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as BusabaseClient } from "./client-DULfvaPk.js";
1
+ import { t as BusabaseClient } from "./client-SOzg2cGv.js";
2
2
  //#region src/airapp.d.ts
3
3
  type NodeChangeRequestInput = Parameters<BusabaseClient["nodes"]["createChangeRequest"]>[0];
4
4
  type NodeOperationInput = NodeChangeRequestInput["operations"][number];
@@ -15506,6 +15506,17 @@ declare const cloudContract: {
15506
15506
  }, z.core.$strip>, z.ZodObject<{
15507
15507
  package: z.ZodObject<{
15508
15508
  name: z.ZodString;
15509
+ displayName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
15510
+ de: "de";
15511
+ en: "en";
15512
+ es: "es";
15513
+ fr: "fr";
15514
+ ja: "ja";
15515
+ ko: "ko";
15516
+ pt: "pt";
15517
+ "zh-CN": "zh-CN";
15518
+ "zh-TW": "zh-TW";
15519
+ }> & z.core.$partial, z.ZodString>]>>;
15509
15520
  description: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
15510
15521
  de: "de";
15511
15522
  en: "en";
@@ -15599,6 +15610,17 @@ declare const cloudContract: {
15599
15610
  templates: z.ZodArray<z.ZodObject<{
15600
15611
  id: z.ZodString;
15601
15612
  name: z.ZodString;
15613
+ displayName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
15614
+ de: "de";
15615
+ en: "en";
15616
+ es: "es";
15617
+ fr: "fr";
15618
+ ja: "ja";
15619
+ ko: "ko";
15620
+ pt: "pt";
15621
+ "zh-CN": "zh-CN";
15622
+ "zh-TW": "zh-TW";
15623
+ }> & z.core.$partial, z.ZodString>]>>;
15602
15624
  description: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
15603
15625
  de: "de";
15604
15626
  en: "en";
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as AssetUsageVO, A as NodeVO, At as ViewConfigVO, B as UpdateVaultSettingsDTO, Bt as NodeIconSchema, C as CommentVO, Ct as GalleryCardSize, D as MentionInboxItemVO, Dt as RecordVO, E as LookupRollup, Et as RecordLinkVO, F as SearchResponseVO, Ft as ViewVO, G as VaultItemVO, H as VaultEnvironment, Ht as CreatableNodeType, I as SearchResultKind, It as AttachmentRef, J as VaultSettingsVO, K as VaultRuntimeEnv, L as SearchResultVO, Lt as CloudContract, M as OperationVO, Mt as ViewFilterVO, N as ReviewVO, Nt as ViewSortVO, O as MentionInboxPageVO, Ot as VIEW_FIELD_MAX_WIDTH, P as ReviewVerdict, Pt as ViewType, Q as AssetTextStatus, R as SourceAttributionVO, Rt as cloudContract, S as CommentSubjectType, St as BaseVO, T as FieldType, Tt as GanttScale, U as VaultItemInput, Ut as NodeType, V as VaultAccessPolicy, Vt as CREATABLE_NODE_TYPES, W as VaultItemKind, Wt as OperationKind, X as FileNodeVO, Y as FileNodeMetadata, Z as AssetDetailVO, _ as ChangeRequestVO, _t as ListFormsVO, a as createBusabaseClient, at as FileTreeReadFileVO, b as CommentMentionTargetType, bt as AssetAttachmentRef, c as AuditAction, ct as CreateFormDTO, d as ChangeRequestBatchFailureVO, dt as FormPageSourceVO, et as AssetVO, f as ChangeRequestCountsVO, ft as FormShareVO, g as ChangeRequestTargetType, gt as ListFormsDTO, h as ChangeRequestStatus, ht as FormVO, i as ResolvedConfig, it as FileTreeNodeVO, j as OperationStatus, jt as ViewFilterOperator, k as NodeSearchResultVO, kt as VIEW_FIELD_MIN_WIDTH, l as AuditEventVO, lt as FormBoundFieldVO, m as ChangeRequestReviewBatchResultVO, mt as FormThemeVO, n as BusabaseConfig, nt as GrepResultVO, o as resolveConfig, ot as NodeDetailVO, p as ChangeRequestMergeBatchResultVO, pt as FormSubmitResultVO, q as VaultScopeType, r as DEFAULT_BASE_URL, rt as FileTreeFileVO, s as AgentTaskVO, st as ActivityItemVO, t as BusabaseClient, tt as GrepInputDTO, u as BusabaseSourceChannel, ut as FormFieldBindingVO, v as CommentMentionDispatchStatus, vt as SubmitFormDTO, w as CommitVO, wt as GalleryCoverFit, x as CommentMentionVO, xt as BaseFieldVO, y as CommentMentionInputDTO, yt as UpdateFormDTO, z as UserRefVO, zt as NodeIcon } from "./client-DULfvaPk.js";
1
+ import { $ as AssetUsageVO, A as NodeVO, At as ViewConfigVO, B as UpdateVaultSettingsDTO, Bt as NodeIconSchema, C as CommentVO, Ct as GalleryCardSize, D as MentionInboxItemVO, Dt as RecordVO, E as LookupRollup, Et as RecordLinkVO, F as SearchResponseVO, Ft as ViewVO, G as VaultItemVO, H as VaultEnvironment, Ht as CreatableNodeType, I as SearchResultKind, It as AttachmentRef, J as VaultSettingsVO, K as VaultRuntimeEnv, L as SearchResultVO, Lt as CloudContract, M as OperationVO, Mt as ViewFilterVO, N as ReviewVO, Nt as ViewSortVO, O as MentionInboxPageVO, Ot as VIEW_FIELD_MAX_WIDTH, P as ReviewVerdict, Pt as ViewType, Q as AssetTextStatus, R as SourceAttributionVO, Rt as cloudContract, S as CommentSubjectType, St as BaseVO, T as FieldType, Tt as GanttScale, U as VaultItemInput, Ut as NodeType, V as VaultAccessPolicy, Vt as CREATABLE_NODE_TYPES, W as VaultItemKind, Wt as OperationKind, X as FileNodeVO, Y as FileNodeMetadata, Z as AssetDetailVO, _ as ChangeRequestVO, _t as ListFormsVO, a as createBusabaseClient, at as FileTreeReadFileVO, b as CommentMentionTargetType, bt as AssetAttachmentRef, c as AuditAction, ct as CreateFormDTO, d as ChangeRequestBatchFailureVO, dt as FormPageSourceVO, et as AssetVO, f as ChangeRequestCountsVO, ft as FormShareVO, g as ChangeRequestTargetType, gt as ListFormsDTO, h as ChangeRequestStatus, ht as FormVO, i as ResolvedConfig, it as FileTreeNodeVO, j as OperationStatus, jt as ViewFilterOperator, k as NodeSearchResultVO, kt as VIEW_FIELD_MIN_WIDTH, l as AuditEventVO, lt as FormBoundFieldVO, m as ChangeRequestReviewBatchResultVO, mt as FormThemeVO, n as BusabaseConfig, nt as GrepResultVO, o as resolveConfig, ot as NodeDetailVO, p as ChangeRequestMergeBatchResultVO, pt as FormSubmitResultVO, q as VaultScopeType, r as DEFAULT_BASE_URL, rt as FileTreeFileVO, s as AgentTaskVO, st as ActivityItemVO, t as BusabaseClient, tt as GrepInputDTO, u as BusabaseSourceChannel, ut as FormFieldBindingVO, v as CommentMentionDispatchStatus, vt as SubmitFormDTO, w as CommitVO, wt as GalleryCoverFit, x as CommentMentionVO, xt as BaseFieldVO, y as CommentMentionInputDTO, yt as UpdateFormDTO, z as UserRefVO, zt as NodeIcon } from "./client-SOzg2cGv.js";
2
2
  import { z } from "zod";
3
3
  //#region src/url.d.ts
4
4
  /**
package/dist/index.js CHANGED
@@ -3728,6 +3728,9 @@ const InstallPlanCountsVOSchema = z.object({
3728
3728
  /** The package's own metadata, as declared in its `busabase.json`. */
3729
3729
  const InstallPackageInfoVOSchema = z.object({
3730
3730
  name: z.string(),
3731
+ /** Optional human-facing title — falls back to `name` when the package
3732
+ * didn't declare one. Same rendering rule as `description` below. */
3733
+ displayName: iStringSchema.optional(),
3731
3734
  /** iString: `busabase.json`'s own description may be locale-keyed; render
3732
3735
  * with `iStringParse(value, locale)`, never inserted into JSX directly. */
3733
3736
  description: iStringSchema.default(""),
@@ -3897,6 +3900,12 @@ const TemplateCardVOSchema = z.object({
3897
3900
  * this file's own convention, not imported, but the reasoning is shared).
3898
3901
  */
3899
3902
  name: z.string(),
3903
+ /**
3904
+ * Optional human-facing card title, shown instead of `name` — never for
3905
+ * identity, `name` still keys the route/install-folder/CLI sort. Absent
3906
+ * when the author didn't declare one; the card then falls back to `name`.
3907
+ */
3908
+ displayName: iStringSchema.optional(),
3900
3909
  /** The catalog card's blurb. iString: `busabase.json`'s own description can
3901
3910
  * be locale-keyed (`{ en: "...", "zh-CN": "..." }`); a plain string is still
3902
3911
  * valid forever. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "busabase-sdk",
3
- "version": "0.51.0",
3
+ "version": "0.52.0",
4
4
  "description": "Typed TypeScript/JavaScript SDK for the Busabase OpenAPI REST API. Talks to a local or remote `busabase server` (or Busabase Cloud).",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/busabase/busabase/tree/main/apps/busabase-sdk",
@@ -67,8 +67,8 @@
67
67
  "tsx": "^4.20.5",
68
68
  "typescript": "^7.0.2",
69
69
  "vitest": "^4.1.11",
70
+ "busabase-contract": "0.52.0",
70
71
  "openlib": "0.1.1",
71
- "busabase-contract": "0.51.0",
72
72
  "open-domains": "0.0.2"
73
73
  },
74
74
  "engines": {