51 lines
3.4 KiB
TypeScript
51 lines
3.4 KiB
TypeScript
// Every file under templates/, embedded as text so `storebound init` also works from the compiled desktop sidecar
|
|
// (a `bun build --compile` binary has no templates folder next to it). tests/apps.test.ts checks this list against the
|
|
// folder: add a line here when a template is added.
|
|
import t0 from '../../templates/app-privacy.md' with { type: 'text' };
|
|
import t1 from '../../templates/appstore.md' with { type: 'text' };
|
|
import t2 from '../../templates/credentials.example.json' with { type: 'text' };
|
|
import t3 from '../../templates/data-safety.csv' with { type: 'text' };
|
|
import t4 from '../../templates/declarations.md' with { type: 'text' };
|
|
import t5 from '../../templates/listing.md' with { type: 'text' };
|
|
import t6 from '../../templates/privacy-policy.html' with { type: 'text' };
|
|
import t7 from '../../templates/profiles/app/app-privacy.md' with { type: 'text' };
|
|
import t8 from '../../templates/profiles/app/appstore.md' with { type: 'text' };
|
|
import t9 from '../../templates/profiles/app/declarations.md' with { type: 'text' };
|
|
import t10 from '../../templates/profiles/app/listing.md' with { type: 'text' };
|
|
import t11 from '../../templates/profiles/app/privacy-policy.html' with { type: 'text' };
|
|
import t12 from '../../templates/profiles/app/shots-copy.json' with { type: 'text' };
|
|
import t13 from '../../templates/profiles/app/storebound.config.ts' with { type: 'text' };
|
|
import t14 from '../../templates/profiles/subscription-app/app-privacy.md' with { type: 'text' };
|
|
import t15 from '../../templates/profiles/subscription-app/appstore.md' with { type: 'text' };
|
|
import t16 from '../../templates/profiles/subscription-app/declarations.md' with { type: 'text' };
|
|
import t17 from '../../templates/profiles/subscription-app/listing.md' with { type: 'text' };
|
|
import t18 from '../../templates/profiles/subscription-app/storebound.config.ts' with { type: 'text' };
|
|
import t19 from '../../templates/shots-copy.json' with { type: 'text' };
|
|
import t20 from '../../templates/storebound.config.ts' with { type: 'text' };
|
|
import t21 from '../../templates/testers.csv' with { type: 'text' };
|
|
|
|
/** Template text by its path under templates/ (forward slashes). */
|
|
export const TEMPLATE_TEXT: Record<string, string> = {
|
|
'app-privacy.md': t0 as unknown as string,
|
|
'appstore.md': t1 as unknown as string,
|
|
'credentials.example.json': t2 as unknown as string,
|
|
'data-safety.csv': t3 as unknown as string,
|
|
'declarations.md': t4 as unknown as string,
|
|
'listing.md': t5 as unknown as string,
|
|
'privacy-policy.html': t6 as unknown as string,
|
|
'profiles/app/app-privacy.md': t7 as unknown as string,
|
|
'profiles/app/appstore.md': t8 as unknown as string,
|
|
'profiles/app/declarations.md': t9 as unknown as string,
|
|
'profiles/app/listing.md': t10 as unknown as string,
|
|
'profiles/app/privacy-policy.html': t11 as unknown as string,
|
|
'profiles/app/shots-copy.json': t12 as unknown as string,
|
|
'profiles/app/storebound.config.ts': t13 as unknown as string,
|
|
'profiles/subscription-app/app-privacy.md': t14 as unknown as string,
|
|
'profiles/subscription-app/appstore.md': t15 as unknown as string,
|
|
'profiles/subscription-app/declarations.md': t16 as unknown as string,
|
|
'profiles/subscription-app/listing.md': t17 as unknown as string,
|
|
'profiles/subscription-app/storebound.config.ts': t18 as unknown as string,
|
|
'shots-copy.json': t19 as unknown as string,
|
|
'storebound.config.ts': t20 as unknown as string,
|
|
'testers.csv': t21 as unknown as string,
|
|
};
|