mirror of https://github.com/grafana/grafana.git
Chore: Remove public dashboard cue (#109940)
This commit is contained in:
parent
66b146a9df
commit
6f940f855e
|
@ -677,7 +677,6 @@
|
|||
/packages/grafana-schema/src/**/nodegraph @grafana/observability-traces-and-profiling @grafana/app-o11y-visualizations
|
||||
/packages/grafana-schema/src/**/parca @grafana/oss-big-tent
|
||||
/packages/grafana-schema/src/**/piechart @grafana/dataviz-squad
|
||||
/packages/grafana-schema/src/**/publicdashboard @grafana/grafana-operator-experience-squad
|
||||
/packages/grafana-schema/src/**/stat @grafana/dataviz-squad
|
||||
/packages/grafana-schema/src/**/statetimeline @grafana/dataviz-squad
|
||||
/packages/grafana-schema/src/**/statushistory @grafana/dataviz-squad
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
package kind
|
||||
|
||||
name: "PublicDashboard"
|
||||
maturity: "merged"
|
||||
description: "Public dashboard configuration"
|
||||
|
||||
lineage: schemas: [{
|
||||
version: [0, 0]
|
||||
schema: {
|
||||
spec: {
|
||||
// Unique public dashboard identifier
|
||||
uid: string
|
||||
// Dashboard unique identifier referenced by this public dashboard
|
||||
dashboardUid: string
|
||||
// Unique public access token
|
||||
accessToken?: string
|
||||
// Flag that indicates if the public dashboard is enabled
|
||||
isEnabled: bool
|
||||
// Flag that indicates if annotations are enabled
|
||||
annotationsEnabled: bool
|
||||
// Flag that indicates if the time range picker is enabled
|
||||
timeSelectionEnabled: bool
|
||||
} @cuetsy(kind="interface")
|
||||
}
|
||||
}]
|
|
@ -110,6 +110,3 @@ export type {
|
|||
//
|
||||
// TODO generate code such that tsc enforces type compatibility between raw and veneer decls
|
||||
export type { LibraryPanel } from './veneer/librarypanel.types';
|
||||
|
||||
// Raw generated types from PublicDashboard kind.
|
||||
export type { PublicDashboard } from './raw/publicdashboard/x/publicdashboard_types.gen';
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
// Code generated - EDITING IS FUTILE. DO NOT EDIT.
|
||||
//
|
||||
// Generated by:
|
||||
// kinds/gen.go
|
||||
// Using jennies:
|
||||
// TSTypesJenny
|
||||
// LatestMajorsOrXJenny
|
||||
//
|
||||
// Run 'make gen-cue' from repository root to regenerate.
|
||||
|
||||
export interface PublicDashboard {
|
||||
/**
|
||||
* Unique public access token
|
||||
*/
|
||||
accessToken?: string;
|
||||
/**
|
||||
* Flag that indicates if annotations are enabled
|
||||
*/
|
||||
annotationsEnabled: boolean;
|
||||
/**
|
||||
* Dashboard unique identifier referenced by this public dashboard
|
||||
*/
|
||||
dashboardUid: string;
|
||||
/**
|
||||
* Flag that indicates if the public dashboard is enabled
|
||||
*/
|
||||
isEnabled: boolean;
|
||||
/**
|
||||
* Flag that indicates if the time range picker is enabled
|
||||
*/
|
||||
timeSelectionEnabled: boolean;
|
||||
/**
|
||||
* Unique public dashboard identifier
|
||||
*/
|
||||
uid: string;
|
||||
}
|
|
@ -48,15 +48,6 @@ func GetCoreKinds() ([]CoreKind, error) {
|
|||
CueFile: librarypanelCue,
|
||||
})
|
||||
|
||||
publicdashboardCue, err := loadCueFile(ctx, filepath.Join(root, "./kinds/publicdashboard/public_dashboard_kind.cue"))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
kinds = append(kinds, CoreKind{
|
||||
Name: "publicdashboard",
|
||||
CueFile: publicdashboardCue,
|
||||
})
|
||||
|
||||
return kinds, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue