Skip to content

Commit

Permalink
fix: [temp] skip stonecrop api extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan Bansal committed Dec 13, 2024
1 parent 92b13b0 commit e9a06f5
Show file tree
Hide file tree
Showing 25 changed files with 336 additions and 30 deletions.
2 changes: 1 addition & 1 deletion aform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"vue": "^3.5.11"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.25.3",
"@microsoft/api-documenter": "^7.26.2",
"@rushstack/heft": "^0.68.6",
"@stonecrop/atable": "workspace:*",
"@typescript-eslint/eslint-plugin": "^7.14.1",
Expand Down
2 changes: 1 addition & 1 deletion atable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"vue": "^3.5.11"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.25.3",
"@microsoft/api-documenter": "^7.26.2",
"@rushstack/heft": "^0.68.6",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
Expand Down
2 changes: 1 addition & 1 deletion beam/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"vue": "^3.5.11"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.25.3",
"@microsoft/api-documenter": "^7.26.2",
"@rushstack/heft": "^0.68.6",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
Expand Down
2 changes: 1 addition & 1 deletion code_editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"vue": "^3.5.11"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.25.3",
"@microsoft/api-documenter": "^7.26.2",
"@rushstack/heft": "^0.68.6",
"@stonecrop/atable": "workspace:*",
"@typescript-eslint/eslint-plugin": "^7.14.1",
Expand Down
21 changes: 12 additions & 9 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 12 additions & 2 deletions common/reviews/api/desktop.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
```ts

import ActionSet from '@/components/ActionSet.vue';
import { App } from 'vue';
import CommandPalette from '@/components/CommandPalette.vue';
import Doctype from '@/components/Doctype.vue';
import { Plugin as Plugin_2 } from 'vue';
import Records from '@/components/Records.vue';
import SheetNav from '@/components/SheetNav.vue';
import StonecropDesktop from '@/plugins';

export { ActionSet }

Expand All @@ -21,7 +22,16 @@ export { Records }

export { SheetNav }

export { StonecropDesktop }
// @public
export const StonecropDesktop: Plugin_2 = {
install: (app: App) => {
app.component('ActionSet', ActionSet)
app.component('CommandPalette', CommandPalette)
app.component('Doctype', Doctype)
app.component('Records', Records)
app.component('SheetNav', SheetNav)
},
};

// (No @packageDocumentation comment for this package)

Expand Down
47 changes: 37 additions & 10 deletions common/reviews/api/graphql-client.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,53 @@
```ts

import type { Meta } from '@/types';
import type { MetaParser } from '@/types';
import type { MetaResponse } from '@/types';
import { queries } from './queries';
import typeDefs from './gql/schema';
// @public
export type Meta = {
variables: {
doctype: string
}

export { Meta }
response: {
getMeta: MetaResponse
}
}

export { MetaParser }
// @public
export type MetaParser = {
data: Meta['response']
}

export { MetaResponse }
// @public
export type MetaResponse = {
id: string
name: string
workflow: {
id: string
name: string
machineId?: string
}
schema: {
id: string
label: string
}[]
actions: {
id: string
eventName: string
}[]
}

// @public
export const methods: {
getMeta: (doctype: string, url?: string) => Promise<MetaResponse>;
};

export { queries }
// @public
export const queries: {
getMeta: string;
};

export { typeDefs }
// @public
export const typeDefs: string;

// (No @packageDocumentation comment for this package)

Expand Down
2 changes: 1 addition & 1 deletion desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"xstate": "^4.38.3"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.25.3",
"@microsoft/api-documenter": "^7.26.2",
"@miragejs/graphql": "^0.1.13",
"@rushstack/heft": "^0.68.6",
"@typescript-eslint/eslint-plugin": "^7.14.1",
Expand Down
5 changes: 5 additions & 0 deletions desktop/src/plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ import Doctype from '@/components/Doctype.vue'
import Records from '@/components/Records.vue'
import SheetNav from '@/components/SheetNav.vue'

/**
* This is the main plugin file that will be used to register all the components
* that we want to use in our application.
* @public
*/
const plugin: Plugin = {
install: (app: App) => {
app.component('ActionSet', ActionSet)
Expand Down
25 changes: 25 additions & 0 deletions docs/desktop/desktop.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,28 @@

## desktop package

## Variables

<table><thead><tr><th>

Variable


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[StonecropDesktop](./desktop.stonecropdesktop.md)


</td><td>

This is the main plugin file that will be used to register all the components that we want to use in our application.


</td></tr>
</tbody></table>
21 changes: 21 additions & 0 deletions docs/desktop/desktop.stonecropdesktop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@stonecrop/desktop](./desktop.md) &gt; [StonecropDesktop](./desktop.stonecropdesktop.md)

## StonecropDesktop variable

This is the main plugin file that will be used to register all the components that we want to use in our application.

**Signature:**

```typescript
plugin: Plugin = {
install: (app: App) => {
app.component('ActionSet', ActionSet)
app.component('CommandPalette', CommandPalette)
app.component('Doctype', Doctype)
app.component('Records', Records)
app.component('SheetNav', SheetNav)
},
}
```
70 changes: 70 additions & 0 deletions docs/graphql_client/graphql-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,75 @@ Description
Get meta information for a doctype


</td></tr>
<tr><td>

[queries](./graphql-client.queries.md)


</td><td>

Queries for the GraphQL API.


</td></tr>
<tr><td>

[typeDefs](./graphql-client.typedefs.md)


</td><td>

This is the schema for the GraphQL API.


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

## Type Aliases

<table><thead><tr><th>

Type Alias


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[Meta](./graphql-client.meta.md)


</td><td>

The type of the response from the `getMeta` query.


</td></tr>
<tr><td>

[MetaParser](./graphql-client.metaparser.md)


</td><td>

The type of the response from the `getMeta` query.


</td></tr>
<tr><td>

[MetaResponse](./graphql-client.metaresponse.md)


</td><td>

The type of the response from the `getRecords` query.


</td></tr>
</tbody></table>
23 changes: 23 additions & 0 deletions docs/graphql_client/graphql-client.meta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@stonecrop/graphql-client](./graphql-client.md) &gt; [Meta](./graphql-client.meta.md)

## Meta type

The type of the response from the `getMeta` query.

**Signature:**

```typescript
export type Meta = {
variables: {
doctype: string
}

response: {
getMeta: MetaResponse
}
}
```
**References:** [MetaResponse](./graphql-client.metaresponse.md)
Loading

0 comments on commit e9a06f5

Please sign in to comment.