Sha256: eeb1fa10d00eea1926a23f850e44cb21cf8d7e6d2c9f5c1995757c7edaed8d61

Contents?: true

Size: 587 Bytes

Versions: 1

Compression:

Stored size: 587 Bytes

Contents

@namespace("Switchboard")

protocol PackageSlug {

  /** The main class for this protocol */
  record PackageSlug {
    /** The primary key */
    int id;
    int specialty_id;
    string name;
    string slug;
  }

  record PackageFetchOption {
    /** Which page of records to fetch */
    int page = 1;

    /** How many records per page */
    int per_page = 10;

    int specialty_id;
    boolean advisor;
  }

  /** Returns a list of PackageSlugs */
  array<PackageSlug> index(PackageFetchOption options);

  /** Return a single PackageSlug */
  array<PackageSlug> show(int id);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
switchboard-contract-1.9.5 contracts/mobile/source/package_slug.avdl