@markwharton/liquidplanner 2.7.0 → 2.7.2

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/index.d.ts CHANGED
@@ -33,7 +33,7 @@ export { resolveTaskToAssignment } from './workflows.js';
33
33
  export type { LPConfig, LPCacheConfig, LPRetryConfig, LPItemType, LPHierarchyItem, LPItem, LPAncestor, LPWorkspace, LPMember, LPCostCode, LPSyncResult, LPTimesheetEntry, LPTaskResolution, LPUpsertOptions, LPAssignment, LPFindItemsOptions, LPTreeNode, LPWorkspaceTree, } from './types.js';
34
34
  export type { AccessTier } from './types.js';
35
35
  export { METHOD_TIERS, ENTITIES } from './types.js';
36
- export { ok, err, getErrorMessage, TTLCache, MemoryCacheStore, LayeredCache } from '@markwharton/api-core';
36
+ export { ok, err, getErrorMessage, normalizeEnum, TTLCache, MemoryCacheStore, LayeredCache } from '@markwharton/api-core';
37
37
  export type { Result, RetryConfig, OnRequestCallback, ClientConfig, Cache, CacheStore, CacheGetOptions } from '@markwharton/api-core';
38
38
  export { hoursToMinutes, normalizeItemType, buildAuthHeader, filterIs, filterIsNot, filterIn, filterGt, filterLt, filterAfter, filterBefore, joinFilters, paginatedFetch, } from './utils.js';
39
39
  export type { PaginateOptions } from './utils.js';
package/dist/index.js CHANGED
@@ -34,7 +34,7 @@ export { LPClient } from './client.js';
34
34
  export { resolveTaskToAssignment } from './workflows.js';
35
35
  export { METHOD_TIERS, ENTITIES } from './types.js';
36
36
  // Re-exported from @markwharton/api-core
37
- export { ok, err, getErrorMessage, TTLCache, MemoryCacheStore, LayeredCache } from '@markwharton/api-core';
37
+ export { ok, err, getErrorMessage, normalizeEnum, TTLCache, MemoryCacheStore, LayeredCache } from '@markwharton/api-core';
38
38
  // Utilities
39
39
  export { hoursToMinutes, normalizeItemType, buildAuthHeader, filterIs, filterIsNot, filterIn, filterGt, filterLt, filterAfter, filterBefore, joinFilters, paginatedFetch, } from './utils.js';
40
40
  // Tree utilities
package/dist/types.js CHANGED
@@ -37,9 +37,9 @@ export const METHOD_TIERS = {
37
37
  * so `fields` is omitted. The `apiRef` links to api-docs.liquidplanner.com.
38
38
  */
39
39
  export const ENTITIES = {
40
- LPMember: { path: 'users/v1', apiRef: 'users' },
41
- LPItem: { path: 'items/v1', apiRef: 'item' },
42
- LPAncestor: { path: 'items/v1/{id}/ancestors', apiRef: 'item' },
43
- LPCostCode: { path: 'cost-codes/v1', apiRef: 'cost-codes' },
44
- LPTimesheetEntry: { path: 'logged-time-entries/v1', apiRef: 'logged-time-entry' },
40
+ LPMember: { path: 'users/v1', apiRef: 'docs/users-1' },
41
+ LPItem: { path: 'items/v1', apiRef: 'docs/plan-items' },
42
+ LPAncestor: { path: 'items/v1/{id}/ancestors', apiRef: 'docs/plan-items' },
43
+ LPCostCode: { path: 'cost-codes/v1', apiRef: 'docs/cost-codes-1' },
44
+ LPTimesheetEntry: { path: 'logged-time-entries/v1', apiRef: 'docs/task-status-1' },
45
45
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markwharton/liquidplanner",
3
- "version": "2.7.0",
3
+ "version": "2.7.2",
4
4
  "description": "LiquidPlanner API client for timesheet integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -16,7 +16,7 @@
16
16
  "clean": "rm -rf dist"
17
17
  },
18
18
  "dependencies": {
19
- "@markwharton/api-core": "^1.5.0"
19
+ "@markwharton/api-core": "^1.6.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/node": "^20.10.0",