Skip to main content

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

FieldTypeDescriptionRequired
idstringUnique identifier for the package
package_idstringIdentifier for the package.r. Sometimes used for versioning or reference.
bundle_idanyIdentifier linking the package to a specific bundle.
detailoverrideanydetailoverride field
ref_idanyReference ID for related objects or entities.
isEnabledbooleanFlag indicating whether the package is enabled.
storagePathanyPath where the package or its contents are physically stored, e.g., in a cloud bucket or filesystem.
prevStoragePropsanyMetadata about previous storage configuration, e.g., location, structure. Useful for migrations.
packageBuildIdstringIdentifier linking to the package build associated with this package.
bundleBuildIdstringIdentifier linking to the bundle build associated with this package.
namestringName of the package
descriptionstringTextual description explaining the package's purpose or contents
iconanyPath or data URL to an icon representing the package visually.
application_idstringAssociates the package with a specific application context
participants_idstringIdentifier for the participants related to the package.
mode_of_publishstringMode in which the package is published.
organyTextual or serialized details about the organization this package belongs to.
versionstringCurrent version of the package (e.g., 1.2.0).
localVersionstringLocal working version, possibly for staging or development.
draft_versionstringDraft version in progress, different from the published version.
predefined_bundlestringFlag indicating if the package belongs to a predefined bundle.
predefined_bundle_idstringIdentifier linking to the predefined bundle.
package_typeanyType of the package
subPackageTypestringSubtype of the package, if applicable.
user_idstringIdentifier for the user who created or modified the package.
pagesanyPages associated with the package.
typestringGeneral type of the package.Could relate to internal business logic.
statusstringCurrent status of the package
statusTypestringType of status assigned to the package.
applicationTypeanyType of application associated with the package.
objectStandardTypeanyStandard type of objects within the package.
created_atdateTimestamp when the package was created.
modified_atdateTimestamp when the package was last modified.
storageoverrideanyCustom 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"
}