@driveflux/admin-utils 4.0.72 → 4.0.73

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.
@@ -16,6 +16,7 @@ declare const RESOURCE_LINKS_MAP: {
16
16
  readonly Log: "/activity-logs";
17
17
  readonly OffPlatformTransaction: "/transactions";
18
18
  readonly SubscriptionContract: "/contracts";
19
+ readonly EmailSent: "/system-emails";
19
20
  };
20
21
  export declare const isLinkableToAdmin: (model: string) => model is keyof typeof RESOURCE_LINKS_MAP;
21
22
  export declare const adminResourceLink: <M extends keyof typeof RESOURCE_LINKS_MAP>(model: M, id: string, options?: AdminResourceLinkOptions) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../src/resource.ts"],"names":[],"mappings":"AAOA,KAAK,wBAAwB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;CAeY,CAAA;AAEpC,eAAO,MAAM,iBAAiB,GAC7B,OAAO,MAAM,KACX,KAAK,IAAI,MAAM,OAAO,kBAExB,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,MAAM,OAAO,kBAAkB,EAC1E,OAAO,CAAC,EACR,IAAI,MAAM,EACV,UAAU,wBAAwB,WAKlC,CAAA"}
1
+ {"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../src/resource.ts"],"names":[],"mappings":"AAOA,KAAK,wBAAwB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;CAgBY,CAAA;AAEpC,eAAO,MAAM,iBAAiB,GAC7B,OAAO,MAAM,KACX,KAAK,IAAI,MAAM,OAAO,kBAExB,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,MAAM,OAAO,kBAAkB,EAC1E,OAAO,CAAC,EACR,IAAI,MAAM,EACV,UAAU,wBAAwB,WAKlC,CAAA"}
package/dist/resource.js CHANGED
@@ -13,7 +13,8 @@ var RESOURCE_LINKS_MAP = {
13
13
  Payout: '/payouts',
14
14
  Log: '/activity-logs',
15
15
  OffPlatformTransaction: '/transactions',
16
- SubscriptionContract: '/contracts'
16
+ SubscriptionContract: '/contracts',
17
+ EmailSent: '/system-emails'
17
18
  };
18
19
  export var isLinkableToAdmin = function(model) {
19
20
  return model in RESOURCE_LINKS_MAP;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/admin-utils",
3
- "version": "4.0.72",
3
+ "version": "4.0.73",
4
4
  "description": "Utilites for admin meant to be shared with other packages. Do not import this module in the user facing site. It's strictly for admin and api or backend services",
5
5
  "type": "module",
6
6
  "exports": {