Skip to content

Add version and contributors to appMetaData.json. #16

Open

Description

@erikh2000

Update the appMetaData.json and related code to include two new fields - "version" and "contributors". Example JSON below.

'{
"id":"bintopia",
"name":"Bintopia",
"version":"1.0.1",
"contributors":"Erik Hermansen, Random Guy",
"description":"Someday we could all live in Bintopia.",
"supportedModels":[
{"id":"Llama-3.2-1B-Instruct-q4f32_1-MLC","appBehaviorSummary":"Default model for Bintopia"}
]
}'

Implementation guide:

  1. In decent-portal project, update /public/app-metadata.json
  2. src/appMetaData/types/AppMetaData.ts - update the data structure and format-checking function.
  3. src/appMetaData/appMetaDataUtil.ts - update the functions that break. Add synchronous convenience functions for getContributors() and getVersion() following the pattern of getAppId() and getAppName().
  4. Add new convenience functions to library exports.
  5. Add unit tests to get to 100% coverage. npm run test:coverage

@eduardoworrel

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions