Skip to content

Regen V2 client for full deployed surface: 6.3.A/B/C + REQ-DOC-002 (consolidated)#51

Open
bzajzon-laserfiche wants to merge 2 commits into
mainfrom
bzajzon/entry-child-introspection
Open

Regen V2 client for full deployed surface: 6.3.A/B/C + REQ-DOC-002 (consolidated)#51
bzajzon-laserfiche wants to merge 2 commits into
mainfrom
bzajzon/entry-child-introspection

Conversation

@bzajzon-laserfiche
Copy link
Copy Markdown
Contributor

@bzajzon-laserfiche bzajzon-laserfiche commented May 27, 2026

Summary

One consolidated regen bringing the JS V2 client up to the full deployed V2 surface, superseding the conflicting per-batch client PRs. Each per-batch PR regenerated the whole index.ts, so they conflicted; since the server now carries everything, a single regen is clean. 6.3.A (#49) is already on main.

Surface added since main

  • 6.3.B — Field Definition destructive ops: mergeFields, changeFieldType
  • 6.3.C — Template Definition admin: CRUD + Properties + Field management
  • REQ-DOC-002 — Entry introspection on GET Entry: opt-in includeChildInfo returning a flat childInfo object { hasChildren, childCount, folderCount, documentCount, shortcutCount }, plus includeTotalSize

Supersedes

Notes

  • Committed generate-client/swagger.json + index.ts normalized to production URLs (api.laserfiche.com / signin.laserfiche.com).
  • Integration tests for 6.3.B / 6.3.C / REQ-DOC-002 on this branch; childInfo test asserts the flat single-object shape. Entry discriminator override applied (Trap 1); multipart tests stay SKIP_UNDER_JSDOM-gated (Trap 3).
  • Integration tests run in CI against the deployed cloud.

alexgomezlf
alexgomezlf previously approved these changes May 28, 2026
Comment thread packages/lf-repository-api-client-v2/generate-client/swagger.json Outdated
Comment thread packages/lf-repository-api-client-v2/index.ts Outdated
alexgomezlf
alexgomezlf previously approved these changes May 29, 2026
alexgomezlf
alexgomezlf previously approved these changes May 29, 2026
…onsolidated)

Single regen off the deployed swagger bringing the JS client up to the full V2
surface, superseding the conflicting per-batch client PRs. 6.3.A (#49) already on main.

Surface added since main:
- Field Definition destructive ops (MergeFields, ChangeFieldType) — PRD 6.3.B
- Template Definition admin (CRUD + Properties + Field management) — PRD 6.3.C
- Entry introspection on GET Entry: opt-in includeChildInfo (flat childInfo object
  { hasChildren, childCount, folderCount, documentCount, shortcutCount }) +
  includeTotalSize — REQ-DOC-002

Committed swagger.json + index.ts normalized to production URLs (api.laserfiche.com /
signin.laserfiche.com). Integration tests for 6.3.B/6.3.C/REQ-DOC-002 brought onto this
branch; the childInfo test asserts the flat single-object shape. Entry discriminator
override applied (Trap 1); multipart tests stay SKIP_UNDER_JSDOM-gated (Trap 3).
@bzajzon-laserfiche bzajzon-laserfiche force-pushed the bzajzon/entry-child-introspection branch from 03ede21 to 9e571e7 Compare May 30, 2026 05:24
@bzajzon-laserfiche bzajzon-laserfiche changed the title Regen V2 client for Entry Introspection: childInfo + totalDocumentSize (REQ-DOC-002) Regen V2 client for full deployed surface: 6.3.A/B/C + REQ-DOC-002 (consolidated) May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants