@datadog/apps-frontend 0.0.8 → 0.0.10
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/README.md +7 -0
- package/dist/src/_chunks/chunk-64RLSXHA.js +184 -0
- package/dist/src/_chunks/chunk-64RLSXHA.js.map +7 -0
- package/dist/src/_chunks/chunk-BWBMAWDD.js +235 -0
- package/dist/src/_chunks/{chunk-G2SXTUX4.js.map → chunk-BWBMAWDD.js.map} +3 -3
- package/dist/src/_chunks/chunk-E6L6DSL7.js +230 -0
- package/dist/src/_chunks/{chunk-LEEYMNMO.js.map → chunk-E6L6DSL7.js.map} +1 -1
- package/dist/src/_chunks/chunk-OF23NNWB.js +34 -0
- package/dist/src/_chunks/chunk-OF23NNWB.js.map +7 -0
- package/dist/src/_chunks/chunk-ONCDAC2F.js +802 -0
- package/dist/src/_chunks/chunk-ONCDAC2F.js.map +7 -0
- package/dist/src/_chunks/chunk-SSORLL57.js +219 -0
- package/dist/src/_chunks/{chunk-2ZECSTB4.js.map → chunk-SSORLL57.js.map} +1 -1
- package/dist/src/_chunks/chunk-VSZMABRM.js +54 -0
- package/dist/src/_chunks/{chunk-2V2HASKF.js.map → chunk-VSZMABRM.js.map} +1 -1
- package/dist/src/deep-links/react/index.js +8 -1
- package/dist/src/druids/react/index.js +25 -1
- package/dist/src/druids/react/index.js.map +1 -1
- package/dist/src/embedding/react/index.js +2908 -1
- package/dist/src/embedding/react/index.js.map +1 -1
- package/dist/src/inputs/published-definition.d.ts +52 -8
- package/dist/src/inputs/react/index.js +9 -1
- package/dist/src/inputs/schemas/generated/consumers/dashboard.d.ts +35 -0
- package/dist/src/inputs/schemas/generated/consumers/index.d.ts +15 -0
- package/dist/src/inputs/schemas/generated/consumers/notebook.d.ts +36 -0
- package/dist/src/inputs/schemas/generated/consumers/service-panel.d.ts +15 -0
- package/dist/src/inputs/schemas/generated/consumers/theme.d.ts +15 -0
- package/dist/src/inputs/schemas/index.d.ts +1 -20
- package/dist/src/inputs/schemas/index.js +15 -1
- package/dist/src/inputs/types.d.ts +19 -7
- package/package.json +5 -1
- package/dist/src/_chunks/chunk-2V2HASKF.js +0 -7
- package/dist/src/_chunks/chunk-2ZECSTB4.js +0 -7
- package/dist/src/_chunks/chunk-627KNBXP.js +0 -7
- package/dist/src/_chunks/chunk-627KNBXP.js.map +0 -7
- package/dist/src/_chunks/chunk-G2SXTUX4.js +0 -7
- package/dist/src/_chunks/chunk-LEEYMNMO.js +0 -7
- package/dist/src/_chunks/chunk-PA4Z7DNH.js +0 -7
- package/dist/src/_chunks/chunk-PA4Z7DNH.js.map +0 -7
- package/dist/src/_chunks/chunk-QOXXZE7D.js +0 -7
- package/dist/src/_chunks/chunk-QOXXZE7D.js.map +0 -7
- package/dist/src/inputs/schemas/dashboard.d.ts +0 -30
- package/dist/src/inputs/schemas/theme.d.ts +0 -15
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0.
|
|
2
|
-
* This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
3
|
-
* Copyright 2019-Present Datadog, Inc.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { DatadogAppInput } from '../published-definition.js';
|
|
7
|
-
import type { DatadogAppInputImplementations } from '../types.js';
|
|
8
|
-
/**
|
|
9
|
-
* One field, named `dashboard`, holding the same shape every dashboard mount
|
|
10
|
-
* site already passes as `inputs.dashboard` -- so that object can be forwarded
|
|
11
|
-
* to `datadogDashboard` unchanged, with no reshaping in between.
|
|
12
|
-
*/
|
|
13
|
-
export declare const datadogDashboard: DatadogAppInput<'datadog.dashboard', {
|
|
14
|
-
dashboard: {
|
|
15
|
-
timeframe: {
|
|
16
|
-
start: number;
|
|
17
|
-
end: number;
|
|
18
|
-
isLive: boolean;
|
|
19
|
-
};
|
|
20
|
-
templateVariables: {
|
|
21
|
-
name: string;
|
|
22
|
-
value: string;
|
|
23
|
-
values?: string[];
|
|
24
|
-
prefix?: string;
|
|
25
|
-
default?: string;
|
|
26
|
-
}[];
|
|
27
|
-
};
|
|
28
|
-
}, readonly ['datadog.dashboard']>;
|
|
29
|
-
/** The dashboard state a host provides to `datadogDashboard`. */
|
|
30
|
-
export type DashboardInputs = DatadogAppInputImplementations<typeof datadogDashboard>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0.
|
|
2
|
-
* This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
3
|
-
* Copyright 2019-Present Datadog, Inc.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { DatadogAppInput } from '../published-definition.js';
|
|
7
|
-
/**
|
|
8
|
-
* Datadog's resolved theme, as the page currently renders it. Live -- when a
|
|
9
|
-
* user switches theme, `useDatadogAppInput()` re-renders with the new value,
|
|
10
|
-
* validated before your app sees it. Read-only, and available on every surface.
|
|
11
|
-
*/
|
|
12
|
-
export declare const datadogTheme: DatadogAppInput<'datadog.theme', {
|
|
13
|
-
theme: 'light' | 'dark';
|
|
14
|
-
}>;
|
|
15
|
-
export type DatadogAppTheme = 'light' | 'dark';
|