Releases: Dr-Wade/dynamics-tools
Release list
dataverse-types-gen@0.3.0
Minor Changes
ab95f00Thanks @Dr-Wade! - Emit field descriptions as JSDoc comments on generated entity interfaces. Each property now carries a comment built from the Dataverse attribute metadata (description, display name, attribute type and required level), giving editors and AI agents column-level context on hover. When an attribute has no description, its display name is used as the comment summary.
dataverse-msal-client@0.2.0
Minor Changes
- Add a typed query layer:
entity<T>(dynamics, collection)returns a per-entity client withretrieveMultiple/retrieveAll/create/update, whereselectand the outerexpand[].propertyare checked againstkeyof T. Pairs withfilter<T>(), an immutable OData$filterbuilder whose field names are checked againstT, string values are escaped, andand/orcomposition is parenthesised by construction.
dataverse-types-gen@0.2.0
Minor Changes
-
3d7a788Thanks @Dr-Wade! - Generate anentity-names.tsfile withEntityLogicalNamesand
EntitySetNamesas constobjects for the requested entities.EntitySetNamesprovides the plural collection names (e.g.accounts) used in
Web API request URLs and@odata.bind;EntityLogicalNamesprovides the
singular names used for metadata paths. Set names are read from the
EntityContainerin$metadata, so no additional requests are made. The new
file is re-exported from theindex.tsbarrel. -
3d7a788Thanks @Dr-Wade! - Replace theAUTHORITY_URLenvironment variable withTENANT_ID.The generator now builds the OAuth authority URL itself
(https://login.microsoftonline.com/<TENANT_ID>), matching how
dataverse-msal-clientis configured so both packages can share one.env.BREAKING: existing setups must replace
AUTHORITY_URLwithTENANT_IDin
their environment /.env. The value ofTENANT_IDis the tenant GUID at the
end of the old authority URL.