feat: first version
Some checks failed
Build, check & Test / run (push) Failing after 39s

Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
2023-07-20 17:41:16 +02:00
parent 2bd59f902f
commit 09ed4c487d
80 changed files with 1171 additions and 2755 deletions

5
src/content/README.md Normal file
View File

@ -0,0 +1,5 @@
# Content
Contains raw content for pages.
Mostly some static pages or blog posts.

View File

@ -1,15 +1,15 @@
// 1. Import utilities from `astro:content`
import { defineCollection, z } from 'astro:content'
// import { defineCollection, z } from 'astro:content'
// 2. Define your collection(s)
const docsCollection = defineCollection({
type: 'content',
schema: z.object({
title: z.string()
})
})
// const docsCollection = defineCollection({
// type: 'content',
// schema: z.object({
// title: z.string()
// })
// })
// 3. Export a single `collections` object to register your collection(s)
// This key should match your collection directory name in "src/content"
export const collections = {
'docs': docsCollection,
};
// export const collections = {
// 'docs': docsCollection,
// };

View File

@ -1,23 +0,0 @@
---
title: 'Unauthorized Access Error'
---
# Unauthorized Access Error
## Possible Errors
### Permission Error
You need to have an API key with the correct permission to use the specified resource
### Missing API Key
To have access to most of the API Urls you need to have n API key in your headers like the following
```http
Authorization: Bearer 935b6640-25fe-402e-8b18-e60de88bc0da
```
### Cookies not found
An alternative to the API Key is to have your cookies set, this is mostly for in browser and will only work while being connected on the website