Skip to content

Commit c91155c

Browse files
push-deploy-website.yml updated
1 parent 0c0fc8e commit c91155c

File tree

7 files changed

+185
-8
lines changed

7 files changed

+185
-8
lines changed

.github/workflows/push-deploy-website.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ jobs:
3838
- uses: actions/checkout@v4
3939
- uses: actions/setup-node@v4
4040
with:
41-
node-version: 22
42-
cache: yarn
43-
cache-dependency-path: 'docs/'
41+
node-version: '20.x'
42+
4443
- uses: webfactory/[email protected]
4544
with:
4645
ssh-private-key: ${{ secrets.DEPLOY_GITHUB_PAGES }}
@@ -52,6 +51,5 @@ jobs:
5251
run: |
5352
git config --global user.email "[email protected]"
5453
git config --global user.name "gh-actions"
55-
yarn install --frozen-lockfile
56-
yarn deploy
57-
54+
npm ci
55+
npm run deploy
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: MOCKS\_EMPTY
6+
7+
> `const` **MOCKS\_EMPTY**: `object`[]
8+
9+
Defined in: [src/screens/OrganizationTags/OrganizationTagsMocks.ts:344](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/OrganizationTags/OrganizationTagsMocks.ts#L344)
10+
11+
## Type declaration
12+
13+
### request
14+
15+
> **request**: `object`
16+
17+
#### request.query
18+
19+
> **query**: `DocumentNode` = `ORGANIZATION_USER_TAGS_LIST`
20+
21+
#### request.variables
22+
23+
> **variables**: `object`
24+
25+
#### request.variables.first
26+
27+
> **first**: `number` = `TAGS_QUERY_DATA_CHUNK_SIZE`
28+
29+
#### request.variables.id
30+
31+
> **id**: `string` = `'orgId'`
32+
33+
#### request.variables.sortedBy
34+
35+
> **sortedBy**: `object`
36+
37+
#### request.variables.sortedBy.id
38+
39+
> **id**: `string` = `'DESCENDING'`
40+
41+
#### request.variables.where
42+
43+
> **where**: `object`
44+
45+
#### request.variables.where.name
46+
47+
> **name**: `object`
48+
49+
#### request.variables.where.name.starts\_with
50+
51+
> **starts\_with**: `string` = `''`
52+
53+
### result
54+
55+
> **result**: `object`
56+
57+
#### result.data
58+
59+
> **data**: `object`
60+
61+
#### result.data.organizations
62+
63+
> **organizations**: `object`[]

docs/docs/auto-docs/screens/OrganizationTags/OrganizationTagsMocks/variables/MOCKS_ERROR.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
> `const` **MOCKS\_ERROR**: `object`[]
88
9-
Defined in: [src/screens/OrganizationTags/OrganizationTagsMocks.ts:413](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/OrganizationTags/OrganizationTagsMocks.ts#L413)
9+
Defined in: [src/screens/OrganizationTags/OrganizationTagsMocks.ts:319](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/OrganizationTags/OrganizationTagsMocks.ts#L319)
1010

1111
## Type declaration
1212

@@ -32,7 +32,7 @@ Defined in: [src/screens/OrganizationTags/OrganizationTagsMocks.ts:413](https://
3232
3333
#### request.variables.id
3434

35-
> **id**: `string` = `'orgId'`
35+
> **id**: `string` = `'orgIdError'`
3636
3737
#### request.variables.sortedBy
3838

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: MOCKS\_ERROR\_ERROR\_TAG
6+
7+
> `const` **MOCKS\_ERROR\_ERROR\_TAG**: `object`[]
8+
9+
Defined in: [src/screens/OrganizationTags/OrganizationTagsMocks.ts:334](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/OrganizationTags/OrganizationTagsMocks.ts#L334)
10+
11+
## Type declaration
12+
13+
### error
14+
15+
> **error**: `Error`
16+
17+
### request
18+
19+
> **request**: `object`
20+
21+
#### request.query
22+
23+
> **query**: `DocumentNode` = `CREATE_USER_TAG`
24+
25+
#### request.variables
26+
27+
> **variables**: `object`
28+
29+
#### request.variables.name
30+
31+
> **name**: `string` = `'userTagE'`
32+
33+
#### request.variables.organizationId
34+
35+
> **organizationId**: `string` = `'orgId'`
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: MOCKS\_NO\_MORE\_PAGES
6+
7+
> `const` **MOCKS\_NO\_MORE\_PAGES**: (\{ `request`: \{ `query`: `DocumentNode`; `variables`: \{ `after`: `undefined`; `first`: `number`; `id`: `string`; `sortedBy`: \{ `id`: `string`; \}; `where`: \{ `name`: \{ `starts_with`: `string`; \}; \}; \}; \}; `result`: \{ `data`: \{ `organizations`: `object`[]; \}; \}; \} \| \{ `request`: \{ `query`: `DocumentNode`; `variables`: \{ `after`: `string`; `first`: `number`; `id`: `string`; `sortedBy`: \{ `id`: `string`; \}; `where`: \{ `name`: \{ `starts_with`: `string`; \}; \}; \}; \}; `result`: \{ `data`: `any`; \}; \})[]
8+
9+
Defined in: [src/screens/OrganizationTags/OrganizationTagsMocks.ts:477](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/OrganizationTags/OrganizationTagsMocks.ts#L477)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: MOCKS\_NULL\_END\_CURSOR
6+
7+
> `const` **MOCKS\_NULL\_END\_CURSOR**: (\{ `request`: \{ `query`: `DocumentNode`; `variables`: \{ `after`: `undefined`; `first`: `number`; `id`: `string`; `sortedBy`: \{ `id`: `string`; \}; `where`: \{ `name`: \{ `starts_with`: `string`; \}; \}; \}; \}; `result`: \{ `data`: \{ `organizations`: `object`[]; \}; \}; \} \| \{ `request`: \{ `query`: `DocumentNode`; `variables`: \{ `after`: `any`; `first`: `number`; `id`: `string`; `sortedBy`: \{ `id`: `string`; \}; `where`: \{ `name`: \{ `starts_with`: `string`; \}; \}; \}; \}; `result`: \{ `data`: \{ `organizations`: `object`[]; \}; \}; \})[]
8+
9+
Defined in: [src/screens/OrganizationTags/OrganizationTagsMocks.ts:391](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/OrganizationTags/OrganizationTagsMocks.ts#L391)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
[Admin Docs](/)
2+
3+
***
4+
5+
# Variable: MOCKS\_UNDEFINED\_USER\_TAGS
6+
7+
> `const` **MOCKS\_UNDEFINED\_USER\_TAGS**: `object`[]
8+
9+
Defined in: [src/screens/OrganizationTags/OrganizationTagsMocks.ts:376](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/OrganizationTags/OrganizationTagsMocks.ts#L376)
10+
11+
## Type declaration
12+
13+
### request
14+
15+
> **request**: `object`
16+
17+
#### request.query
18+
19+
> **query**: `DocumentNode` = `ORGANIZATION_USER_TAGS_LIST`
20+
21+
#### request.variables
22+
23+
> **variables**: `object`
24+
25+
#### request.variables.first
26+
27+
> **first**: `number` = `TAGS_QUERY_DATA_CHUNK_SIZE`
28+
29+
#### request.variables.id
30+
31+
> **id**: `string` = `'orgId'`
32+
33+
#### request.variables.sortedBy
34+
35+
> **sortedBy**: `object`
36+
37+
#### request.variables.sortedBy.id
38+
39+
> **id**: `string` = `'DESCENDING'`
40+
41+
#### request.variables.where
42+
43+
> **where**: `object`
44+
45+
#### request.variables.where.name
46+
47+
> **name**: `object`
48+
49+
#### request.variables.where.name.starts\_with
50+
51+
> **starts\_with**: `string` = `''`
52+
53+
### result
54+
55+
> **result**: `object`
56+
57+
#### result.data
58+
59+
> **data**: `object`
60+
61+
#### result.data.organizations
62+
63+
> **organizations**: `object`[]

0 commit comments

Comments
 (0)