Repository navigation
Expand file tree
/
Copy pathreferences.d.ts
More file actions
46 lines (35 loc) · 1.55 KB
/
Copy pathreferences.d.ts
File metadata and controls
46 lines (35 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Android types (no iOS - this app is Android-only)
/// <reference path="../../node_modules/@nativescript/types-android/lib/android-35.d.ts" />
// Raw file imports
declare module "*?raw" {
const src: string;
export default src;
}
// 6502 assembly example sources (loaded as text by the asmTextLoader Vite plugin;
// see vite.config.ts). Mirrors @learn6502/examples' own ambient declaration.
declare module "*.asm" {
const content: string;
export default content;
}
// A Blueprint file as the tree `@gjsify/vite-plugin-blueprint` projects it (`?shared-tree`)
declare module "*.blp?shared-tree" {
import type { build } from "@gjsify/adwaita-nativescript/builder";
const tree: Parameters<typeof build>[0];
export default tree;
}
// Global build-time constants (set by Vite `define` in vite.config.ts; __ANDROID__/
// __IOS__ are provided by gjsifyNativescript()'s platform defines)
/** Development logging flag - true in development, false in production */
declare const DEV_LOG: boolean;
/** Production build flag */
declare const PRODUCTION: boolean;
/** Platform detection - always true in this Android-only app */
declare const __ANDROID__: boolean;
/** Platform detection - always false in this Android-only app */
declare const __IOS__: boolean;
/** Play Store build flag - used for conditional features */
declare const PLAY_STORE_BUILD: boolean;
/** Application ID - matches the id from nativescript.config.js */
declare const __APP_ID__: string;
/** Application version - injected from package.json at build time */
declare const __APP_VERSION__: string;