Skip to content

Commit

Permalink
resolve conflicts and attempt to remove generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
huijing committed Aug 21, 2024
1 parent 7017633 commit c31c3ce
Show file tree
Hide file tree
Showing 15 changed files with 7,011 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/documentation/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ pnpm-debug.log*
.vscode

# generated docs
src/content/docs/apis/graphql/auth/*
src/content/docs/apis/graphql/backend/*
# src/content/docs/apis/graphql/auth/*
# src/content/docs/apis/graphql/backend/*
96 changes: 96 additions & 0 deletions packages/documentation/src/content/docs/apis/auth/enums.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
---
title: Enums
---

<!-- Do not edit this file, it has been automatically generated by astro-graphql-plugin -->

## GrantFinalization



<p style={{ marginBottom: "0.4em" }}><strong>Values</strong></p>

<table>
<thead><tr><th>Value</th><th>Description</th></tr></thead>
<tbody>
<tr>
<td>ISSUED</td>
<td>
<p>grant was issued</p>
</td>
</tr>
<tr>
<td>REVOKED</td>
<td>
<p>grant was revoked</p>
</td>
</tr>
<tr>
<td>REJECTED</td>
<td>
<p>grant was rejected</p>
</td>
</tr>
</tbody>
</table>

## GrantState



<p style={{ marginBottom: "0.4em" }}><strong>Values</strong></p>

<table>
<thead><tr><th>Value</th><th>Description</th></tr></thead>
<tbody>
<tr>
<td>PROCESSING</td>
<td>
<p>grant request is determining what state to enter next</p>
</td>
</tr>
<tr>
<td>PENDING</td>
<td>
<p>grant request is awaiting interaction</p>
</td>
</tr>
<tr>
<td>APPROVED</td>
<td>
<p>grant was approved</p>
</td>
</tr>
<tr>
<td>FINALIZED</td>
<td>
<p>grant was finalized and no more access tokens or interactions can be made on it</p>
</td>
</tr>
</tbody>
</table>

## SortOrder



<p style={{ marginBottom: "0.4em" }}><strong>Values</strong></p>

<table>
<thead><tr><th>Value</th><th>Description</th></tr></thead>
<tbody>
<tr>
<td>ASC</td>
<td>
<p>Choose ascending order for results.</p>
</td>
</tr>
<tr>
<td>DESC</td>
<td>
<p>Choose descending order for results.</p>
</td>
</tr>
</tbody>
</table>

147 changes: 147 additions & 0 deletions packages/documentation/src/content/docs/apis/auth/inputObjects.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
---
title: Input objects
---

<!-- Do not edit this file, it has been automatically generated by astro-graphql-plugin -->

## FilterFinalizationReason



<p style={{ marginBottom: "0.4em" }}><strong>Arguments</strong></p>

<table>
<thead><tr><th>Name</th><th>Description</th></tr></thead>
<tbody>
<tr>
<td>
in<br />
<a href="/apis/auth/enums#grantfinalization"><code>[GrantFinalization!]</code></a>
</td>
<td>

</td>
</tr>
<tr>
<td>
notIn<br />
<a href="/apis/auth/enums#grantfinalization"><code>[GrantFinalization!]</code></a>
</td>
<td>

</td>
</tr>
</tbody>
</table>

## FilterGrantState



<p style={{ marginBottom: "0.4em" }}><strong>Arguments</strong></p>

<table>
<thead><tr><th>Name</th><th>Description</th></tr></thead>
<tbody>
<tr>
<td>
in<br />
<a href="/apis/auth/enums#grantstate"><code>[GrantState!]</code></a>
</td>
<td>

</td>
</tr>
<tr>
<td>
notIn<br />
<a href="/apis/auth/enums#grantstate"><code>[GrantState!]</code></a>
</td>
<td>

</td>
</tr>
</tbody>
</table>

## FilterString



<p style={{ marginBottom: "0.4em" }}><strong>Arguments</strong></p>

<table>
<thead><tr><th>Name</th><th>Description</th></tr></thead>
<tbody>
<tr>
<td>
in<br />
<a href="/apis/auth/scalars#string"><code>[String!]</code></a>
</td>
<td>

</td>
</tr>
</tbody>
</table>

## GrantFilter



<p style={{ marginBottom: "0.4em" }}><strong>Arguments</strong></p>

<table>
<thead><tr><th>Name</th><th>Description</th></tr></thead>
<tbody>
<tr>
<td>
identifier<br />
<a href="/apis/auth/inputobjects#filterstring"><code>FilterString</code></a>
</td>
<td>

</td>
</tr>
<tr>
<td>
state<br />
<a href="/apis/auth/inputobjects#filtergrantstate"><code>FilterGrantState</code></a>
</td>
<td>

</td>
</tr>
<tr>
<td>
finalizationReason<br />
<a href="/apis/auth/inputobjects#filterfinalizationreason"><code>FilterFinalizationReason</code></a>
</td>
<td>

</td>
</tr>
</tbody>
</table>

## RevokeGrantInput



<p style={{ marginBottom: "0.4em" }}><strong>Arguments</strong></p>

<table>
<thead><tr><th>Name</th><th>Description</th></tr></thead>
<tbody>
<tr>
<td>
grantId<br />
<a href="/apis/auth/scalars#string"><code>String!</code></a>
</td>
<td>

</td>
</tr>
</tbody>
</table>

41 changes: 41 additions & 0 deletions packages/documentation/src/content/docs/apis/auth/interfaces.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: Interfaces
---

<!-- Do not edit this file, it has been automatically generated by astro-graphql-plugin -->

## Model



<p style={{ marginBottom: "0.4em" }}><strong>Implemented by</strong></p>

- [Grant](/apis/auth/objects#grant)
- [Access](/apis/auth/objects#access)

<p style={{ marginBottom: "0.4em" }}><strong>Fields</strong></p>

<table>
<thead><tr><th>Name</th><th>Description</th></tr></thead>
<tbody>
<tr>
<td>
id<br />
<a href="/apis/auth/scalars#id"><code>ID!</code></a>
</td>
<td>

</td>
</tr>
<tr>
<td>
createdAt<br />
<a href="/apis/auth/scalars#string"><code>String!</code></a>
</td>
<td>

</td>
</tr>
</tbody>
</table>

29 changes: 29 additions & 0 deletions packages/documentation/src/content/docs/apis/auth/mutations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: Mutations
---

<!-- Do not edit this file, it has been automatically generated by astro-graphql-plugin -->

## revokeGrant

**Type:** [RevokeGrantMutationResponse!](/apis/auth/objects#revokegrantmutationresponse)

Revoke Grant

<p style={{ marginBottom: "0.4em" }}><strong>Arguments</strong></p>

<table>
<thead><tr><th>Name</th><th>Description</th></tr></thead>
<tbody>
<tr>
<td>
input<br />
<a href="/apis/auth/inputobjects#revokegrantinput"><code>RevokeGrantInput!</code></a>
</td>
<td>

</td>
</tr>
</tbody>
</table>

Loading

0 comments on commit c31c3ce

Please sign in to comment.