var $schema = "../schema.json";
var schemaVersion = "v1";
var pluginType = "grafana-strava-datasource";
var pluginName = "Strava";
var fields = [
	{
		id: "jsonData.clientID",
		key: "clientID",
		label: "Client ID",
		description: "Strava API application client ID.",
		valueType: "string",
		target: "jsonData",
		required: true
	},
	{
		id: "jsonData.cacheTTL",
		key: "cacheTTL",
		label: "Cache TTL",
		description: "Cache time-to-live duration (e.g. 1h, 30m).",
		valueType: "string",
		semanticType: "duration",
		target: "jsonData"
	},
	{
		id: "jsonData.oauthPassThru",
		key: "oauthPassThru",
		label: "OAuth Pass-thru",
		description: "Forward the user's OAuth token to Strava.",
		valueType: "boolean",
		target: "jsonData",
		ui: {
			component: "switch"
		}
	},
	{
		id: "secureJsonData.clientSecret",
		key: "clientSecret",
		label: "Client Secret",
		description: "Strava API application client secret.",
		valueType: "string",
		target: "secureJsonData",
		required: true,
		semanticType: "token"
	}
];
var groups = [
	{
		id: "auth",
		title: "Authentication",
		fieldRefs: [
			"jsonData.clientID",
			"secureJsonData.clientSecret",
			"jsonData.oauthPassThru"
		]
	},
	{
		id: "settings",
		title: "Settings",
		fieldRefs: [
			"jsonData.cacheTTL"
		]
	}
];
var grafanaStravaDatasourceSchema = {
	$schema: $schema,
	schemaVersion: schemaVersion,
	pluginType: pluginType,
	pluginName: pluginName,
	fields: fields,
	groups: groups
};

export { $schema, grafanaStravaDatasourceSchema as default, fields, groups, pluginName, pluginType, schemaVersion };
//# sourceMappingURL=grafana-strava-datasource.schema.json.js.map
