Commit 4c64612f authored by Grant's avatar Grant
Browse files

Initial commit

parents
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+34 −0
Original line number Diff line number Diff line
# dependencies (bun install)
node_modules

# output
out
dist
*.tgz

# code coverage
coverage
*.lcov

# logs
logs
_.log
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# caches
.eslintcache
.cache
*.tsbuildinfo

# IntelliJ based IDEs
.idea

# Finder (MacOS) folder config
.DS_Store

.gitlab-ci.yml

0 → 100644
+14 −0
Original line number Diff line number Diff line
image: oven/bun:latest

pages:
  stage: deploy
  script:
    - bun install --frozen-lockfile
    - redocly bundle -o public/index.html openapi/spec.yml
  pages:
    publish: public
  artifacts:
    paths:
      - public
  only:
    - master

README.md

0 → 100644
+15 −0
Original line number Diff line number Diff line
# fediverse.events-api

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

This project was created using `bun init` in bun v1.2.11. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.

bun.lock

0 → 100644
+0 −0

File added.

Preview size limit exceeded, changes collapsed.

+46 −0
Original line number Diff line number Diff line
Event:
  type: object
  x-tags: 
    - events
  properties: 
    id:
      type: string
    name:
      type: string
    start:
      type: string
      format: date-time
    end:
      type: string
      format: date-time
      nullable: true
    logos:
      type: array
      description: Logos sorted by priority
      items:
        $ref: "#/URLWithMime"
    endpoints:
      $ref: "#/EventEndpoints"
EventEndpoints:
  type: object
  properties:
    open:
      type: string
      format: url
      nullable: true
      description: URL to open the event
    more_info:
      type: string
      format: url
      nullable: true
      description: URL for more information
URLWithMime:
  type: object
  properties:
    type:
      type: string
      description: Mime type
    url:
      type: string
      format: url
 No newline at end of file