@m5kdev/backend 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/modules/auth/auth.lib.d.cts +5 -5
- package/dist/src/modules/auth/auth.lib.d.mts +5 -5
- package/dist/src/modules/base/base.procedure.cjs +30 -0
- package/dist/src/modules/base/base.procedure.cjs.map +1 -1
- package/dist/src/modules/base/base.procedure.d.cts +14 -1
- package/dist/src/modules/base/base.procedure.d.mts +14 -1
- package/dist/src/modules/base/base.procedure.mjs +30 -0
- package/dist/src/modules/base/base.procedure.mjs.map +1 -1
- package/dist/src/modules/base/base.service.cjs.map +1 -1
- package/dist/src/modules/base/base.service.d.cts +2 -2
- package/dist/src/modules/base/base.service.d.mts +2 -2
- package/dist/src/modules/base/base.service.mjs.map +1 -1
- package/dist/src/modules/billing/billing.repository.d.cts +11 -11
- package/dist/src/modules/billing/billing.repository.d.mts +11 -11
- package/dist/src/modules/billing/billing.router.cjs +1 -1
- package/dist/src/modules/billing/billing.router.mjs +1 -1
- package/dist/src/modules/billing/billing.service.d.cts +7 -7
- package/dist/src/modules/billing/billing.service.d.mts +7 -7
- package/dist/src/modules/connect/connect.dto.d.cts +2 -2
- package/dist/src/modules/connect/connect.dto.d.mts +2 -2
- package/dist/src/modules/connect/connect.repository.d.cts +3 -3
- package/dist/src/modules/connect/connect.repository.d.mts +3 -3
- package/dist/src/modules/connect/connect.service.d.cts +6 -6
- package/dist/src/modules/connect/connect.service.d.mts +6 -6
- package/dist/src/modules/connect/connect.trpc.d.cts +1 -1
- package/dist/src/modules/connect/connect.trpc.d.mts +1 -1
- package/dist/src/modules/file/file.router.cjs +2 -2
- package/dist/src/modules/file/file.router.mjs +1 -1
- package/dist/src/modules/recurrence/recurrence.service.d.cts +1 -1
- package/dist/src/modules/recurrence/recurrence.service.d.mts +1 -1
- package/dist/src/modules/recurrence/recurrence.trpc.d.cts +1 -1
- package/dist/src/modules/recurrence/recurrence.trpc.d.mts +1 -1
- package/dist/src/modules/tag/tag.trpc.d.cts +2 -2
- package/dist/src/modules/tag/tag.trpc.d.mts +2 -2
- package/dist/src/modules/webhook/webhook.router.cjs +1 -1
- package/dist/src/modules/webhook/webhook.router.mjs +1 -1
- package/package.json +4 -3
|
@@ -4,7 +4,7 @@ import { BillingRepository } from "./billing.repository.mjs";
|
|
|
4
4
|
import { User } from "../auth/auth.lib.mjs";
|
|
5
5
|
import { BaseService } from "../base/base.service.mjs";
|
|
6
6
|
import { BillingSchema } from "@m5kdev/commons/modules/billing/billing.schema";
|
|
7
|
-
import Stripe from "stripe";
|
|
7
|
+
import Stripe$1 from "stripe";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/billing/billing.service.d.ts
|
|
10
10
|
declare class BillingService extends BaseService<{
|
|
@@ -18,7 +18,7 @@ declare class BillingService extends BaseService<{
|
|
|
18
18
|
email: string;
|
|
19
19
|
name?: string;
|
|
20
20
|
};
|
|
21
|
-
}): ServerResultAsync<Stripe.Customer>;
|
|
21
|
+
}): ServerResultAsync<Stripe$1.Customer>;
|
|
22
22
|
createUserHook({
|
|
23
23
|
user
|
|
24
24
|
}: {
|
|
@@ -29,7 +29,7 @@ declare class BillingService extends BaseService<{
|
|
|
29
29
|
};
|
|
30
30
|
}): ServerResultAsync<boolean>;
|
|
31
31
|
getActiveSubscription(ctx: Context): ServerResultAsync<BillingSchema | null>;
|
|
32
|
-
listInvoices(ctx: Context): ServerResultAsync<Stripe.Invoice[]>;
|
|
32
|
+
listInvoices(ctx: Context): ServerResultAsync<Stripe$1.Invoice[]>;
|
|
33
33
|
createCheckoutSession({
|
|
34
34
|
priceId
|
|
35
35
|
}: {
|
|
@@ -38,15 +38,15 @@ declare class BillingService extends BaseService<{
|
|
|
38
38
|
user
|
|
39
39
|
}: {
|
|
40
40
|
user: User;
|
|
41
|
-
}): ServerResultAsync<Stripe.Checkout.Session>;
|
|
41
|
+
}): ServerResultAsync<Stripe$1.Checkout.Session>;
|
|
42
42
|
createBillingPortalSession({
|
|
43
43
|
user
|
|
44
44
|
}: {
|
|
45
45
|
user: User;
|
|
46
|
-
}): ServerResultAsync<Stripe.BillingPortal.Session>;
|
|
47
|
-
constructEvent(body: Buffer | string, signature: string): ServerResult<Stripe.Event>;
|
|
46
|
+
}): ServerResultAsync<Stripe$1.BillingPortal.Session>;
|
|
47
|
+
constructEvent(body: Buffer | string, signature: string): ServerResult<Stripe$1.Event>;
|
|
48
48
|
syncStripeData(customerId: string, eventType?: string): ServerResultAsync<boolean>;
|
|
49
|
-
processEvent(event: Stripe.Event): ServerResultAsync<boolean>;
|
|
49
|
+
processEvent(event: Stripe$1.Event): ServerResultAsync<boolean>;
|
|
50
50
|
}
|
|
51
51
|
//#endregion
|
|
52
52
|
export { BillingService };
|
|
@@ -29,6 +29,7 @@ declare const connectSelectOutputSchema: z.ZodObject<{
|
|
|
29
29
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
30
30
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
31
31
|
userId: z.ZodString;
|
|
32
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
33
|
provider: z.ZodString;
|
|
33
34
|
accountType: z.ZodString;
|
|
34
35
|
providerAccountId: z.ZodString;
|
|
@@ -36,7 +37,6 @@ declare const connectSelectOutputSchema: z.ZodObject<{
|
|
|
36
37
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
38
|
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
39
|
tokenType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
metadataJson: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
42
42
|
revokedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -53,6 +53,7 @@ declare const connectListOutputSchema: z.ZodArray<z.ZodObject<{
|
|
|
53
53
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
54
54
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
55
55
|
userId: z.ZodString;
|
|
56
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
57
|
provider: z.ZodString;
|
|
57
58
|
accountType: z.ZodString;
|
|
58
59
|
providerAccountId: z.ZodString;
|
|
@@ -60,7 +61,6 @@ declare const connectListOutputSchema: z.ZodArray<z.ZodObject<{
|
|
|
60
61
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
62
|
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
63
|
tokenType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
-
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
64
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
65
|
metadataJson: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
66
66
|
revokedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -29,6 +29,7 @@ declare const connectSelectOutputSchema: z.ZodObject<{
|
|
|
29
29
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
30
30
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
31
31
|
userId: z.ZodString;
|
|
32
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
33
|
provider: z.ZodString;
|
|
33
34
|
accountType: z.ZodString;
|
|
34
35
|
providerAccountId: z.ZodString;
|
|
@@ -36,7 +37,6 @@ declare const connectSelectOutputSchema: z.ZodObject<{
|
|
|
36
37
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
38
|
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
39
|
tokenType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
metadataJson: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
42
42
|
revokedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -53,6 +53,7 @@ declare const connectListOutputSchema: z.ZodArray<z.ZodObject<{
|
|
|
53
53
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
54
54
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
55
55
|
userId: z.ZodString;
|
|
56
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
57
|
provider: z.ZodString;
|
|
57
58
|
accountType: z.ZodString;
|
|
58
59
|
providerAccountId: z.ZodString;
|
|
@@ -60,7 +61,6 @@ declare const connectListOutputSchema: z.ZodArray<z.ZodObject<{
|
|
|
60
61
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
62
|
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
63
|
tokenType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
-
scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
64
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
65
|
metadataJson: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
66
66
|
revokedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -398,16 +398,16 @@ declare class ConnectRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
398
398
|
updatedAt: Date | null;
|
|
399
399
|
expiresAt: Date | null;
|
|
400
400
|
userId: string;
|
|
401
|
+
accessToken: string;
|
|
402
|
+
refreshToken: string | null;
|
|
403
|
+
scope: string | null;
|
|
401
404
|
provider: string;
|
|
402
405
|
accountType: string;
|
|
403
406
|
providerAccountId: string;
|
|
404
407
|
handle: string | null;
|
|
405
408
|
displayName: string | null;
|
|
406
409
|
avatarUrl: string | null;
|
|
407
|
-
accessToken: string;
|
|
408
|
-
refreshToken: string | null;
|
|
409
410
|
tokenType: string | null;
|
|
410
|
-
scope: string | null;
|
|
411
411
|
parentId: string | null;
|
|
412
412
|
metadataJson: unknown;
|
|
413
413
|
revokedAt: Date | null;
|
|
@@ -398,16 +398,16 @@ declare class ConnectRepository extends BaseTableRepository<Orm, Schema, Record<
|
|
|
398
398
|
updatedAt: Date | null;
|
|
399
399
|
expiresAt: Date | null;
|
|
400
400
|
userId: string;
|
|
401
|
+
accessToken: string;
|
|
402
|
+
refreshToken: string | null;
|
|
403
|
+
scope: string | null;
|
|
401
404
|
provider: string;
|
|
402
405
|
accountType: string;
|
|
403
406
|
providerAccountId: string;
|
|
404
407
|
handle: string | null;
|
|
405
408
|
displayName: string | null;
|
|
406
409
|
avatarUrl: string | null;
|
|
407
|
-
accessToken: string;
|
|
408
|
-
refreshToken: string | null;
|
|
409
410
|
tokenType: string | null;
|
|
410
|
-
scope: string | null;
|
|
411
411
|
parentId: string | null;
|
|
412
412
|
metadataJson: unknown;
|
|
413
413
|
revokedAt: Date | null;
|
|
@@ -24,16 +24,16 @@ declare class ConnectService extends BaseService<{
|
|
|
24
24
|
updatedAt: Date | null;
|
|
25
25
|
expiresAt: Date | null;
|
|
26
26
|
userId: string;
|
|
27
|
+
accessToken: string;
|
|
28
|
+
refreshToken: string | null;
|
|
29
|
+
scope: string | null;
|
|
27
30
|
provider: string;
|
|
28
31
|
accountType: string;
|
|
29
32
|
providerAccountId: string;
|
|
30
33
|
handle: string | null;
|
|
31
34
|
displayName: string | null;
|
|
32
35
|
avatarUrl: string | null;
|
|
33
|
-
accessToken: string;
|
|
34
|
-
refreshToken: string | null;
|
|
35
36
|
tokenType: string | null;
|
|
36
|
-
scope: string | null;
|
|
37
37
|
parentId: string | null;
|
|
38
38
|
metadataJson: unknown;
|
|
39
39
|
revokedAt: Date | null;
|
|
@@ -45,16 +45,16 @@ declare class ConnectService extends BaseService<{
|
|
|
45
45
|
updatedAt: Date | null;
|
|
46
46
|
expiresAt: Date | null;
|
|
47
47
|
userId: string;
|
|
48
|
+
accessToken: string;
|
|
49
|
+
refreshToken: string | null;
|
|
50
|
+
scope: string | null;
|
|
48
51
|
provider: string;
|
|
49
52
|
accountType: string;
|
|
50
53
|
providerAccountId: string;
|
|
51
54
|
handle: string | null;
|
|
52
55
|
displayName: string | null;
|
|
53
56
|
avatarUrl: string | null;
|
|
54
|
-
accessToken: string;
|
|
55
|
-
refreshToken: string | null;
|
|
56
57
|
tokenType: string | null;
|
|
57
|
-
scope: string | null;
|
|
58
58
|
parentId: string | null;
|
|
59
59
|
metadataJson: unknown;
|
|
60
60
|
revokedAt: Date | null;
|
|
@@ -24,16 +24,16 @@ declare class ConnectService extends BaseService<{
|
|
|
24
24
|
updatedAt: Date | null;
|
|
25
25
|
expiresAt: Date | null;
|
|
26
26
|
userId: string;
|
|
27
|
+
accessToken: string;
|
|
28
|
+
refreshToken: string | null;
|
|
29
|
+
scope: string | null;
|
|
27
30
|
provider: string;
|
|
28
31
|
accountType: string;
|
|
29
32
|
providerAccountId: string;
|
|
30
33
|
handle: string | null;
|
|
31
34
|
displayName: string | null;
|
|
32
35
|
avatarUrl: string | null;
|
|
33
|
-
accessToken: string;
|
|
34
|
-
refreshToken: string | null;
|
|
35
36
|
tokenType: string | null;
|
|
36
|
-
scope: string | null;
|
|
37
37
|
parentId: string | null;
|
|
38
38
|
metadataJson: unknown;
|
|
39
39
|
revokedAt: Date | null;
|
|
@@ -45,16 +45,16 @@ declare class ConnectService extends BaseService<{
|
|
|
45
45
|
updatedAt: Date | null;
|
|
46
46
|
expiresAt: Date | null;
|
|
47
47
|
userId: string;
|
|
48
|
+
accessToken: string;
|
|
49
|
+
refreshToken: string | null;
|
|
50
|
+
scope: string | null;
|
|
48
51
|
provider: string;
|
|
49
52
|
accountType: string;
|
|
50
53
|
providerAccountId: string;
|
|
51
54
|
handle: string | null;
|
|
52
55
|
displayName: string | null;
|
|
53
56
|
avatarUrl: string | null;
|
|
54
|
-
accessToken: string;
|
|
55
|
-
refreshToken: string | null;
|
|
56
57
|
tokenType: string | null;
|
|
57
|
-
scope: string | null;
|
|
58
58
|
parentId: string | null;
|
|
59
59
|
metadataJson: unknown;
|
|
60
60
|
revokedAt: Date | null;
|
|
@@ -26,11 +26,11 @@ declare function createConnectTRPC({
|
|
|
26
26
|
providerAccountId: string;
|
|
27
27
|
updatedAt?: Date | null | undefined;
|
|
28
28
|
expiresAt?: Date | null | undefined;
|
|
29
|
+
scope?: string | null | undefined;
|
|
29
30
|
handle?: string | null | undefined;
|
|
30
31
|
displayName?: string | null | undefined;
|
|
31
32
|
avatarUrl?: string | null | undefined;
|
|
32
33
|
tokenType?: string | null | undefined;
|
|
33
|
-
scope?: string | null | undefined;
|
|
34
34
|
parentId?: string | null | undefined;
|
|
35
35
|
metadataJson?: unknown;
|
|
36
36
|
revokedAt?: Date | null | undefined;
|
|
@@ -26,11 +26,11 @@ declare function createConnectTRPC({
|
|
|
26
26
|
providerAccountId: string;
|
|
27
27
|
updatedAt?: Date | null | undefined;
|
|
28
28
|
expiresAt?: Date | null | undefined;
|
|
29
|
+
scope?: string | null | undefined;
|
|
29
30
|
handle?: string | null | undefined;
|
|
30
31
|
displayName?: string | null | undefined;
|
|
31
32
|
avatarUrl?: string | null | undefined;
|
|
32
33
|
tokenType?: string | null | undefined;
|
|
33
|
-
scope?: string | null | undefined;
|
|
34
34
|
parentId?: string | null | undefined;
|
|
35
35
|
metadataJson?: unknown;
|
|
36
36
|
revokedAt?: Date | null | undefined;
|
|
@@ -3,13 +3,13 @@ const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
|
|
|
3
3
|
const require_src_modules_file_file_repository = require("./file.repository.cjs");
|
|
4
4
|
const require_src_modules_file_file_service = require("./file.service.cjs");
|
|
5
5
|
let uuid = require("uuid");
|
|
6
|
-
let body_parser = require("body-parser");
|
|
7
|
-
body_parser = require_runtime.__toESM(body_parser);
|
|
8
6
|
let express = require("express");
|
|
9
7
|
express = require_runtime.__toESM(express);
|
|
10
8
|
let node_path = require("node:path");
|
|
11
9
|
node_path = require_runtime.__toESM(node_path);
|
|
12
10
|
let _m5kdev_commons_modules_file_file_constants = require("@m5kdev/commons/modules/file/file.constants");
|
|
11
|
+
let body_parser = require("body-parser");
|
|
12
|
+
body_parser = require_runtime.__toESM(body_parser);
|
|
13
13
|
let multer = require("multer");
|
|
14
14
|
multer = require_runtime.__toESM(multer);
|
|
15
15
|
//#region src/modules/file/file.router.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FileRepository } from "./file.repository.mjs";
|
|
2
2
|
import { FileService } from "./file.service.mjs";
|
|
3
3
|
import { v4 } from "uuid";
|
|
4
|
-
import bodyParser from "body-parser";
|
|
5
4
|
import express from "express";
|
|
6
5
|
import path from "node:path";
|
|
7
6
|
import { fileTypes } from "@m5kdev/commons/modules/file/file.constants";
|
|
7
|
+
import bodyParser from "body-parser";
|
|
8
8
|
import multer from "multer";
|
|
9
9
|
//#region src/modules/file/file.router.ts
|
|
10
10
|
const fileService = new FileService({ file: new FileRepository() });
|
|
@@ -18,7 +18,7 @@ declare class RecurrenceService extends BaseService<{
|
|
|
18
18
|
filters?: {
|
|
19
19
|
columnId: string;
|
|
20
20
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
21
|
-
method: "
|
|
21
|
+
method: "on" | "contains" | "starts_with" | "ends_with" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "intersect" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
22
22
|
value: string | number | boolean | string[];
|
|
23
23
|
valueTo?: string | undefined;
|
|
24
24
|
endColumnId?: string | undefined;
|
|
@@ -18,7 +18,7 @@ declare class RecurrenceService extends BaseService<{
|
|
|
18
18
|
filters?: {
|
|
19
19
|
columnId: string;
|
|
20
20
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
21
|
-
method: "
|
|
21
|
+
method: "on" | "contains" | "starts_with" | "ends_with" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "intersect" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
22
22
|
value: string | number | boolean | string[];
|
|
23
23
|
valueTo?: string | undefined;
|
|
24
24
|
endColumnId?: string | undefined;
|
|
@@ -21,7 +21,7 @@ declare function createRecurrenceTRPC({
|
|
|
21
21
|
filters?: {
|
|
22
22
|
columnId: string;
|
|
23
23
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
24
|
-
method: "
|
|
24
|
+
method: "on" | "contains" | "starts_with" | "ends_with" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "intersect" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
25
25
|
value: string | number | boolean | string[];
|
|
26
26
|
valueTo?: string | undefined;
|
|
27
27
|
endColumnId?: string | undefined;
|
|
@@ -21,7 +21,7 @@ declare function createRecurrenceTRPC({
|
|
|
21
21
|
filters?: {
|
|
22
22
|
columnId: string;
|
|
23
23
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
24
|
-
method: "
|
|
24
|
+
method: "on" | "contains" | "starts_with" | "ends_with" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "intersect" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
25
25
|
value: string | number | boolean | string[];
|
|
26
26
|
valueTo?: string | undefined;
|
|
27
27
|
endColumnId?: string | undefined;
|
|
@@ -21,7 +21,7 @@ declare function createTagTRPC({
|
|
|
21
21
|
filters?: {
|
|
22
22
|
columnId: string;
|
|
23
23
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
24
|
-
method: "
|
|
24
|
+
method: "on" | "contains" | "starts_with" | "ends_with" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "intersect" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
25
25
|
value: string | number | boolean | string[];
|
|
26
26
|
valueTo?: string | undefined;
|
|
27
27
|
endColumnId?: string | undefined;
|
|
@@ -55,7 +55,7 @@ declare function createTagTRPC({
|
|
|
55
55
|
resourceIds?: {
|
|
56
56
|
columnId: string;
|
|
57
57
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
58
|
-
method: "
|
|
58
|
+
method: "on" | "contains" | "starts_with" | "ends_with" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "intersect" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
59
59
|
value: string | number | boolean | string[];
|
|
60
60
|
valueTo?: string | undefined;
|
|
61
61
|
endColumnId?: string | undefined;
|
|
@@ -21,7 +21,7 @@ declare function createTagTRPC({
|
|
|
21
21
|
filters?: {
|
|
22
22
|
columnId: string;
|
|
23
23
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
24
|
-
method: "
|
|
24
|
+
method: "on" | "contains" | "starts_with" | "ends_with" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "intersect" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
25
25
|
value: string | number | boolean | string[];
|
|
26
26
|
valueTo?: string | undefined;
|
|
27
27
|
endColumnId?: string | undefined;
|
|
@@ -55,7 +55,7 @@ declare function createTagTRPC({
|
|
|
55
55
|
resourceIds?: {
|
|
56
56
|
columnId: string;
|
|
57
57
|
type: "string" | "number" | "boolean" | "date" | "enum" | "jsonArray";
|
|
58
|
-
method: "
|
|
58
|
+
method: "on" | "contains" | "starts_with" | "ends_with" | "equals" | "greater_than" | "less_than" | "between" | "before" | "after" | "oneOf" | "intersect" | "isEmpty" | "isNotEmpty" | "is_null" | "is_not_null";
|
|
59
59
|
value: string | number | boolean | string[];
|
|
60
60
|
valueTo?: string | undefined;
|
|
61
61
|
endColumnId?: string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
let express = require("express");
|
|
3
4
|
let body_parser = require("body-parser");
|
|
4
5
|
body_parser = require_runtime.__toESM(body_parser);
|
|
5
|
-
let express = require("express");
|
|
6
6
|
//#region src/modules/webhook/webhook.router.ts
|
|
7
7
|
function createWebhookRouter(webhookService) {
|
|
8
8
|
const webhookRouter = (0, express.Router)();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m5kdev/backend",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Composable Express server stack with Drizzle ORM and tRPC.",
|
|
5
5
|
"license": "GPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"turndown": "7.2.2",
|
|
61
61
|
"uuid": "11.0.5",
|
|
62
62
|
"zod": "4.2.1",
|
|
63
|
-
"@m5kdev/
|
|
64
|
-
"@m5kdev/
|
|
63
|
+
"@m5kdev/commons": "0.9.1",
|
|
64
|
+
"@m5kdev/config": "0.9.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@jest/globals": "30.2.0",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"@types/node": "20.19.11",
|
|
75
75
|
"@types/react": "19.2.7",
|
|
76
76
|
"@types/react-dom": "19.2.3",
|
|
77
|
+
"@types/turndown": "5.0.6",
|
|
77
78
|
"drizzle-kit": "0.31.4",
|
|
78
79
|
"jest": "30.1.3",
|
|
79
80
|
"ts-jest": "29.4.4",
|