modified: src/lib/templates.ts

This commit is contained in:
Anderson 2026-01-18 03:49:40 +00:00 committed by GitHub
parent a3bdd3fdda
commit a43a397ad7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,7 @@ export interface ScriptTemplate {
platform: PlatformId;
}
export function getTemplatesForPlatform(platform: PlatformId): ScriptTemplate[] {
return templates.filter(t => t.platform === platform);
}