@datadog/apps-frontend 0.0.8 → 0.0.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.
Files changed (33) hide show
  1. package/README.md +7 -0
  2. package/dist/src/_chunks/{chunk-2ZECSTB4.js → chunk-D43RPVCF.js} +2 -2
  3. package/dist/src/_chunks/chunk-DETZPDFA.js +7 -0
  4. package/dist/src/_chunks/chunk-DETZPDFA.js.map +7 -0
  5. package/dist/src/_chunks/chunk-EYBITW7J.js +7 -0
  6. package/dist/src/_chunks/chunk-EYBITW7J.js.map +7 -0
  7. package/dist/src/_chunks/chunk-OEPH347K.js +7 -0
  8. package/dist/src/_chunks/{chunk-G2SXTUX4.js.map → chunk-OEPH347K.js.map} +3 -3
  9. package/dist/src/_chunks/{chunk-627KNBXP.js → chunk-XSHCFEOH.js} +2 -2
  10. package/dist/src/_chunks/chunk-XSHCFEOH.js.map +7 -0
  11. package/dist/src/deep-links/react/index.js +1 -1
  12. package/dist/src/druids/react/index.js +1 -1
  13. package/dist/src/embedding/react/index.js +1 -1
  14. package/dist/src/inputs/published-definition.d.ts +39 -8
  15. package/dist/src/inputs/react/index.js +1 -1
  16. package/dist/src/inputs/schemas/generated/consumers/dashboard.d.ts +35 -0
  17. package/dist/src/inputs/schemas/generated/consumers/index.d.ts +15 -0
  18. package/dist/src/inputs/schemas/generated/consumers/notebook.d.ts +36 -0
  19. package/dist/src/inputs/schemas/generated/consumers/service-panel.d.ts +15 -0
  20. package/dist/src/inputs/schemas/generated/consumers/theme.d.ts +15 -0
  21. package/dist/src/inputs/schemas/index.d.ts +1 -20
  22. package/dist/src/inputs/schemas/index.js +1 -1
  23. package/dist/src/inputs/types.d.ts +19 -7
  24. package/package.json +4 -1
  25. package/dist/src/_chunks/chunk-627KNBXP.js.map +0 -7
  26. package/dist/src/_chunks/chunk-G2SXTUX4.js +0 -7
  27. package/dist/src/_chunks/chunk-PA4Z7DNH.js +0 -7
  28. package/dist/src/_chunks/chunk-PA4Z7DNH.js.map +0 -7
  29. package/dist/src/_chunks/chunk-QOXXZE7D.js +0 -7
  30. package/dist/src/_chunks/chunk-QOXXZE7D.js.map +0 -7
  31. package/dist/src/inputs/schemas/dashboard.d.ts +0 -30
  32. package/dist/src/inputs/schemas/theme.d.ts +0 -15
  33. /package/dist/src/_chunks/{chunk-2ZECSTB4.js.map → chunk-D43RPVCF.js.map} +0 -0
@@ -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';