Chore: Remove public dashboard cue (#109940)

This commit is contained in:
Ryan McKinley 2025-08-21 13:58:36 +03:00 committed by GitHub
parent 66b146a9df
commit 6f940f855e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 0 additions and 74 deletions

1
.github/CODEOWNERS vendored
View File

@ -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

View File

@ -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")
}
}]

View File

@ -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';

View File

@ -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;
}

View File

@ -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
}