-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export type { StorageAdapter } from 'https://lib.deno.dev/x/[email protected]/mod.ts'; | ||
import { exists, existsSync } from 'https://deno.land/std@0.217.0/fs/mod.ts'; | ||
import { resolve } from 'https://deno.land/std@0.217.0/path/mod.ts'; | ||
import { exists, existsSync } from 'https://deno.land/std@0.224.0/fs/mod.ts'; | ||
import { resolve } from 'https://deno.land/std@0.224.0/path/mod.ts'; | ||
|
||
export const fs = { | ||
readFile: Deno.readTextFile, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { MongoClient, Collection } from 'https://deno.land/x/mongo@v0.32.0/mod.ts'; | ||
import { MongoClient, Collection } from 'https://deno.land/x/mongo@v0.33.0/mod.ts'; | ||
import { expect } from 'https://deno.land/x/expect/mod.ts'; | ||
import { session } from 'https://lib.deno.dev/x/[email protected]/mod.ts'; | ||
import { createBot, createMessage } from '../../../libs/utils/src/mod.ts'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { Bot, Context, session, SessionFlavor } from "https://lib.deno.dev/x/[email protected]/mod.ts"; | ||
import { MongoDBAdapter, ISession } from "https://deno.land/x/grammy_storages/mongodb/src/mod.ts"; | ||
import { MongoClient } from "https://deno.land/x/mongo@v0.32.0/mod.ts"; | ||
import { MongoClient } from "https://deno.land/x/mongo@v0.33.0/mod.ts"; | ||
|
||
interface SessionData { | ||
counter: number; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { Collection } from 'https://deno.land/x/mongo@v0.32.0/mod.ts'; | ||
export { Collection } from 'https://deno.land/x/mongo@v0.33.0/mod.ts'; | ||
export type { StorageAdapter } from 'https://lib.deno.dev/x/[email protected]/mod.ts'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ Deno | |
|
||
```ts | ||
import { PsqlAdapter } from "https://deno.land/x/grammy_storages/psql/src/mod.ts"; | ||
import { Client } from "https://deno.land/x/[email protected].2/mod.ts"; | ||
import { Client } from "https://deno.land/x/[email protected].3/mod.ts"; | ||
``` | ||
|
||
## Usage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { session } from 'https://lib.deno.dev/x/[email protected]/mod.ts'; | ||
import { expect } from 'https://deno.land/x/expect/mod.ts'; | ||
import { PsqlAdapter } from '../src/mod.ts'; | ||
import { Client } from 'https://deno.land/x/postgres@v0.17.0/mod.ts'; | ||
import { Client } from 'https://deno.land/x/postgres@v0.19.3/mod.ts'; | ||
import * as utils from '../../../libs/utils/src/mod.ts'; | ||
|
||
Deno.test('Pizza counter tests', async () => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { Bot, Context, session, SessionFlavor } from 'https://lib.deno.dev/x/[email protected]/mod.ts'; | ||
import { PsqlAdapter } from 'https://deno.land/x/grammy_storages/psql/src/mod.ts'; | ||
import { Client } from 'https://deno.land/x/postgres@v0.17.0/mod.ts'; | ||
import { Client } from 'https://deno.land/x/postgres@v0.19.3/mod.ts'; | ||
|
||
interface SessionData { | ||
counter: number; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import type { Client } from 'https://deno.land/x/[email protected].2/mod.ts'; | ||
import type { Client } from 'https://deno.land/x/[email protected].3/mod.ts'; | ||
export type { StorageAdapter } from 'https://lib.deno.dev/x/[email protected]/mod.ts'; | ||
export type { Client } from 'https://deno.land/x/[email protected].2/mod.ts'; | ||
export type { Client } from 'https://deno.land/x/[email protected].3/mod.ts'; | ||
|
||
export function buildQueryRunner(client: Client) { | ||
return async (text: string, args?: string[]) => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ Deno | |
|
||
```ts | ||
import { RedisAdapter } from "https://deno.land/x/grammy_storages/redis/src/mod.ts"; | ||
import { connect } from "https://deno.land/x/[email protected].1/mod.ts"; | ||
import { connect } from "https://deno.land/x/[email protected].4/mod.ts"; | ||
``` | ||
|
||
## Usage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { Bot, Context, session, SessionFlavor } from 'https://lib.deno.dev/x/[email protected]/mod.ts'; | ||
import { RedisAdapter } from 'https://deno.land/x/grammy_storages/redis/src/mod.ts'; | ||
import { connect } from 'https://deno.land/x/redis@v0.31.0/mod.ts'; | ||
import { connect } from 'https://deno.land/x/redis@v0.32.4/mod.ts'; | ||
|
||
interface SessionData { | ||
counter: number; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export type { Redis as Client, RedisConnectOptions } from 'https://deno.land/x/[email protected].1/mod.ts'; | ||
export type { Redis as Client, RedisConnectOptions } from 'https://deno.land/x/[email protected].4/mod.ts'; | ||
export type { StorageAdapter } from 'https://lib.deno.dev/x/[email protected]/mod.ts'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { SupabaseClient } from 'https://esm.sh/@supabase/supabase-js@2.33.1'; | ||
export { SupabaseClient } from 'https://esm.sh/@supabase/supabase-js@2.45.0'; |