···11+{
22+ "defs": {
33+ "main": {
44+ "description": "A like of a package on npmx",
55+ "key": "tid",
66+ "record": {
77+ "properties": {
88+ "createdAt": {
99+ "format": "datetime",
1010+ "type": "string"
1111+ },
1212+ "subject": {
1313+ "description": "A strong reference to the dev.npmx.package record. If the package does not have a record in an atproto repo, this is not included.",
1414+ "type": "ref",
1515+ "ref": "com.atproto.repo.strongRef"
1616+ },
1717+ "subjectRef": {
1818+ "description": "The npmx URL to the package to allow for counting of packages that do not have a record in an atproto repo.",
1919+ "type": "string",
2020+ "format": "uri"
2121+ }
2222+ },
2323+ "required": ["createdAt", "subjectRef"],
2424+ "type": "object"
2525+ },
2626+ "type": "record"
2727+ }
2828+ },
2929+ "id": "dev.npmx.feed.like",
3030+ "lexicon": 1
3131+}
···33 `at_uri` text NOT NULL,
44 `subject_ref` text NOT NULL,
55 `did` text NOT NULL,
66- `created_at` integer
66+ `createdAt` integer,
77+ `indexedAt` integer
78);
89--> statement-breakpoint
910CREATE UNIQUE INDEX `likes_at_uri_unique` ON `likes` (`at_uri`);--> statement-breakpoint
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from './strongRef.defs.js'
66+export * as $defs from './strongRef.defs.js'
+5
server/utils/types/lexicons/dev.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * as npmx from './dev/npmx.js'
+5
server/utils/types/lexicons/dev/npmx.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * as feed from './npmx/feed.js'
+5
server/utils/types/lexicons/dev/npmx/feed.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * as like from './feed/like.js'
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+import { l } from '@atproto/lex'
66+import * as RepoStrongRef from '../../../com/atproto/repo/strongRef.defs.js'
77+88+const $nsid = 'dev.npmx.feed.like'
99+1010+export { $nsid }
1111+1212+/** A like of a package on npmx */
1313+type Main = {
1414+ $type: 'dev.npmx.feed.like'
1515+ createdAt: l.DatetimeString
1616+1717+ /**
1818+ * A strong reference to the dev.npmx.package record. If the package does not have a record in an atproto repo, this is not included.
1919+ */
2020+ subject?: RepoStrongRef.Main
2121+2222+ /**
2323+ * The npmx URL to the package to allow for counting of packages that do not have a record in an atproto repo.
2424+ */
2525+ subjectRef: l.UriString
2626+}
2727+2828+export type { Main }
2929+3030+/** A like of a package on npmx */
3131+const main = l.record<'tid', Main>(
3232+ 'tid',
3333+ $nsid,
3434+ l.object({
3535+ createdAt: l.string({ format: 'datetime' }),
3636+ subject: l.optional(
3737+ l.ref<RepoStrongRef.Main>((() => RepoStrongRef.main) as any),
3838+ ),
3939+ subjectRef: l.string({ format: 'uri' }),
4040+ }),
4141+)
4242+4343+export { main }
4444+4545+export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main),
4646+ $build = /*#__PURE__*/ main.build.bind(main),
4747+ $type = /*#__PURE__*/ main.$type
4848+export const $assert = /*#__PURE__*/ main.assert.bind(main),
4949+ $check = /*#__PURE__*/ main.check.bind(main),
5050+ $cast = /*#__PURE__*/ main.cast.bind(main),
5151+ $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main),
5252+ $matches = /*#__PURE__*/ main.matches.bind(main),
5353+ $parse = /*#__PURE__*/ main.parse.bind(main),
5454+ $safeParse = /*#__PURE__*/ main.safeParse.bind(main),
5555+ $validate = /*#__PURE__*/ main.validate.bind(main),
5656+ $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main)
+6
server/utils/types/lexicons/dev/npmx/feed/like.ts
···11+/*
22+ * THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
33+ */
44+55+export * from './like.defs.js'
66+export * as $defs from './like.defs.js'