commandbar 1.6.7 → 1.6.8
Sign up to get free protection for your applications and to get access to all the features.
- package/build/commandbar-js/src/index.d.ts +10 -0
- package/build/commandbar-js/src/index.js +1 -0
- package/build/commandbar-js/src/init.d.ts +21 -0
- package/build/commandbar-js/src/snippet.d.ts +1 -0
- package/build/internal/src/client/AddContextOptions.d.ts +94 -0
- package/build/internal/src/client/AnalyticsEventTypes.d.ts +1 -0
- package/build/internal/src/client/CommandBarClientSDK.d.ts +293 -0
- package/build/internal/src/client/CommandBarProxySDK.d.ts +48 -0
- package/build/internal/src/client/CommandBarSDK.d.ts +50 -0
- package/build/internal/src/client/EventHandler.d.ts +89 -0
- package/build/internal/src/client/SDKConfig.d.ts +13 -0
- package/build/internal/src/client/SentryReporter.d.ts +41 -0
- package/build/internal/src/client/globals.d.ts +18 -0
- package/build/internal/src/client/proxy.d.ts +15 -0
- package/build/internal/src/client/symbols.d.ts +32 -0
- package/build/internal/src/middleware/CommandFromClientV.d.ts +220 -0
- package/build/internal/src/middleware/ICommandFromClientType.d.ts +3 -0
- package/build/internal/src/middleware/IResourceSettings.d.ts +3 -0
- package/build/internal/src/middleware/OrganizationV.d.ts +102 -0
- package/build/internal/src/middleware/ResourceSettingsV.d.ts +43 -0
- package/build/internal/src/middleware/command.d.ts +3608 -0
- package/build/internal/src/middleware/commandCategory.d.ts +87 -0
- package/build/internal/src/middleware/confetti.d.ts +16 -0
- package/build/internal/src/middleware/context.d.ts +40 -0
- package/build/internal/src/middleware/environment.d.ts +11 -0
- package/build/internal/src/middleware/generics.d.ts +32 -0
- package/build/internal/src/middleware/guide.d.ts +37 -0
- package/build/internal/src/middleware/helpers/argument.d.ts +412 -0
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +129 -0
- package/build/internal/src/middleware/helpers/endUser.d.ts +10 -0
- package/build/internal/src/middleware/helpers/rules.d.ts +231 -0
- package/build/internal/src/middleware/historyEvent.d.ts +40 -0
- package/build/internal/src/middleware/network.d.ts +4 -0
- package/build/internal/src/middleware/organization.d.ts +604 -0
- package/build/internal/src/middleware/placeholder.d.ts +47 -0
- package/build/internal/src/middleware/profile.d.ts +11 -0
- package/build/internal/src/middleware/releases.d.ts +261 -0
- package/build/internal/src/middleware/skin.d.ts +66 -0
- package/build/internal/src/middleware/types.d.ts +378 -0
- package/build/internal/src/middleware/user.d.ts +12 -0
- package/build/internal/src/util/Disposable.d.ts +17 -0
- package/build/internal/src/util/LocalStorage.d.ts +6 -0
- package/build/internal/src/util/Logger.d.ts +18 -0
- package/build/internal/src/util/dispatchCustomEvent.d.ts +2 -0
- package/package.json +1 -1
@@ -0,0 +1,12 @@
|
|
1
|
+
import * as t from 'io-ts';
|
2
|
+
export declare const UserV: t.IntersectionC<[t.TypeC<{
|
3
|
+
id: t.UnionC<[t.NumberC, t.StringC]>;
|
4
|
+
}>, t.TypeC<{
|
5
|
+
token: t.StringC;
|
6
|
+
email: t.StringC;
|
7
|
+
organization: t.StringC;
|
8
|
+
api_token: t.UnionC<[t.StringC, t.NullC]>;
|
9
|
+
profile: t.NumberC;
|
10
|
+
has_updated_password: t.BooleanC;
|
11
|
+
is_active: t.BooleanC;
|
12
|
+
}>, t.PartialC<{}>]>;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { _dispose, _disposed } from '../client/symbols';
|
2
|
+
export declare type PublicDisposable = {
|
3
|
+
dispose: VoidFunction;
|
4
|
+
_disposed?: boolean;
|
5
|
+
};
|
6
|
+
export declare type PrivateDisposable = {
|
7
|
+
[_dispose]: VoidFunction;
|
8
|
+
[_disposed]?: boolean;
|
9
|
+
};
|
10
|
+
export declare type Disposable = undefined | PublicDisposable | PrivateDisposable;
|
11
|
+
export declare const isDisposable: (x: unknown) => x is Disposable;
|
12
|
+
/**
|
13
|
+
* Determines if the provided value is "disposed". A value is considered "disposed" if it is an object with the
|
14
|
+
* _disposed property or symbol symbol set to true, or if the actual value is undefined.
|
15
|
+
*/
|
16
|
+
export declare const isDisposed: (x: unknown) => boolean;
|
17
|
+
export declare function dispose(x: Disposable): void;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
declare const LocalStorage: {
|
2
|
+
set: (label: string, value: string | boolean | number) => string | number | boolean;
|
3
|
+
get: (label: string, defaultValue: string | boolean | number) => string | number | boolean;
|
4
|
+
remove: (label: string) => void;
|
5
|
+
};
|
6
|
+
export default LocalStorage;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import Debug from 'debug';
|
2
|
+
declare const Logger: {
|
3
|
+
debug: Debug.Debugger;
|
4
|
+
log: Debug.Debugger;
|
5
|
+
info: Debug.Debugger;
|
6
|
+
warn: Debug.Debugger;
|
7
|
+
error: Debug.Debugger;
|
8
|
+
red: (...args: any[]) => void;
|
9
|
+
green: (...args: any[]) => void;
|
10
|
+
blue: (...args: any[]) => void;
|
11
|
+
orange: (...args: any[]) => void;
|
12
|
+
yellow: (...args: any[]) => void;
|
13
|
+
purple: (...args: any[]) => void;
|
14
|
+
black: (...args: any[]) => void;
|
15
|
+
portalsend: (...args: any[]) => void;
|
16
|
+
portalreceive: (...args: any[]) => void;
|
17
|
+
};
|
18
|
+
export default Logger;
|