NearSocial / standards

Standards to define schemas and data format in SocialDB
10 stars 8 forks source link

Add description property to Widgets schema #10

Closed tonebonekone closed 1 year ago

tonebonekone commented 1 year ago

Would like widgets schema to allow for other properties. To begin with, a description would help users navigate widgets.

[widget_name] = {
     sourceCode: string,
     description: string
}
evgenykuzyakov commented 1 year ago

I need to refresh the standards to reflect Metadata object that is present for the widgets:

[widget_name]: {
  "": source,
  "metadata": Metadata,
}

See https://near.social/#/mob.near/widget/WidgetSource?src=mob.near/widget/WidgetMetadata and https://near.social/#/mob.near/widget/WidgetSource?src=mob.near/widget/WidgetMetadataEditor