···11# @clipprjs/lexicons
2233-lexicon package auto-generated with `@atcute/lex-cli`33+Lexicon package auto-generated with `@atcute/lex-cli`
44+55+> [!WARNING]
66+> This package is *very* unstable. Lexicon attributes can be modified at any moment.
77+> Please do not use this package for anything until the [Clippr server](https://tangled.sh/@hexmani.ac/clippr) has been
88+> deployed.
99+1010+## Usage
1111+1212+> [!NOTE]
1313+> This section has been shamelessly lifted from
1414+> the [atcute definitions](https://github.com/mary-ext/atcute/tree/trunk/packages/definitions/bluesky) packages. We
1515+> recommend using this package with other atcute libraries for maximum compatibility.
1616+1717+```ts
1818+import {SocialClipprFeedClip} from '@clipprjs/lexicons';
1919+import {is} from '@atcute/lexicons';
2020+2121+const record: SocialClipprFeedClip.Main = {
2222+ $type: 'social.clippr.feed.clip',
2323+ createdAt: "2025-07-08T12:34:56.123Z",
2424+ url: "https://example.com",
2525+ title: "Example page",
2626+ description: "Example description",
2727+ unlisted: false,
2828+ notes: "This is an example note for a clip",
2929+ tags: undefined,
3030+ unread: true,
3131+ languages: [
3232+ "en"
3333+ ]
3434+};
3535+3636+is(SocialClipprFeedClip.mainSchema, record);
3737+// -> true
3838+```
3939+4040+### Using with `@atcute/client`
4141+4242+Pick either one of these three options to register the ambient declarations:
4343+4444+```jsonc
4545+// tsconfig.json
4646+{
4747+ "compilerOptions": {
4848+ "types": ["@clipprjs/lexicons"],
4949+ },
5050+}
5151+```
5252+5353+```ts
5454+// env.d.ts
5555+/// <reference types="@clipprjs/lexicons" />
5656+```
5757+5858+```ts
5959+// index.ts
6060+import type {} from '@clipprjs/lexicons';
6161+```
6262+6363+All the XRPC operations should be visible in the client afterward.