Skip to content

Commit 963595d

Browse files
committed
modifiedg add rules
1 parent 041b702 commit 963595d

File tree

18 files changed

+450
-246
lines changed

18 files changed

+450
-246
lines changed

.vscode/settings.json

Lines changed: 1 addition & 146 deletions
Original file line numberDiff line numberDiff line change
@@ -86,75 +86,6 @@
8686
"files.autoSave": "afterDelay",
8787
"files.autoSaveDelay": 1000,
8888
"files.exclude": {
89-
".DS_Store": true,
90-
".changeset": true,
91-
".dockerignore": true,
92-
".editorconfig": true,
93-
".env": true,
94-
".env.example": true,
95-
".env.prod": true,
96-
".env.prod.example": true,
97-
".git": true,
98-
".gitattributes": true,
99-
".github": true,
100-
".gitignore": true,
101-
".markdownlintignore": true,
102-
".markuplintrc.cjs": true,
103-
".nhost": true,
104-
".npmrc": true,
105-
".secrets": true,
106-
".secrets.example": true,
107-
".secrets.prod": true,
108-
".secrets.prod.example": true,
109-
".textlintignore": true,
110-
".turbo": true,
111-
".vercelignore": true,
112-
".vscode": true,
113-
"CHANGELOG.md": true,
114-
"CODE_OF_CONDUCT.md": true,
115-
"CONTRIBUTING.md": true,
116-
"DEVELOPERS.md": true,
117-
"Dockerfile": true,
118-
"LICENSE": true,
119-
"Makefile": true,
120-
"README.md": true,
121-
"biome.jsonc": true,
122-
"bun.Dockerfile": true,
123-
"bun.lockb": true,
124-
"cog.toml": true,
125-
"compose.override.yml": true,
126-
"compose.yml": true,
127-
"config": true,
128-
"config.yaml": true,
129-
"degit.json": true,
130-
"docs": true,
131-
"flake.nix": true,
132-
"functions": true,
133-
"infra": true,
134-
"nhost": true,
135-
"node_modules": true,
136-
"package.json": true,
137-
"packages": true,
138-
"patches": true,
139-
"pnpm-lock.yaml": true,
140-
"pnpm-workspace.yaml": true,
141-
"scripts": true,
142-
"turbo.json": true,
143-
"vercel.json": true,
144-
"vitest.config.ts": true,
145-
"vitest.workspaces.ts": true,
146-
"apps/console-fb": true,
147-
"apps/console-sc": true,
148-
"apps/docs": true,
149-
"apps/playground": true,
150-
"apps/web": true,
151-
"packages/assets": true,
152-
"packages/biome-config": true,
153-
"packages/role-houdini": true,
154-
"packages/skeleton-ui": true,
155-
"packages/typescript-config": true,
156-
"packages/ui": true,
157-
"packages/utils": true,
15889
"**/.git": true,
15990
"**/.DS_Store": true,
16091
".idea": true,
@@ -387,81 +318,5 @@
387318
"[yaml]": {
388319
"editor.defaultFormatter": "redhat.vscode-yaml"
389320
},
390-
"redhat.telemetry.enabled": false,
391-
"monorepoFocusWorkspace.internal": {
392-
"spectacular": {
393-
"managedFilesIgnoreEntries": [
394-
".DS_Store",
395-
".changeset",
396-
".dockerignore",
397-
".editorconfig",
398-
".env",
399-
".env.example",
400-
".env.prod",
401-
".env.prod.example",
402-
".git",
403-
".gitattributes",
404-
".github",
405-
".gitignore",
406-
".markdownlintignore",
407-
".markuplintrc.cjs",
408-
".nhost",
409-
".npmrc",
410-
".secrets",
411-
".secrets.example",
412-
".secrets.prod",
413-
".secrets.prod.example",
414-
".textlintignore",
415-
".turbo",
416-
".vercelignore",
417-
".vscode",
418-
"CHANGELOG.md",
419-
"CODE_OF_CONDUCT.md",
420-
"CONTRIBUTING.md",
421-
"DEVELOPERS.md",
422-
"Dockerfile",
423-
"LICENSE",
424-
"Makefile",
425-
"README.md",
426-
"biome.jsonc",
427-
"bun.Dockerfile",
428-
"bun.lockb",
429-
"cog.toml",
430-
"compose.override.yml",
431-
"compose.yml",
432-
"config",
433-
"config.yaml",
434-
"degit.json",
435-
"docs",
436-
"flake.nix",
437-
"functions",
438-
"infra",
439-
"nhost",
440-
"node_modules",
441-
"package.json",
442-
"packages",
443-
"patches",
444-
"pnpm-lock.yaml",
445-
"pnpm-workspace.yaml",
446-
"scripts",
447-
"turbo.json",
448-
"vercel.json",
449-
"vitest.config.ts",
450-
"vitest.workspaces.ts",
451-
"apps/console-fb",
452-
"apps/console-sc",
453-
"apps/docs",
454-
"apps/playground",
455-
"apps/web",
456-
"packages/assets",
457-
"packages/biome-config",
458-
"packages/role-houdini",
459-
"packages/skeleton-ui",
460-
"packages/typescript-config",
461-
"packages/ui",
462-
"packages/utils"
463-
],
464-
"focusedWorkspace": "console"
465-
}
466-
}
321+
"redhat.telemetry.enabled": false
467322
}

apps/console-fb/schema.graphql

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3829,6 +3829,29 @@ type query_root {
38293829
"""fetch data from the table: "subject_type" using primary key columns"""
38303830
subject_type_by_pk(value: String!): subject_type
38313831

3832+
"""
3833+
fetch data from the table: "test_rule"
3834+
"""
3835+
test_rule(
3836+
"""distinct select on columns"""
3837+
distinct_on: [test_rule_select_column!]
3838+
3839+
"""limit the number of rows returned"""
3840+
limit: Int
3841+
3842+
"""skip the first n rows. Use only with order_by"""
3843+
offset: Int
3844+
3845+
"""sort the rows by one or more columns"""
3846+
order_by: [test_rule_order_by!]
3847+
3848+
"""filter the rows returned"""
3849+
where: test_rule_bool_exp
3850+
): [test_rule!]!
3851+
3852+
"""fetch data from the table: "test_rule" using primary key columns"""
3853+
test_rule_by_pk(a: uuid!): test_rule
3854+
38323855
"""fetch data from the table: "auth.users" using primary key columns"""
38333856
user(id: uuid!): users
38343857

@@ -5072,6 +5095,43 @@ type subscription_root {
50725095
where: subject_type_bool_exp
50735096
): [subject_type!]!
50745097

5098+
"""
5099+
fetch data from the table: "test_rule"
5100+
"""
5101+
test_rule(
5102+
"""distinct select on columns"""
5103+
distinct_on: [test_rule_select_column!]
5104+
5105+
"""limit the number of rows returned"""
5106+
limit: Int
5107+
5108+
"""skip the first n rows. Use only with order_by"""
5109+
offset: Int
5110+
5111+
"""sort the rows by one or more columns"""
5112+
order_by: [test_rule_order_by!]
5113+
5114+
"""filter the rows returned"""
5115+
where: test_rule_bool_exp
5116+
): [test_rule!]!
5117+
5118+
"""fetch data from the table: "test_rule" using primary key columns"""
5119+
test_rule_by_pk(a: uuid!): test_rule
5120+
5121+
"""
5122+
fetch data from the table in a streaming manner: "test_rule"
5123+
"""
5124+
test_rule_stream(
5125+
"""maximum number of rows returned in a single batch"""
5126+
batch_size: Int!
5127+
5128+
"""cursor to stream the results returned by the query"""
5129+
cursor: [test_rule_stream_cursor_input]!
5130+
5131+
"""filter the rows returned"""
5132+
where: test_rule_bool_exp
5133+
): [test_rule!]!
5134+
50755135
"""fetch data from the table: "auth.users" using primary key columns"""
50765136
user(id: uuid!): users
50775137

@@ -5204,6 +5264,71 @@ type subscription_root {
52045264
): [users!]!
52055265
}
52065266

5267+
"""created by nithin, just for testing"""
5268+
type test_rule {
5269+
a: uuid!
5270+
b: timestamptz!
5271+
c: Boolean!
5272+
d: Int!
5273+
}
5274+
5275+
"""
5276+
Boolean expression to filter rows from the table "test_rule". All fields are combined with a logical 'AND'.
5277+
"""
5278+
input test_rule_bool_exp {
5279+
_and: [test_rule_bool_exp!]
5280+
_not: test_rule_bool_exp
5281+
_or: [test_rule_bool_exp!]
5282+
a: uuid_comparison_exp
5283+
b: timestamptz_comparison_exp
5284+
c: Boolean_comparison_exp
5285+
d: Int_comparison_exp
5286+
}
5287+
5288+
"""Ordering options when selecting data from "test_rule"."""
5289+
input test_rule_order_by {
5290+
a: order_by
5291+
b: order_by
5292+
c: order_by
5293+
d: order_by
5294+
}
5295+
5296+
"""
5297+
select columns of table "test_rule"
5298+
"""
5299+
enum test_rule_select_column {
5300+
"""column name"""
5301+
a
5302+
5303+
"""column name"""
5304+
b
5305+
5306+
"""column name"""
5307+
c
5308+
5309+
"""column name"""
5310+
d
5311+
}
5312+
5313+
"""
5314+
Streaming cursor of the table "test_rule"
5315+
"""
5316+
input test_rule_stream_cursor_input {
5317+
"""Stream column input with initial value"""
5318+
initial_value: test_rule_stream_cursor_value_input!
5319+
5320+
"""cursor ordering"""
5321+
ordering: cursor_ordering
5322+
}
5323+
5324+
"""Initial value of the column from where the streaming should start"""
5325+
input test_rule_stream_cursor_value_input {
5326+
a: uuid
5327+
b: timestamptz
5328+
c: Boolean
5329+
d: Int
5330+
}
5331+
52075332
scalar timestamp
52085333

52095334
"""

0 commit comments

Comments
 (0)