Skip to content

Commit

Permalink
feat: adding more asset types and subtype attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
aaitor committed Nov 15, 2023
1 parent 2cc034c commit f58193c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/ddo/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,19 +237,27 @@ export interface MetaDataMain {

/**
* Type of the Asset. Helps to filter by the type of asset,
* initially ("dataset", "algorithm", "compute", "workflow", "compute", "subscription", "other").
* initially ("dataset", "algorithm", "compute", "workflow", "model", "file", "subscription", "other").
* @example "dataset"
*/
type:
| 'dataset'
| 'algorithm'
| 'compute'
| 'workflow'
| 'compute'
| 'service'
| 'subscription'
| 'model'
| 'file'
| 'other'

/**
* Sub type asssociated to the main type of the asset. This subtype is open so final users are not restricted to use anything they need.
* Helps to filter by the sub type of asset, for example if type is a service, the subtype could ai-agent, web-service, web-socket-service, etc
* Another example, if the type is 'dataset' the subtype could be 'tabular', 'parquet', 'csv', etc
*/
subType?: string

/**
* The date on which the asset was created by the originator in
* ISO 8601 format, Coordinated Universal Time.
Expand Down

0 comments on commit f58193c

Please sign in to comment.