storebound/tests/fixtures/scan/clean/storebound.config.ts

57 lines
3.2 KiB
TypeScript

// Fixture config (made up, example.com placeholders only).
export default {
app: {
name: 'Clean Notes',
profile: 'subscription-app',
privacyPolicyUrl: 'https://example.com/privacy',
termsUrl: 'https://example.com/terms',
supportUrl: 'https://example.com/support',
website: 'https://example.com',
contactEmail: 'support@example.com',
},
accounts: { enabled: true, deletionUrl: 'https://example.com/delete-account', inApp: 'Settings > Account > Delete account' },
reviewAccess: { signInRequired: true, instructions: 'Sign in with the demo account.' },
languages: [{ id: 'en', play: 'en-US', apple: 'en-US' }],
play: { packageName: 'org.example.cleannotes', accountType: 'organization', targetAges: ['13-15', '16-17', '18+'] },
apple: { bundleId: 'org.example.cleannotes', usesNonExemptEncryption: false },
appPrivacy: {
tracking: true, trackingDomains: ['ads.example.com'],
types: {
NAME: { collected: true, linked: true, tracking: false, purposes: ['APP_FUNCTIONALITY'] },
EMAIL_ADDRESS: { collected: true, linked: true, tracking: false, purposes: ['APP_FUNCTIONALITY'] },
USER_ID: { collected: true, linked: true, tracking: false, purposes: ['APP_FUNCTIONALITY'] },
DEVICE_ID: { collected: true, linked: false, tracking: true, purposes: ['ANALYTICS', 'APP_FUNCTIONALITY', 'THIRD_PARTY_ADVERTISING'] },
COARSE_LOCATION: { collected: true, linked: false, tracking: true, purposes: ['ANALYTICS', 'APP_FUNCTIONALITY', 'THIRD_PARTY_ADVERTISING'] },
PRODUCT_INTERACTION: { collected: true, linked: false, tracking: false, purposes: ['ANALYTICS', 'THIRD_PARTY_ADVERTISING'] },
PERFORMANCE_DATA: { collected: true, linked: false, tracking: false, purposes: ['ANALYTICS'] },
PURCHASE_HISTORY: { collected: true, linked: true, tracking: false, purposes: ['APP_FUNCTIONALITY'] },
},
},
products: [
{ id: 'org.example.cleannotes.themes', type: 'non_consumable', usd: 1.99, listings: { en: { title: 'Themes', description: 'Every color theme' } } },
],
subscriptions: [{
name: 'Plus',
listings: { en: { name: 'Clean Notes Plus' } },
subscriptions: [
{ id: 'org.example.cleannotes.plus_monthly', period: 'P1M', level: 1, usd: 2.99, listings: { en: { title: 'Plus', description: 'Unlimited scans' } } },
],
}],
dataSafety: {
collectsData: true,
encryptedInTransit: true,
deletionRequest: true,
accountCreation: ['PSL_ACM_OAUTH'],
data: {
PSL_NAME: { shared: false, collect: ['account'] },
PSL_EMAIL: { shared: false, collect: ['account', 'functionality'] },
PSL_USER_ACCOUNT: { shared: false, collect: ['account', 'functionality'] },
PSL_DEVICE_ID: { shared: true, collect: ['advertising', 'analytics', 'fraud'], share: ['advertising'] },
PSL_APPROX_LOCATION: { shared: true, collect: ['advertising', 'analytics', 'fraud'], share: ['advertising'] },
PSL_USER_INTERACTION: { shared: true, collect: ['advertising', 'analytics'], share: ['advertising'] },
PSL_PERFORMANCE_DIAGNOSTICS: { shared: false, collect: ['analytics'] },
PSL_PURCHASE_HISTORY: { shared: false, collect: ['functionality'] },
},
},
scan: { ignore: [] },
};