@crowdstrike/foundry-js 0.10.0 → 0.10.1

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +8 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -25,6 +25,10 @@ export interface UserData {
25
25
  uuid: string;
26
26
  username: string;
27
27
  }
28
+ /**
29
+ * A map of custom app permissions, mapping permission keys to a boolean, indicating the permission status for the current user and that particular permission.
30
+ */
31
+ export type Permissions = Record<string, boolean>;
28
32
  /**
29
33
  * The minimum {@link FalconApi.data} every UI extension receives from the Falcon Console.
30
34
  */
@@ -56,6 +60,10 @@ export interface LocalData {
56
60
  * The date format preferred by the current user, in a [`moment.js` format](https://momentjs.com/docs/#/displaying/format/)
57
61
  */
58
62
  dateFormat?: string;
63
+ /**
64
+ * A map of custom app permissions, mapping permission keys to a boolean, indicating the permission status for the current user and that particular permission.
65
+ */
66
+ permissions?: Permissions;
59
67
  [key: string]: unknown;
60
68
  }
61
69
  export interface DataUpdateMessage<DATA extends LocalData = LocalData> extends BaseMessage {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdstrike/foundry-js",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "foundry.js is the JavaScript SDK for authoring UI Extensions for CrowdStrike's Foundry platform.",
5
5
  "repository": {
6
6
  "type": "git",