Coder Social home page Coder Social logo

Comments (4)

ColinEberhardt avatar ColinEberhardt commented on August 13, 2024

Currently it looks like the App Directory working group are defining HTTP REST APIs rather than TypeScript:

https://github.com/FDC3/appd-api/blob/master/specification/appd.yaml

from fdc3.

rikoe avatar rikoe commented on August 13, 2024

Current AppMetadata object:

interface AppMetadata {
  name: string;
}

Current App Directory specification (example):

{
  "appId": "string",
  "name": "string",
  "manifest": "string",
  "manifestType": "string",
  "version": "string",
  "title": "string",
  "tooltip": "string",
  "description": "string",
  "images": [
    {
      "url": "string"
    }
  ],
  "contactEmail": "string",
  "supportEmail": "string",
  "publisher": "string",
  "icons": [
    {
      "icon": "string"
    }
  ],
  "customConfig": [
    {
      "name": "string",
      "value": "string"
    }
  ],
  "intents": [
    {
      "name": "string",
      "displayName": "string",
      "contexts": [
        "string"
      ],
      "customConfig": {}
    }
  ]
}

Current App Directory specification (definition):

components:
  schemas:
    Application:
      required:
        - appId
        - name
        - manifest
        - manifestType
      properties:
        appId:
          type: string
        name:
          type: string
        manifest:
          type: string
        manifestType:
          type: string
        version:
          type: string
        title:
          type: string
        tooltip:
          type: string
        description:
          type: string
        images:
          type: array
          items:
            $ref: '#/components/schemas/AppImage'
        contactEmail:
          type: string
        supportEmail:
          type: string
        publisher:
          type: string
        icons:
          type: array
          items:
            $ref: '#/components/schemas/Icon'
        customConfig:
          type: array
          items:
            $ref: '#/components/schemas/NameValuePair'
        intents:
          type: array
          items:
            $ref: '#/components/schemas/Intent'

from fdc3.

rikoe avatar rikoe commented on August 13, 2024

Current IntentMetadata object:

interface IntentMetadata {
  name: string;
  displayName: string;
}

Current Intent specification (see https://github.com/FDC3/FDC3/tree/master/src/intents):

interface Intent {
    name:string;
    displayName? : string;
    contexts?: string[]
    customConfig?: Object; 
}

from fdc3.

nkolba avatar nkolba commented on August 13, 2024

The "contexts" field on the Intent interface for AppD is to provide metadata for routing intents for that specific App for the provided context. I.e. the app may fulfill the ViewNews intent if an instrument context is provided - but not for a contact context.

from fdc3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.