Barazo lexicon schemas and TypeScript types barazo.forum
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: rename barazo-forum to singi-labs across all files

+34 -34
+1 -1
.github/ISSUE_TEMPLATE/config.yml
··· 1 1 blank_issues_enabled: true 2 2 contact_links: 3 3 - name: File issue in barazo-workspace 4 - url: https://github.com/barazo-forum/barazo-workspace/issues/new/choose 4 + url: https://github.com/singi-labs/barazo-workspace/issues/new/choose 5 5 about: We track all issues centrally in barazo-workspace. Please file there for cross-repo features, general feedback, or if unsure where an issue belongs.
+1 -1
.github/SECURITY.md
··· 34 34 35 35 ### Supply Chain 36 36 37 - - **npm package tampering** -- the published `@barazo-forum/lexicons` package containing code or types not present in the source repo 37 + - **npm package tampering** -- the published `@singi-labs/lexicons` package containing code or types not present in the source repo 38 38 - **Build script injection** -- malicious code in the type generation pipeline that could execute during `npm install` or build 39 39 - **Dependency confusion** -- packages with similar names that could be installed instead of the legitimate package 40 40
+2 -2
.github/workflows/cla.yml
··· 23 23 PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_BOT_TOKEN }} 24 24 with: 25 25 path-to-signatures: 'signatures/cla.json' 26 - path-to-document: 'https://github.com/barazo-forum/.github/blob/main/CLA.md' 26 + path-to-document: 'https://github.com/singi-labs/.github/blob/main/CLA.md' 27 27 branch: 'main' 28 28 allowlist: 'gxjansen,dependabot[bot],github-actions[bot]' 29 - remote-organization-name: 'barazo-forum' 29 + remote-organization-name: 'singi-labs' 30 30 remote-repository-name: '.github' 31 31 lock-pullrequest-aftermerge: false 32 32 use-dco-flag: false
+2 -2
.github/workflows/deploy-staging.yml
··· 16 16 uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1 17 17 with: 18 18 token: ${{ secrets.DEPLOY_PAT }} 19 - repository: barazo-forum/barazo-deploy 19 + repository: singi-labs/barazo-deploy 20 20 event-type: deploy-staging 21 21 client-payload: | 22 22 { ··· 29 29 uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1 30 30 with: 31 31 token: ${{ secrets.DEPLOY_PAT }} 32 - repository: barazo-forum/barazo-workspace 32 + repository: singi-labs/barazo-workspace 33 33 event-type: sync-lockfile
+1 -1
.npmrc
··· 1 - @barazo-forum:registry=https://npm.pkg.github.com 1 + @singi-labs:registry=https://npm.pkg.github.com
+4 -4
AGENTS.md
··· 1 1 # Barazo Lexicons -- Schema Definitions 2 2 3 3 <!-- Auto-generated from barazo-workspace. To propose changes, edit the source: 4 - https://github.com/barazo-forum/barazo-workspace/tree/main/agents-md --> 4 + https://github.com/singi-labs/barazo-workspace/tree/main/agents-md --> 5 5 6 - MIT | Part of [github.com/barazo-forum](https://github.com/barazo-forum) 6 + MIT | Part of [github.com/singi-labs](https://github.com/singi-labs) 7 7 8 8 Lexicon schemas for the Barazo forum platform. Defines all `forum.barazo.*` record types and generates TypeScript types consumed by barazo-api and barazo-web. 9 9 ··· 41 41 42 42 Open-source forum software built on the [AT Protocol](https://atproto.com/). Portable identity, member-owned data, no lock-in. 43 43 44 - - **Organization:** [github.com/barazo-forum](https://github.com/barazo-forum) 44 + - **Organization:** [github.com/singi-labs](https://github.com/singi-labs) 45 45 - **License:** AGPL-3.0 (backend) / MIT (frontend, lexicons, deploy) / CC BY-SA 4.0 + MIT (docs) / Proprietary (website) 46 - - **Contributing:** See [CONTRIBUTING.md](https://github.com/barazo-forum/.github/blob/main/CONTRIBUTING.md) 46 + - **Contributing:** See [CONTRIBUTING.md](https://github.com/singi-labs/.github/blob/main/CONTRIBUTING.md) 47 47 48 48 ### Coding Standards 49 49
+1 -1
LICENSE
··· 1 1 MIT License 2 2 3 - Copyright (c) 2026 barazo-forum 3 + Copyright (c) 2026 singi-labs 4 4 5 5 Permission is hereby granted, free of charge, to any person obtaining a copy 6 6 of this software and associated documentation files (the "Software"), to deal
+19 -19
README.md
··· 1 1 <div align="center"> 2 2 3 3 <picture> 4 - <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/barazo-forum/.github/main/assets/logo-dark.svg"> 5 - <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/barazo-forum/.github/main/assets/logo-light.svg"> 6 - <img alt="Barazo Logo" src="https://raw.githubusercontent.com/barazo-forum/.github/main/assets/logo-dark.svg" width="120"> 4 + <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/singi-labs/.github/main/assets/logo-dark.svg"> 5 + <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/singi-labs/.github/main/assets/logo-light.svg"> 6 + <img alt="Barazo Logo" src="https://raw.githubusercontent.com/singi-labs/.github/main/assets/logo-dark.svg" width="120"> 7 7 </picture> 8 8 9 9 # Barazo Lexicons ··· 12 12 13 13 [![Status: Alpha](https://img.shields.io/badge/status-alpha-orange)]() 14 14 [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) 15 - [![CI](https://github.com/barazo-forum/barazo-lexicons/actions/workflows/ci.yml/badge.svg)](https://github.com/barazo-forum/barazo-lexicons/actions/workflows/ci.yml) 15 + [![CI](https://github.com/singi-labs/barazo-lexicons/actions/workflows/ci.yml/badge.svg)](https://github.com/singi-labs/barazo-lexicons/actions/workflows/ci.yml) 16 16 [![Node.js](https://img.shields.io/badge/node-24%20LTS-brightgreen)](https://nodejs.org/) 17 17 [![TypeScript](https://img.shields.io/badge/typescript-5.x-blue)](https://www.typescriptlang.org/) 18 18 ··· 51 51 ForumBarazoTopicReply, 52 52 ForumBarazoInteractionReaction, 53 53 ForumBarazoActorPreferences, 54 - } from '@barazo-forum/lexicons' 54 + } from '@singi-labs/lexicons' 55 55 56 56 // Record type 57 57 type Post = ForumBarazoTopicPost.Record ··· 73 73 topicReplySchema, 74 74 reactionSchema, 75 75 actorPreferencesSchema, 76 - } from '@barazo-forum/lexicons' 76 + } from '@singi-labs/lexicons' 77 77 78 78 const result = topicPostSchema.safeParse(input) 79 79 if (result.success) { ··· 84 84 **Lexicon ID Constants:** 85 85 86 86 ```typescript 87 - import { LEXICON_IDS, ids } from '@barazo-forum/lexicons' 87 + import { LEXICON_IDS, ids } from '@singi-labs/lexicons' 88 88 89 89 LEXICON_IDS.TopicPost // "forum.barazo.topic.post" 90 90 LEXICON_IDS.TopicReply // "forum.barazo.topic.reply" ··· 96 96 **Raw Lexicon Schemas:** 97 97 98 98 ```typescript 99 - import { schemas } from '@barazo-forum/lexicons' 99 + import { schemas } from '@singi-labs/lexicons' 100 100 // Array of LexiconDoc objects for all forum.barazo.* schemas 101 101 ``` 102 102 ··· 109 109 Configure GitHub Packages access in `.npmrc`: 110 110 111 111 ``` 112 - @barazo-forum:registry=https://npm.pkg.github.com 112 + @singi-labs:registry=https://npm.pkg.github.com 113 113 ``` 114 114 115 115 Install: 116 116 117 117 ```bash 118 - pnpm add @barazo-forum/lexicons 118 + pnpm add @singi-labs/lexicons 119 119 ``` 120 120 121 121 Workspace consumers (`barazo-api`, `barazo-web`) are already linked via pnpm workspace. ··· 133 133 pnpm typecheck # Type check 134 134 ``` 135 135 136 - See [CONTRIBUTING.md](https://github.com/barazo-forum/.github/blob/main/CONTRIBUTING.md) for branching strategy, commit format, and code review process. 136 + See [CONTRIBUTING.md](https://github.com/singi-labs/.github/blob/main/CONTRIBUTING.md) for branching strategy, commit format, and code review process. 137 137 138 138 --- 139 139 140 140 ## Related Repositories 141 141 142 - | Repository | Description | License | 143 - | ---------------------------------------------------------------- | --------------------------------------------- | -------- | 144 - | [barazo-api](https://github.com/barazo-forum/barazo-api) | AppView backend (Fastify, firehose, REST API) | AGPL-3.0 | 145 - | [barazo-web](https://github.com/barazo-forum/barazo-web) | Forum frontend (Next.js, Tailwind) | MIT | 146 - | [barazo-deploy](https://github.com/barazo-forum/barazo-deploy) | Docker Compose deployment templates | MIT | 147 - | [barazo-website](https://github.com/barazo-forum/barazo-website) | Marketing + documentation site | MIT | 142 + | Repository | Description | License | 143 + | -------------------------------------------------------------- | --------------------------------------------- | -------- | 144 + | [barazo-api](https://github.com/singi-labs/barazo-api) | AppView backend (Fastify, firehose, REST API) | AGPL-3.0 | 145 + | [barazo-web](https://github.com/singi-labs/barazo-web) | Forum frontend (Next.js, Tailwind) | MIT | 146 + | [barazo-deploy](https://github.com/singi-labs/barazo-deploy) | Docker Compose deployment templates | MIT | 147 + | [barazo-website](https://github.com/singi-labs/barazo-website) | Marketing + documentation site | MIT | 148 148 149 149 --- 150 150 ··· 161 161 ## Community 162 162 163 163 - **Website:** [barazo.forum](https://barazo.forum) 164 - - **Discussions:** [GitHub Discussions](https://github.com/orgs/barazo-forum/discussions) 165 - - **Issues:** [Report bugs](https://github.com/barazo-forum/barazo-lexicons/issues) 164 + - **Discussions:** [GitHub Discussions](https://github.com/orgs/singi-labs/discussions) 165 + - **Issues:** [Report bugs](https://github.com/singi-labs/barazo-lexicons/issues) 166 166 167 167 --- 168 168
+2 -2
package.json
··· 1 1 { 2 - "name": "@barazo-forum/lexicons", 2 + "name": "@singi-labs/lexicons", 3 3 "version": "0.1.2", 4 4 "description": "AT Protocol lexicon schemas and generated TypeScript types for the Barazo forum platform", 5 5 "type": "module", ··· 11 11 }, 12 12 "repository": { 13 13 "type": "git", 14 - "url": "https://github.com/barazo-forum/barazo-lexicons.git" 14 + "url": "https://github.com/singi-labs/barazo-lexicons.git" 15 15 }, 16 16 "exports": { 17 17 ".": {
+1 -1
src/index.ts
··· 1 1 /** 2 - * @barazo-forum/lexicons 2 + * @singi-labs/lexicons 3 3 * 4 4 * AT Protocol lexicon schemas and generated TypeScript types 5 5 * for the Barazo forum platform.