Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add package records #527

Open
KallynGowdy opened this issue Jul 26, 2024 · 0 comments
Open

Add package records #527

KallynGowdy opened this issue Jul 26, 2024 · 0 comments
Assignees
Labels
area:auth Everything related to the Auth Frontend. (Everything in aux-server/aux-web/aux-auth) area:backend Is related to the backend server. (Everything in aux-records and aux-server/aux-backend) area:player Is related to the player frontend. (Everything in aux-server/aux-web/aux-player) area:runtime Is related to the CasualOS runtime. (Everything in aux-runtime, aux-common, aux-vm, etc.) enhancement New feature or request

Comments

@KallynGowdy
Copy link
Member

Package records are like NPM packages or ABs, but as an official record type. Like ABs, they are a way of easily sharing AUX files around. Unlike ABs, they are designed primarily around the use-case of sharing reusable library code. Every package is contained in a record, and every package has a name. Like other record types, packages can have markers which determine what can be done with them. Additionally, packages have versions which cannot be overwritten. Packages should also be able to mark scripts as "entry points", which are the scripts that should be called for different kinds of requests. For example, a script could be marked as the entry point for all web requests, while another script could be marked as the entry point for all RPC requests.

Finally, packages are designed to be used by scripts. Scripts can request that packages are loaded and get package metadata. However, the CasualOS player doesn't automatically load packages. Instead, that will be left up to user scripts.

Finally, because these will be a separate record type, it will be easier for us to provide global search across all packages.

@KallynGowdy KallynGowdy converted this from a draft issue Jul 26, 2024
@KallynGowdy KallynGowdy self-assigned this Nov 4, 2024
@KallynGowdy KallynGowdy added enhancement New feature or request area:backend Is related to the backend server. (Everything in aux-records and aux-server/aux-backend) area:runtime Is related to the CasualOS runtime. (Everything in aux-runtime, aux-common, aux-vm, etc.) area:player Is related to the player frontend. (Everything in aux-server/aux-web/aux-player) area:auth Everything related to the Auth Frontend. (Everything in aux-server/aux-web/aux-auth) labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:auth Everything related to the Auth Frontend. (Everything in aux-server/aux-web/aux-auth) area:backend Is related to the backend server. (Everything in aux-records and aux-server/aux-backend) area:player Is related to the player frontend. (Everything in aux-server/aux-web/aux-player) area:runtime Is related to the CasualOS runtime. (Everything in aux-runtime, aux-common, aux-vm, etc.) enhancement New feature or request
Projects
Status: In progress
Development

No branches or pull requests

1 participant