@trackunit/react-core-contexts-api 0.2.8 → 0.2.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts-api",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "module": "./index.js",
@@ -6,7 +6,7 @@ export interface IDeveloperSettingsContext {
6
6
  launchdarklyFlags?: FeatureFlags;
7
7
  setFlags?: React.Dispatch<React.SetStateAction<FeatureFlags | undefined>>;
8
8
  }
9
- export declare type FeatureFlags = {
9
+ export type FeatureFlags = {
10
10
  [key: string]: boolean | Json;
11
11
  };
12
- export declare type Json = string;
12
+ export type Json = string;
@@ -17,7 +17,6 @@ export interface IEnvironmentContext {
17
17
  graphqlManagerUrl: string;
18
18
  graphqlManagerImageUploadUrl: string;
19
19
  graphqlReportUrl: string;
20
- graphqlSimulatorUrl: string;
21
20
  buildVersion: string;
22
21
  commitNumber: number;
23
22
  buildDate: string;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- export declare type AlertColors = "info" | "warning" | "danger" | "success";
3
- export declare type AlertAction = {
2
+ export type AlertColors = "info" | "warning" | "danger" | "success";
3
+ export type AlertAction = {
4
4
  label: string;
5
5
  onClick: () => void;
6
6
  loading?: boolean;
@@ -14,7 +14,7 @@ export interface Toast {
14
14
  secondaryAction?: AlertAction;
15
15
  duration?: number;
16
16
  }
17
- export declare type AddToast = (toast: Toast) => void;
17
+ export type AddToast = (toast: Toast) => void;
18
18
  export interface IToastContext {
19
19
  addToast: AddToast;
20
20
  setIsManifestError?: React.Dispatch<React.SetStateAction<boolean>>;
@@ -32,7 +32,7 @@ export declare const UserSubscriptionPackage: {
32
32
  readonly VIEW: "VIEW";
33
33
  readonly NONE: "NONE";
34
34
  };
35
- export declare type UserSubscriptionPackageType = keyof typeof UserSubscriptionPackage;
35
+ export type UserSubscriptionPackageType = keyof typeof UserSubscriptionPackage;
36
36
  export interface IFeature {
37
37
  id: string;
38
38
  name: string;