Skip to content

Commit

Permalink
Update generate package version
Browse files Browse the repository at this point in the history
  • Loading branch information
diksipav committed Aug 2, 2024
1 parent b4f12d7 commit 2e1c97d
Show file tree
Hide file tree
Showing 63 changed files with 891 additions and 1,820 deletions.
2 changes: 1 addition & 1 deletion app/lib/db/queries/getFtsDrafts.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand Down
2 changes: 1 addition & 1 deletion app/lib/db/queries/getFtsDraftsCount.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand Down
2 changes: 1 addition & 1 deletion app/lib/db/queries/getFtsQnas.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand Down
2 changes: 1 addition & 1 deletion app/lib/db/queries/getFtsQnasCount.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand Down
2 changes: 1 addition & 1 deletion app/lib/db/queries/getFtsThreads.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand Down
2 changes: 1 addition & 1 deletion app/lib/db/queries/getFtsThreadsCount.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand Down
2 changes: 1 addition & 1 deletion app/lib/db/queries/getThreadsCount.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand Down
2 changes: 1 addition & 1 deletion app/lib/discord/queries/addHelpChannel.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand Down
2 changes: 1 addition & 1 deletion app/lib/discord/queries/addReviewCard.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand Down
4 changes: 2 additions & 2 deletions app/lib/discord/queries/getCurrentUser.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand All @@ -17,7 +17,7 @@ select (global current_moderator) {
email,
account: {
name, user_id
}
},
}`);

}
4 changes: 2 additions & 2 deletions app/lib/discord/queries/getHelpChannels.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand All @@ -12,7 +12,7 @@ export function getHelpChannels(client: Executor): Promise<GetHelpChannelsReturn
return client.query(`\
select discord::HelpChannel {
channel_id,
name
name,
}`);

}
2 changes: 1 addition & 1 deletion app/lib/discord/queries/isHelpfulThread.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand Down
2 changes: 1 addition & 1 deletion app/lib/discord/queries/removeHelpChannel.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand Down
2 changes: 1 addition & 1 deletion app/lib/discord/queries/suggestThread.query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {Executor} from "edgedb";

Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/__spec__.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import * as $ from "./reflection";
const spec: $.introspect.Types = new $.StrictMap();
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/cardinality.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import { Cardinality } from "edgedb/dist/reflection/index";
import type { TypeSet } from "./typesystem";
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/cast.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import { ExpressionKind, Cardinality } from "edgedb/dist/reflection/index";
import type {
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/castMaps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import * as edgedb from "edgedb";
import type * as $ from "./reflection";
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/casting.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type { Cardinality } from "edgedb/dist/reflection/index";
import type {
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/collections.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import {
Cardinality,
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/detached.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import { ExpressionKind } from "edgedb/dist/reflection/index";
import type { Expression, TypeSet } from "./typesystem";
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/external.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

export { literal } from "./literal";
export {} from "./path";
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/for.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import { Cardinality, ExpressionKind } from "edgedb/dist/reflection/index";
import { cardutil } from "./cardinality";
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/funcops.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import {
Cardinality,
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/globals.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import { type Cardinality, ExpressionKind } from "edgedb/dist/reflection/index";
import type { Expression, BaseType } from "./typesystem";
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/group.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {
Expression,
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/hydrate.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type { $ } from "edgedb";

Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/imports.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

export * as edgedb from "edgedb";
export { spec } from "./__spec__";
Expand Down
57 changes: 29 additions & 28 deletions dbschema/edgeql-js/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

export * from "./external";
export { createClient } from "edgedb";
Expand All @@ -13,41 +13,41 @@ import _fts from "./modules/fts";
import _schema from "./modules/schema";
import _sys from "./modules/sys";
import _default from "./modules/default";
import __default_10 from "./modules/__default_10";
import __default_10 from "./modules/_default_10";
import _discord from "./modules/discord";
import _math from "./modules/math";

const ExportDefault: typeof _std &
typeof _default &
$.util.OmitDollarPrefixed<typeof $syntax> &
const ExportDefault: typeof _std &
typeof _default &
$.util.OmitDollarPrefixed<typeof $syntax> &
typeof $op & {
std: typeof _std;
cal: typeof _cal;
cfg: typeof _cfg;
ext: typeof _ext;
fts: typeof _fts;
schema: typeof _schema;
sys: typeof _sys;
default: typeof _default;
__default: typeof __default_10;
discord: typeof _discord;
math: typeof _math;
} = {
"std": typeof _std;
"cal": typeof _cal;
"cfg": typeof _cfg;
"ext": typeof _ext;
"fts": typeof _fts;
"schema": typeof _schema;
"sys": typeof _sys;
"default": typeof _default;
"__default": typeof __default_10;
"discord": typeof _discord;
"math": typeof _math;
} = {
..._std,
..._default,
...$.util.omitDollarPrefixed($syntax),
...$op,
std: _std,
cal: _cal,
cfg: _cfg,
ext: _ext,
fts: _fts,
schema: _schema,
sys: _sys,
default: _default,
__default: __default_10,
discord: _discord,
math: _math,
"std": _std,
"cal": _cal,
"cfg": _cfg,
"ext": _ext,
"fts": _fts,
"schema": _schema,
"sys": _sys,
"default": _default,
"__default": __default_10,
"discord": _discord,
"math": _math,
};
const Cardinality = $.Cardinality;
type Cardinality = $.Cardinality;
Expand All @@ -56,5 +56,6 @@ export type Set<
Card extends $.Cardinality = $.Cardinality.Many
> = $.TypeSet<Type, Card>;


export default ExportDefault;
export { Cardinality };
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/insert.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import {
Cardinality,
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/json.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import { ExpressionKind, TypeKind } from "edgedb/dist/reflection/index";
import type { ParamType } from "./typesystem";
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/literal.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import type {
Expression,
Expand Down
44 changes: 0 additions & 44 deletions dbschema/edgeql-js/modules/__default_10.ts

This file was deleted.

26 changes: 26 additions & 0 deletions dbschema/edgeql-js/modules/_default_10.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// GENERATED by @edgedb/generate v0.5.4

import * as $ from "../reflection";
import * as _ from "../imports";
import type * as _default from "./default";
export type $current_moderatorλShape = $.typeutil.flatten<Omit<_default.$ModeratorλShape, "account"> & {
"account": $.LinkDesc<_default.$User, $.Cardinality.One, {}, false, false, false, false>;
}>;
type $current_moderator = $.ObjectType<"__default::current_moderator", $current_moderatorλShape, null, [
..._default.$Moderator['__exclusives__'],
]>;
const $current_moderator = $.makeType<$current_moderator>(_.spec, "7531d991-28b5-11ef-83af-f92cc3345b7c", _.syntax.literal);

const current_moderator: $.$expr_PathNode<$.TypeSet<$current_moderator, $.Cardinality.Many>, null> = _.syntax.$PathNode($.$toSet($current_moderator, $.Cardinality.Many), null);



export { $current_moderator, current_moderator };

type __defaultExports = {
"current_moderator": typeof current_moderator
};
const __defaultExports: __defaultExports = {
"current_moderator": current_moderator
};
export default __defaultExports;
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/modules/cal.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import * as $ from "../reflection";
import * as _ from "../imports";
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/modules/cfg.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import * as $ from "../reflection";
import * as _ from "../imports";
Expand Down
4 changes: 2 additions & 2 deletions dbschema/edgeql-js/modules/default.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import * as $ from "../reflection";
import * as _ from "../imports";
import type * as _std from "./std";
import type * as _extauth from "./ext/auth";
import type * as _discord from "./discord";
import type * as ___default from "./__default_10";
import type * as ___default from "./_default_10";
export type $ModeratorλShape = $.typeutil.flatten<
_std.$Object_8ce8c71ee4fa5f73840c22d7eaa58588λShape & {
account: $.LinkDesc<
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/modules/discord.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import * as $ from "../reflection";
import * as _ from "../imports";
Expand Down
2 changes: 1 addition & 1 deletion dbschema/edgeql-js/modules/ext.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// GENERATED by @edgedb/generate v0.5.3
// GENERATED by @edgedb/generate v0.5.4

import * as $ from "../reflection";
import * as _ from "../imports";
Expand Down
Loading

0 comments on commit 2e1c97d

Please sign in to comment.