@dxos/app-framework - v0.10.0
    Preparing search index...

    Function getMetaFromConfig

    • Derives a runtime Meta from a loaded dx.config.ts (the @dxos/protocols Config2.Config). Maps the flat authoring config to the nested profile; bundled plugins have no release.

      Parameters

      • __namedParameters: {
            plugin: {
                author?: string;
                dependsOn?: readonly string[];
                description?: string;
                homePage?: string;
                icon?: { hue?: string; key: string };
                key: string;
                name: string;
                screenshots?: readonly { dark?: string; light?: string }[];
                source?: string;
                spec?: string;
                tags?: readonly string[];
            };
            publish?: {
                assetBaseUrl?: string;
                buildCommand?: string;
                outputDirectory?: string;
            };
        }

      Returns {
          profile: {
              author?: string;
              createdAt?: string;
              dependsOn?: readonly string[];
              description?: string;
              homePage?: string;
              icon?: { hue?: string; key: string };
              key: string;
              name: string;
              screenshots?: readonly { dark?: string; light?: string }[];
              source?: string;
              spec?: string;
              tags?: readonly string[];
          };
          release?: {
              createdAt?: string;
              dependencies?: { readonly [key: string]: string };
              manifestHash?: string;
              moduleUrl: string;
              pluginKey?: string;
              version: string;
          };
      }