25 lines
747 B
Plaintext
25 lines
747 B
Plaintext
//
|
|
// Copyright 2025 New Vector Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
// Please see LICENSE files in the repository root for full details.
|
|
//
|
|
|
|
// Analytics and Diagnostics
|
|
|
|
import "package://pkg.pkl-lang.org/github.com/element-hq/pkl-tools/staticcode@1.0.1#/StaticCode.pkl"
|
|
|
|
sentryDSN: String? = read?("env:SENTRY_DSN")
|
|
sentryRustDSN: String? = read?("env:SENTRY_RUST_DSN")
|
|
postHogHost: String? = read?("env:POSTHOG_HOST")
|
|
postHogAPIKey: String? = read?("env:POSTHOG_API_KEY")
|
|
rageshakeServerURL: String? = read?("env:RAGESHAKE_SERVER_URL")
|
|
mapLibreAPIKey: String? = read?("env:MAPLIBRE_API_KEY")
|
|
|
|
output {
|
|
renderer = new StaticCode.Renderer {
|
|
language = "Swift"
|
|
objectName = "Secrets"
|
|
}
|
|
}
|