@stacksjs/types 0.70.371 → 0.70.375
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/mobile.d.ts +103 -0
- package/package.json +3 -3
package/dist/cli.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/mobile.d.ts
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
export declare interface MobileCapabilities {
|
|
2
|
+
speechRecognition?: boolean
|
|
3
|
+
haptics?: boolean
|
|
4
|
+
share?: boolean
|
|
5
|
+
camera?: boolean
|
|
6
|
+
biometric?: boolean
|
|
7
|
+
pushNotifications?: boolean
|
|
8
|
+
secureStorage?: boolean
|
|
9
|
+
geolocation?: boolean
|
|
10
|
+
backgroundLocation?: boolean
|
|
11
|
+
clipboard?: boolean
|
|
12
|
+
contacts?: boolean
|
|
13
|
+
calendar?: boolean
|
|
14
|
+
localNotifications?: boolean
|
|
15
|
+
inAppPurchase?: boolean
|
|
16
|
+
keepAwake?: boolean
|
|
17
|
+
orientationLock?: boolean
|
|
18
|
+
deepLinks?: boolean
|
|
19
|
+
qrScanner?: boolean
|
|
20
|
+
filePicker?: boolean
|
|
21
|
+
fileDownload?: boolean
|
|
22
|
+
socialAuth?: boolean
|
|
23
|
+
audioRecording?: boolean
|
|
24
|
+
videoRecording?: boolean
|
|
25
|
+
motionSensors?: boolean
|
|
26
|
+
localDatabase?: boolean
|
|
27
|
+
bluetooth?: boolean
|
|
28
|
+
nfc?: boolean
|
|
29
|
+
healthKit?: boolean
|
|
30
|
+
healthConnect?: boolean
|
|
31
|
+
liveActivities?: boolean
|
|
32
|
+
watchApp?: boolean
|
|
33
|
+
backgroundTasks?: boolean
|
|
34
|
+
screenCapture?: boolean
|
|
35
|
+
pdfViewer?: boolean
|
|
36
|
+
augmentedReality?: boolean
|
|
37
|
+
machineLearning?: boolean
|
|
38
|
+
}
|
|
39
|
+
export declare interface MobilePrivacyDataType {
|
|
40
|
+
type: string
|
|
41
|
+
linked?: boolean
|
|
42
|
+
tracking?: boolean
|
|
43
|
+
purposes: string[]
|
|
44
|
+
}
|
|
45
|
+
export declare interface MobilePrivacyAccessedApiType {
|
|
46
|
+
type: string
|
|
47
|
+
reasons: string[]
|
|
48
|
+
}
|
|
49
|
+
export declare interface MobilePrivacyManifest {
|
|
50
|
+
tracking?: boolean
|
|
51
|
+
trackingDomains?: string[]
|
|
52
|
+
collectedDataTypes?: MobilePrivacyDataType[]
|
|
53
|
+
accessedApiTypes?: MobilePrivacyAccessedApiType[]
|
|
54
|
+
}
|
|
55
|
+
export declare interface IosMobileConfig {
|
|
56
|
+
appName: string
|
|
57
|
+
bundleId: string
|
|
58
|
+
version?: string
|
|
59
|
+
buildNumber?: string
|
|
60
|
+
deploymentTarget?: string
|
|
61
|
+
watchDeploymentTarget?: string
|
|
62
|
+
teamId?: string
|
|
63
|
+
url?: string
|
|
64
|
+
webAssets?: string
|
|
65
|
+
fallbackWebAssets?: string
|
|
66
|
+
output?: string
|
|
67
|
+
darkMode?: boolean
|
|
68
|
+
backgroundColor?: string
|
|
69
|
+
urlSchemes?: string[]
|
|
70
|
+
trustedOrigins?: string[]
|
|
71
|
+
associatedDomains?: string[]
|
|
72
|
+
appGroups?: string[]
|
|
73
|
+
appIcon?: string
|
|
74
|
+
privacy?: MobilePrivacyManifest
|
|
75
|
+
orientations?: MobileOrientation[]
|
|
76
|
+
deviceFamilies?: IosDeviceFamily[]
|
|
77
|
+
capabilities?: MobileCapabilities
|
|
78
|
+
}
|
|
79
|
+
export declare interface AndroidMobileConfig {
|
|
80
|
+
appName: string
|
|
81
|
+
packageName: string
|
|
82
|
+
version?: string
|
|
83
|
+
versionCode?: number
|
|
84
|
+
minSdk?: number
|
|
85
|
+
targetSdk?: number
|
|
86
|
+
url?: string
|
|
87
|
+
webAssets?: string
|
|
88
|
+
fallbackWebAssets?: string
|
|
89
|
+
output?: string
|
|
90
|
+
darkMode?: boolean
|
|
91
|
+
backgroundColor?: string
|
|
92
|
+
trustedOrigins?: string[]
|
|
93
|
+
urlSchemes?: string[]
|
|
94
|
+
appIcon?: string
|
|
95
|
+
googleServicesFile?: string
|
|
96
|
+
capabilities?: MobileCapabilities
|
|
97
|
+
}
|
|
98
|
+
export declare interface MobileConfig {
|
|
99
|
+
ios: IosMobileConfig
|
|
100
|
+
android?: AndroidMobileConfig
|
|
101
|
+
}
|
|
102
|
+
export type MobileOrientation = 'portrait' | 'landscape-left' | 'landscape-right' | 'portrait-upside-down';
|
|
103
|
+
export type IosDeviceFamily = 'iphone' | 'ipad';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.70.
|
|
4
|
+
"version": "0.70.375",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@stacksjs/clapp": "^0.2.12",
|
|
61
61
|
"@stacksjs/stx": "^0.2.176",
|
|
62
62
|
"@stacksjs/ts-validation": "^0.5.4",
|
|
63
|
-
"bun-query-builder": "^0.2.
|
|
63
|
+
"bun-query-builder": "^0.2.30"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"meilisearch": "^0.59.0"
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@stacksjs/validation": "0.70.
|
|
74
|
+
"@stacksjs/validation": "0.70.375",
|
|
75
75
|
"better-dx": "^0.2.17",
|
|
76
76
|
"meilisearch": "^0.59.0"
|
|
77
77
|
},
|