Packagebuilds Model
Overview
The packagebuilds table is used to store information about the various builds of packages, including their versions, types, status, and metadata. It tracks details related to the creation, modification, and storage of package builds within an application or organizational context.
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| version | string | Version of the build (e.g., 1.0.0, v2.1-beta). Used to track updates. | ✅ |
| type | string | General classification type of the package build. | ❌ |
| bundle_type | string | Type of bundle this package is part of (e.g., core, optional, custom). May duplicate type with more context. | ❌ |
| status | string | Current status of the package build | ❌ |
| package_type | string | Specifies the type of package | ❌ |
| application_id | string | Identifier linking the package build to a specific application. | ❌ |
| org_id | string | Identifier linking the package build to an organization. | ❌ |
| id | string | Unique identifier for the package build | ❌ |
| created_at | date | Timestamp when the package build was created. | ❌ |
| modified_at | date | Timestamp when the package build was last modified. | ❌ |
| bundle_id | string | Identifier linking the package build to a bundle. Might be used to relate to packagebundle or predefinedbundlebuild. | ❌ |
| package_id | string | Identifier referencing the package associated with the build. Could relate to internal object relationships. | ❌ |
| bundleType | string | Specifies the type of bundle within the build. | ❌ |
| packData | any | Serialized JSON or similar blob containing the entire package definition/configuration. | ✅ |
| bundleName | string | Name of the associated bundle. | ✅ |
| uploadedFileName | string | Name of the uploaded file related to the package build. | ❌ |
| name | string | Name of the package build. | ✅ |
| description | string | Description of the package build, including purpose or changes. | ✅ |
Sample JSON
{
"version": "example_value",
"type": "example_value",
"bundle_type": "example_value",
"status": "example_value",
"package_type": "example_value",
"application_id": "example_value",
"org_id": "example_value",
"id": "example_value",
"created_at": "example_value",
"modified_at": "example_value",
"bundle_id": "example_value",
"package_id": "example_value",
"bundleType": "example_value",
"packData": "example_value",
"bundleName": "example_value",
"uploadedFileName": "example_value",
"name": "example_value",
"description": "example_value"
}