{"id":21095488,"url":"https://github.com/faebeee/ts-interface-search","last_synced_at":"2025-10-27T22:07:43.172Z","repository":{"id":148246271,"uuid":"139901465","full_name":"faebeee/ts-interface-search","owner":"faebeee","description":"Module to search for TS interface in a project by the interface name","archived":false,"fork":false,"pushed_at":"2018-07-05T21:16:58.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T01:44:17.288Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ts-interface-search","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faebeee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-05T21:16:46.000Z","updated_at":"2018-07-05T21:18:46.000Z","dependencies_parsed_at":"2023-05-19T13:00:33.264Z","dependency_job_id":null,"html_url":"https://github.com/faebeee/ts-interface-search","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faebeee%2Fts-interface-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faebeee%2Fts-interface-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faebeee%2Fts-interface-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faebeee%2Fts-interface-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faebeee","download_url":"https://codeload.github.com/faebeee/ts-interface-search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243538135,"owners_count":20307104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T22:26:40.448Z","updated_at":"2025-10-27T22:07:38.116Z","avatar_url":"https://github.com/faebeee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ts-interface-search\n\n## Install\n\n    npm i ts-interface-search -g\n\n## Usage\nSimple search for an interface name\n\n    ➜ interface-search IAbstractPlugin\n\nwill give you an output like this\n\n    description: Abstract interface for a plugin\n    type:        object\n    properties:\n    type:\n        type: string\n    plugins:\n        type:  array\n        items:\n        $ref: #/definitions/IAbstractPlugin\n    content:\n        $ref: #/definitions/IAbstractPluginContent\n    required:\n    - content\n    - type\n    definitions:\n    IAbstractPlugin:\n        description: Abstract interface for a plugin\n        type:        object\n        properties:\n        type:\n            type: string\n        plugins:\n            type:  array\n            items:\n            $ref: #/definitions/IAbstractPlugin\n        content:\n            $ref: #/definitions/IAbstractPluginContent\n        required:\n        - content\n        - type\n    IAbstractPluginContent:\n        description:          Abstract interface for a plugin content\n        type:                 object\n        additionalProperties:\n    $schema:     http://json-schema.org/draft-06/schema#\n\nby adding `--ext` you'll get informations about referenced interfaces.\n\n    ➜ interface-search IBranch --ext\n\nOutput\n\n    type:        object\n    properties:\n    id:\n        type: number\n    address:\n        type: string\n    phone:\n        type: string\n    longitude:\n        type: number\n    latitude:\n        type: number\n    name:\n        type: string\n    mail:\n        type: string\n    country_ids:\n        type:  array\n        items:\n        type: number\n    representation_labels:\n        $ref: #/definitions/IRepresentationLabels\n    countries:\n        type:  array\n        items:\n        $ref: #/definitions/ICountry\n    address_country:\n        $ref: #/definitions/ICountry\n    required:\n    - address\n    - address_country\n    - countries\n    - id\n    - latitude\n    - longitude\n    - mail\n    - name\n    - phone\n    - representation_labels\n    definitions:\n    IRepresentationLabels:\n        type:       object\n        properties:\n        toggle_label:\n            type: string\n        title:\n            type: string\n        required:\n        - title\n        - toggle_label\n    ICountry:\n        type:       object\n        properties:\n        id:\n            type: number\n        label:\n            type: string\n        search:\n            type: string\n        required:\n        - id\n        - label\n    $schema:     http://json-schema.org/draft-06/schema#","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaebeee%2Fts-interface-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaebeee%2Fts-interface-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaebeee%2Fts-interface-search/lists"}