mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 09:49:32 +02:00
99 lines
4.7 KiB
Markdown
99 lines
4.7 KiB
Markdown
# SerializedInstalledApp Schema
|
|
|
|
```txt
|
|
https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedInstalledApp
|
|
```
|
|
|
|
|
|
|
|
|
|
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
| :------------------ | ---------- | -------------- | ------------ | :---------------- | --------------------- | ------------------- | ----------------------------------------------------------------------------------------------------- |
|
|
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | [SerializedAppLogicAction.schema.json\*](SerializedAppLogicAction.schema.json "open original schema") |
|
|
|
|
## SerializedInstalledApp Type
|
|
|
|
`object` ([SerializedInstalledApp](serializedapplogicaction-definitions-serializedinstalledapp.md))
|
|
|
|
# SerializedInstalledApp Properties
|
|
|
|
| Property | Type | Required | Nullable | Defined by |
|
|
| :-------------------------------- | --------- | -------- | -------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| [packageName](#packagename) | `string` | Required | cannot be null | [SerializedAppLogicAction](serializedapplogicaction-definitions-serializedinstalledapp-properties-packagename.md "https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedInstalledApp/properties/packageName") |
|
|
| [title](#title) | `string` | Required | cannot be null | [SerializedAppLogicAction](serializedapplogicaction-definitions-serializedinstalledapp-properties-title.md "https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedInstalledApp/properties/title") |
|
|
| [isLaunchable](#islaunchable) | `boolean` | Required | cannot be null | [SerializedAppLogicAction](serializedapplogicaction-definitions-serializedinstalledapp-properties-islaunchable.md "https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedInstalledApp/properties/isLaunchable") |
|
|
| [recommendation](#recommendation) | `string` | Required | cannot be null | [SerializedAppLogicAction](serializedapplogicaction-definitions-serializedinstalledapp-properties-apprecommendation.md "https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedInstalledApp/properties/recommendation") |
|
|
|
|
## packageName
|
|
|
|
|
|
|
|
|
|
`packageName`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [SerializedAppLogicAction](serializedapplogicaction-definitions-serializedinstalledapp-properties-packagename.md "https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedInstalledApp/properties/packageName")
|
|
|
|
### packageName Type
|
|
|
|
`string`
|
|
|
|
## title
|
|
|
|
|
|
|
|
|
|
`title`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [SerializedAppLogicAction](serializedapplogicaction-definitions-serializedinstalledapp-properties-title.md "https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedInstalledApp/properties/title")
|
|
|
|
### title Type
|
|
|
|
`string`
|
|
|
|
## isLaunchable
|
|
|
|
|
|
|
|
|
|
`isLaunchable`
|
|
|
|
- is required
|
|
- Type: `boolean`
|
|
- cannot be null
|
|
- defined in: [SerializedAppLogicAction](serializedapplogicaction-definitions-serializedinstalledapp-properties-islaunchable.md "https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedInstalledApp/properties/isLaunchable")
|
|
|
|
### isLaunchable Type
|
|
|
|
`boolean`
|
|
|
|
## recommendation
|
|
|
|
|
|
|
|
|
|
`recommendation`
|
|
|
|
- is required
|
|
- Type: `string` ([AppRecommendation](serializedapplogicaction-definitions-serializedinstalledapp-properties-apprecommendation.md))
|
|
- cannot be null
|
|
- defined in: [SerializedAppLogicAction](serializedapplogicaction-definitions-serializedinstalledapp-properties-apprecommendation.md "https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedInstalledApp/properties/recommendation")
|
|
|
|
### recommendation Type
|
|
|
|
`string` ([AppRecommendation](serializedapplogicaction-definitions-serializedinstalledapp-properties-apprecommendation.md))
|
|
|
|
### recommendation Constraints
|
|
|
|
**enum**: the value of this property must be equal to one of the following values:
|
|
|
|
| Value | Explanation |
|
|
| :------------ | ----------- |
|
|
| `"blacklist"` | |
|
|
| `"none"` | |
|
|
| `"whitelist"` | |
|