@antcde/connect-ts 0.4.26-rc.3 → 0.4.26-rc.4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"TaskServiceQueries.d.ts","sourceRoot":"","sources":["../../src/services/TaskServiceQueries.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;CA+DtB,CAAA;AACV,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;CAyCvB,CAAA;AAEV,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,MAAM,UAqCzD;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,UAK1C"}
1
+ {"version":3,"file":"TaskServiceQueries.d.ts","sourceRoot":"","sources":["../../src/services/TaskServiceQueries.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;CAkEtB,CAAA;AACV,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;CAyCvB,CAAA;AAEV,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,MAAM,UAqCzD;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,UAK1C"}
@@ -37,7 +37,10 @@ export const defaultGetTaskQuery = {
37
37
  'labels': ['id', 'name', 'color', 'icon'].join(','),
38
38
  'roles': ['id', 'name'].join(','),
39
39
  'sbsRecord': ['id', 'code', 'label', 'project'].join(','),
40
- 'attachments.dmsFile': ['id', 'token', 'name', 'extension', 'project_id', 'license_id'].join(','),
40
+ // source_type + source_metadata let the client detect external links and open their
41
+ // source_url; parent_id is required so the server-side DMS read-permission gate can walk
42
+ // the folder chain (a partial select without it would wrongly restrict nested files).
43
+ 'attachments.dmsFile': ['id', 'token', 'name', 'extension', 'project_id', 'license_id', 'source_type', 'source_metadata', 'parent_id'].join(','),
41
44
  'app': ['id', 'title', 'icon', 'color'].join(','),
42
45
  },
43
46
  include: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antcde/connect-ts",
3
- "version": "0.4.26-rc.3",
3
+ "version": "0.4.26-rc.4",
4
4
  "description": "Helper to connect to the ANT api",
5
5
  "type": "module",
6
6
  "main": "build/index.js",