Packages Model
Overview
The packages table is used to store metadata about different software packages, including information such as their versions, build IDs, associated bundles, and configuration settings. This table tracks various details like the storage paths, publication modes, package type, and more, allowing for fine-grained control over the package lifecycle and related conte
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| id | string | Unique identifier for the package | ❌ |
| package_id | string | Identifier for the package.r. Sometimes used for versioning or reference. | ❌ |
| bundle_id | any | Identifier linking the package to a specific bundle. | ❌ |
| detailoverride | any | detailoverride field | ❌ |
| ref_id | any | Reference ID for related objects or entities. | ❌ |
| isEnabled | boolean | Flag indicating whether the package is enabled. | ❌ |
| storagePath | any | Path where the package or its contents are physically stored, e.g., in a cloud bucket or filesystem. | ❌ |
| prevStorageProps | any | Metadata about previous storage configuration, e.g., location, structure. Useful for migrations. | ❌ |
| packageBuildId | string | Identifier linking to the package build associated with this package. | ❌ |
| bundleBuildId | string | Identifier linking to the bundle build associated with this package. | ❌ |
| name | string | Name of the package | ❌ |
| description | string | Textual description explaining the package's purpose or contents | ❌ |
| icon | any | Path or data URL to an icon representing the package visually. | ❌ |
| application_id | string | Associates the package with a specific application context | ❌ |
| participants_id | string | Identifier for the participants related to the package. | ❌ |
| mode_of_publish | string | Mode in which the package is published. | ❌ |
| org | any | Textual or serialized details about the organization this package belongs to. | ❌ |
| version | string | Current version of the package (e.g., 1.2.0). | ❌ |
| localVersion | string | Local working version, possibly for staging or development. | ❌ |
| draft_version | string | Draft version in progress, different from the published version. | ❌ |
| predefined_bundle | string | Flag indicating if the package belongs to a predefined bundle. | ❌ |
| predefined_bundle_id | string | Identifier linking to the predefined bundle. | ❌ |
| package_type | any | Type of the package | ❌ |
| subPackageType | string | Subtype of the package, if applicable. | ❌ |
| user_id | string | Identifier for the user who created or modified the package. | ❌ |
| pages | any | Pages associated with the package. | ❌ |
| type | string | General type of the package.Could relate to internal business logic. | ❌ |
| status | string | Current status of the package | ❌ |
| statusType | string | Type of status assigned to the package. | ❌ |
| applicationType | any | Type of application associated with the package. | ❌ |
| objectStandardType | any | Standard type of objects within the package. | ❌ |
| created_at | date | Timestamp when the package was created. | ❌ |
| modified_at | date | Timestamp when the package was last modified. | ❌ |
| storageoverride | any | Custom override of the storage config — used when deviating from default storage behavior. | ❌ |
Relationships
- Hasmany Unknown
- Hasmany Unknown
- Hasone Unknown
- Hasone Unknown
Sample JSON
{
"id": "example_value",
"package_id": "example_value",
"bundle_id": "example_value",
"detailoverride": "example_value",
"ref_id": "example_value",
"isEnabled": "example_value",
"storagePath": "example_value",
"prevStorageProps": "example_value",
"packageBuildId": "example_value",
"bundleBuildId": "example_value",
"name": "example_value",
"description": "example_value",
"icon": "example_value",
"application_id": "example_value",
"participants_id": "example_value",
"mode_of_publish": "example_value",
"org": "example_value",
"version": "example_value",
"localVersion": "example_value",
"draft_version": "example_value",
"predefined_bundle": "example_value",
"predefined_bundle_id": "example_value",
"package_type": "example_value",
"subPackageType": "example_value",
"user_id": "example_value",
"pages": "example_value",
"type": "example_value",
"status": "example_value",
"statusType": "example_value",
"applicationType": "example_value",
"objectStandardType": "example_value",
"created_at": "example_value",
"modified_at": "example_value",
"storageoverride": "example_value"
}