{"id":17091057,"url":"https://github.com/jeremyruppel/logic-pro-types","last_synced_at":"2025-03-23T16:13:28.561Z","repository":{"id":202833431,"uuid":"708234950","full_name":"jeremyruppel/logic-pro-types","owner":"jeremyruppel","description":"Type definitions for Logic Pro's Scripter tool","archived":false,"fork":false,"pushed_at":"2024-02-23T16:15:56.000Z","size":76,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-06T04:03:58.286Z","etag":null,"topics":["logic-pro","logic-pro-x","logicprox","scripter"],"latest_commit_sha":null,"homepage":"https://jeremyruppel.github.io/logic-pro-types/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeremyruppel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-10-21T23:42:34.000Z","updated_at":"2025-02-23T19:26:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d502449-38d3-4c4e-8850-0dcfd16fac71","html_url":"https://github.com/jeremyruppel/logic-pro-types","commit_stats":null,"previous_names":["jeremyruppel/tslogic"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyruppel%2Flogic-pro-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyruppel%2Flogic-pro-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyruppel%2Flogic-pro-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyruppel%2Flogic-pro-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremyruppel","download_url":"https://codeload.github.com/jeremyruppel/logic-pro-types/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940135,"owners_count":20372047,"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":["logic-pro","logic-pro-x","logicprox","scripter"],"created_at":"2024-10-14T13:57:27.435Z","updated_at":"2025-03-23T16:13:28.535Z","avatar_url":"https://github.com/jeremyruppel.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# logic-pro-types\n\nTypeScript type definitions for Logic Pro's Scripter.\n\n### usage\n\nNow you can do this, complete with type hints:\n\n```ts\n/// \u003creference types=\"logic-pro-types\" /\u003e\nconst PluginParameters: PluginParameters = [\n  {\n    name: \"delay\",\n    type: \"lin\",\n    minValue: 100,\n    maxValue: 500,\n    defaultValue: 200,\n  },\n]\n\nfunction HandleMIDI(e: NoteOn | NoteOff) {\n  e.send()\n\n  if (e instanceof NoteOn) {\n    const echo = new NoteOn()\n    echo.sendAfterMilliseconds(GetParameter(\"delay\"))\n  }\n}\n```\n\n### install\n\nCreate a `tsconfig.json` with the following compiler options:\n\n```json\n{\n  \"compilerOptions\": {\n    \"outDir\": \"\u003cwhere you want your scripts written out\u003e\",\n    \"target\": \"ES6\",\n    \"skipLibCheck\": true\n  },\n  \"include\": [\"\u003cyour source files\u003e\"]\n}\n```\n\nInstall `typescript` and `logic-pro-types` devDependencies of your project:\n\n```\n$ npm install --save-dev typescript logic-pro-types\n```\n\nThen, in your .ts source files, reference the `logic-pro-types` types like:\n\n```ts\n/// \u003creference types=\"logic-pro-types\" /\u003e\n```\n\n### TypeScript API Docs\n\nBrowseable documentation can be found [here][docs].\n\n[docs]: https://jeremyruppel.github.io/logic-pro-types/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyruppel%2Flogic-pro-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremyruppel%2Flogic-pro-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyruppel%2Flogic-pro-types/lists"}