Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add descriptions and deprecation tags to JS class definitions. LIG-37…
…94 (#321) * [docs] add API reference pages (#7433) ## Why We want API reference pages to show in detail parts of our graphql schema ## How Parse the json file and automatically statically generate pages from all the types/queries/mutations ## Changes - copies over graphql schemas to docs in introspection script - generates API reference pages from the schema - restructures routing structure to not use catch all segment for normal articles - adds nav links to all api reference pages - parses graphql type info into something that can be represented to the user (design tbd) - reuses some parsing logic from old docs, but strongly types using the graphql schema json type instead of using `any` - adds `schema` utils file for parsing the schema and getting types - adds `strings` utils file for transforming schema type names into readable names - changes collapsible animation to use height 100% which no longer animates nicely, but is necessary to make the height work for extremely large collapsibles such as the API reference one ![Screenshot 2023-11-09 at 1.13.59 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/NU8OmLauzLqa61yWDJkY/4f1f4cc4-99d6-43a5-aefb-325b230e6a54.png) ## TODO - [ ] get schema type from both lightspark and wallet sdks - [ ] add links to types within api reference pages - [ ] talk to design about placement of api reference in navs and actual page content GitOrigin-RevId: 9d1e2fd6a899f7804320ee40e7dc50dcf041f55d * Bump prettier-plugin-organize-imports from 3.2.3 to 3.2.4 in /js (#7444) Bumps [prettier-plugin-organize-imports](https://github.com/simonhaenisch/prettier-plugin-organize-imports) from 3.2.3 to 3.2.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/releases">prettier-plugin-organize-imports's releases</a>.</em></p> <blockquote> <h2>3.2.4</h2> <h2>What's Changed</h2> <ul> <li>fix: skip when formatting ranges — by <a href="https://github.com/MattLish"><code>@MattLish</code></a> in <a href="https://redirect.github.com/simonhaenisch/prettier-plugin-organize-imports/pull/112">simonhaenisch/prettier-plugin-organize-imports#112</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/MattLish"><code>@MattLish</code></a> made their first contribution in <a href="https://redirect.github.com/simonhaenisch/prettier-plugin-organize-imports/pull/112">simonhaenisch/prettier-plugin-organize-imports#112</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/compare/v3.2.3...v3.2.4">https://github.com/simonhaenisch/prettier-plugin-organize-imports/compare/v3.2.3...v3.2.4</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/2e4f07ef1e624c15385edb83ebc73eae9d664470"><code>2e4f07e</code></a> 3.2.4</li> <li><a href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/44a0cdd3f183dc8b78e29bb39c9207dc2fa92175"><code>44a0cdd</code></a> chore(readme): update changelog</li> <li><a href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/5ebe7d13f9d10d18554f982eee656dd53ad87d6d"><code>5ebe7d1</code></a> fix: skip when formatting ranges (<a href="https://redirect.github.com/simonhaenisch/prettier-plugin-organize-imports/issues/112">#112</a>)</li> <li><a href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/9a10490ebacb7f8e223fe944cccf598d17ac4025"><code>9a10490</code></a> chore(ci): drop node 14, add node 20</li> <li><a href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/commit/52254f4cea8e85a99071629374b558d907284eff"><code>52254f4</code></a> chore: bump deps</li> <li>See full diff in <a href="https://github.com/simonhaenisch/prettier-plugin-organize-imports/compare/v3.2.3...v3.2.4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier-plugin-organize-imports&package-manager=npm_and_yarn&previous-version=3.2.3&new-version=3.2.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Corey Martin <[email protected]> GitOrigin-RevId: 509e4501badcb1460ebe45327c4bf8f09962e01f * CI update lock file for PR * Bump expo from 48.0.21 to 49.0.17 in /js (#7446) Bumps [expo](https://github.com/expo/expo/tree/HEAD/packages/expo) from 48.0.21 to 49.0.17. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/expo/expo/blob/main/CHANGELOG.md">expo's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p>This is the log of notable changes to the Expo client that are developer-facing. Package-specific changes not released in any SDK will be added here just before the release. Until then, you can find them in changelogs of the individual packages (see <a href="https://github.com/expo/expo/blob/main/packages">packages</a> directory).</p> <h2>Unpublished</h2> <h3>📚 3rd party library updates</h3> <h3>🛠 Breaking changes</h3> <h3>🎉 New features</h3> <h3>🐛 Bug fixes</h3> <h3>💡 Others</h3> <h2>49.0.0 — 2023-06-27</h2> <h3>📚 3rd party library updates</h3> <ul> <li>Updated <code>@react-native-community/datetimepicker</code> from <code>6.7.3</code> to <code>7.2.0</code>. (<a href="https://redirect.github.com/expo/expo/pull/23034">#23034</a> by <a href="https://github.com/gabrieldonadel"><code>@gabrieldonadel</code></a>)</li> <li>Updated <code>@react-native-community/netinfo</code> from <code>9.3.7</code> to <code>9.3.10</code>. (<a href="https://redirect.github.com/expo/expo/pull/22892">#22892</a> by <a href="https://github.com/douglowder"><code>@douglowder</code></a>)</li> <li>Updated <code>@react-native-masked-view/masked-view</code> from <code>0.2.8</code> to <code>0.2.9</code>. (<a href="https://redirect.github.com/expo/expo/pull/22875">#22875</a> by <a href="https://github.com/gabrieldonadel"><code>@gabrieldonadel</code></a>)</li> <li>Updated <code>@react-native-picker/picker</code> from <code>2.4.8</code> to <code>2.4.10</code>. (<a href="https://redirect.github.com/expo/expo/pull/22919">#22919</a> by <a href="https://github.com/keith-kurak"><code>@keith-kurak</code></a>)</li> <li>Updated <code>@react-native-segmented-control/segmented-control</code> from <code>2.4.0</code> to <code>2.4.1</code>. (<a href="https://redirect.github.com/expo/expo/pull/22911">#22911</a> by <a href="https://github.com/keith-kurak"><code>@keith-kurak</code></a>)</li> <li>Updated <code>@shopify/flash-list</code> from <code>1.4.0</code> to <code>1.4.3</code>. (<a href="https://redirect.github.com/expo/expo/pull/22893">#22893</a> by <a href="https://github.com/gabrieldonadel"><code>@gabrieldonadel</code></a>)</li> <li>Updated <code>@shopify/react-native-skia</code> from <code>0.1.172</code> to <code>0.1.196</code>. (<a href="https://redirect.github.com/expo/expo/pull/22900">#22900</a>, <a href="https://redirect.github.com/expo/expo/pull/23036">#23036</a>, <a href="https://redirect.github.com/expo/expo/pull/23157">#23157</a> by <a href="https://github.com/kudo"><code>@kudo</code></a>)</li> <li>Updated <code>lottie-react-native</code> from <code>5.1.4</code> to <code>5.1.6</code>. (<a href="https://redirect.github.com/expo/expo/pull/22868">#22868</a> by <a href="https://github.com/alanjhughes"><code>@alanjhughes</code></a>)</li> <li>Updated <code>react-native-gesture-handler</code> from <code>2.10.1</code> to <code>2.12.0</code>. (<a href="https://redirect.github.com/expo/expo/pull/22906">#22621</a> by <a href="https://github.com/aleqsio"><code>@aleqsio</code></a>)</li> <li>Updated <code>react-native-maps</code> from <code>1.3.2</code> to <code>1.7.1</code>. (<a href="https://redirect.github.com/expo/expo/pull/22908">#22908</a> by <a href="https://github.com/aleqsio"><code>@aleqsio</code></a>)</li> <li>Updated <code>react-native-pager-view</code> from <code>6.1.2</code> to <code>6.2.0</code>. (<a href="https://redirect.github.com/expo/expo/pull/22892">#22892</a> by <a href="https://github.com/douglowder"><code>@douglowder</code></a>)</li> <li>Updated <code>react-native-reanimated</code> from <code>2.14.4</code> to <code>3.3.0</code>. (<a href="https://redirect.github.com/expo/expo/pull/22907">#22907</a> by <a href="https://github.com/kudo"><code>@kudo</code></a>)</li> <li>Updated <code>react-native-safe-area-context</code> from <code>4.5.0</code> to <code>4.6.3</code>. (<a href="https://redirect.github.com/expo/expo/pull/23026">#23026</a> by <a href="https://github.com/tsapeta"><code>@tsapeta</code></a>)</li> <li>Updated <code>react-native-screens</code> from <code>3.20.0</code> to <code>3.22.0</code>. (<a href="https://redirect.github.com/expo/expo/pull/23022">#23022</a> by <a href="https://github.com/tsapeta"><code>@tsapeta</code></a>)</li> <li>Updated <code>react-native-svg</code> from <code>13.4.0</code> to <code>13.9.0</code>. (<a href="https://redirect.github.com/expo/expo/pull/22934">#22934</a> by <a href="https://github.com/alanjhughes"><code>@alanjhughes</code></a>)</li> <li>Updated <code>react-native-view-shot</code> from <code>3.5.0</code> to <code>3.7.0</code>. (<a href="https://redirect.github.com/expo/expo/pull/23024">#23024</a> by <a href="https://github.com/tsapeta"><code>@tsapeta</code></a>))</li> <li>Updated <code>react-native-webview</code> from <code>11.26.0</code> to <code>13.2.2</code>. (<a href="https://redirect.github.com/expo/expo/pull/22913">#22913</a> by <a href="https://github.com/aleqsio"><code>@aleqsio</code></a>)</li> <li><strong><code>expo-application</code></strong> <ul> <li>Updated <code>robolectric</code> to <code>4.10</code> and <code>junit</code> to <code>4.13.2</code>. (<a href="https://redirect.github.com/expo/expo/pull/22395">#22395</a> by <a href="https://github.com/josephyanks"><code>@josephyanks</code></a>)</li> </ul> </li> <li><strong><code>expo-battery</code></strong> <ul> <li>Updated <code>robolectric</code> to <code>4.10</code> and <code>junit</code> to <code>4.13.2</code>. (<a href="https://redirect.github.com/expo/expo/pull/22395">#22395</a> by <a href="https://github.com/josephyanks"><code>@josephyanks</code></a>)</li> </ul> </li> <li><strong><code>expo-clipboard</code></strong> <ul> <li>Updated <code>robolectric</code> to <code>4.10</code>. (<a href="https://redirect.github.com/expo/expo/pull/22395">#22395</a> by <a href="https://github.com/josephyanks"><code>@josephyanks</code></a>)</li> </ul> </li> <li><strong><code>expo-crypto</code></strong> <ul> <li>Updated <code>robolectric</code> to <code>4.10</code> and <code>junit</code> to <code>4.13.2</code>. (<a href="https://redirect.github.com/expo/expo/pull/22395">#22395</a> by <a href="https://github.com/josephyanks"><code>@josephyanks</code></a>)</li> </ul> </li> <li><strong><code>expo-location</code></strong> <ul> <li>Updated <code>com.google.android.gms:play-services-location</code> to <code>21.0.1</code> and <code>io.nlopez.smartlocation:library</code> to <code>3.3.3</code> (<a href="https://redirect.github.com/expo/expo/pull/22468">#22468</a> by <a href="https://github.com/josephyanks"><code>@josephyanks</code></a>)</li> </ul> </li> <li><strong><code>expo-media-library</code></strong> <ul> <li>Updated <code>robolectric</code> to <code>4.10</code>. (<a href="https://redirect.github.com/expo/expo/pull/22395">#22395</a> by <a href="https://github.com/josephyanks"><code>@josephyanks</code></a>)</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/expo/expo/commits/HEAD/packages/expo">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=expo&package-manager=npm_and_yarn&previous-version=48.0.21&new-version=49.0.17)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> GitOrigin-RevId: 8ec309631010ee27e1ab7ae7a8b7d40975fcf621 * Bump @types/uuid from 9.0.6 to 9.0.7 in /js (#7445) Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 9.0.6 to 9.0.7. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/uuid&package-manager=npm_and_yarn&previous-version=9.0.6&new-version=9.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> GitOrigin-RevId: 0899d72d553e85593cbd2ac728444cf32027b04d * CI update lock file for PR * Add descriptions and deprecation tags to JS class definitions. (#7458) FIXES LIG-3794 GitOrigin-RevId: 71e7a43ca45d05783d106b9e82590a93b1df0264 * Create red-zebras-dance.md * [ui] fix collapsible expanding to full height even when not open (#7464) GitOrigin-RevId: 55d8f8b1da4798320ea189f6f10b8b3b57a519b4 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Brian Siao Tick Chong <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Corey Martin <[email protected]> Co-authored-by: Lightspark Eng <[email protected]> Co-authored-by: Jeremy Klein <[email protected]>
- Loading branch information