@authhero/multi-tenancy 13.12.0 → 13.12.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/multi-tenancy.d.ts +55 -0
- package/package.json +4 -4
package/dist/multi-tenancy.d.ts
CHANGED
|
@@ -563,6 +563,7 @@ export interface Totals {
|
|
|
563
563
|
start: number;
|
|
564
564
|
limit: number;
|
|
565
565
|
length: number;
|
|
566
|
+
total?: number;
|
|
566
567
|
}
|
|
567
568
|
declare const userInsertSchema: z.ZodObject<{
|
|
568
569
|
email: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
@@ -11223,6 +11224,8 @@ export interface ListParams {
|
|
|
11223
11224
|
sort_by: string;
|
|
11224
11225
|
sort_order: "asc" | "desc";
|
|
11225
11226
|
};
|
|
11227
|
+
from?: string;
|
|
11228
|
+
take?: number;
|
|
11226
11229
|
}
|
|
11227
11230
|
declare const loginSessionInsertSchema: z.ZodObject<{
|
|
11228
11231
|
csrf_token: z.ZodString;
|
|
@@ -15817,6 +15820,7 @@ interface Totals$1 {
|
|
|
15817
15820
|
start: number;
|
|
15818
15821
|
limit: number;
|
|
15819
15822
|
length: number;
|
|
15823
|
+
total?: number;
|
|
15820
15824
|
}
|
|
15821
15825
|
declare const userInsertSchema$1: z.ZodObject<{
|
|
15822
15826
|
email: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
@@ -26477,6 +26481,8 @@ interface ListParams$1 {
|
|
|
26477
26481
|
sort_by: string;
|
|
26478
26482
|
sort_order: "asc" | "desc";
|
|
26479
26483
|
};
|
|
26484
|
+
from?: string;
|
|
26485
|
+
take?: number;
|
|
26480
26486
|
}
|
|
26481
26487
|
declare const loginSessionInsertSchema$1: z.ZodObject<{
|
|
26482
26488
|
csrf_token: z.ZodString;
|
|
@@ -33096,6 +33102,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
33096
33102
|
page?: string | undefined;
|
|
33097
33103
|
per_page?: string | undefined;
|
|
33098
33104
|
include_totals?: string | undefined;
|
|
33105
|
+
from?: string | undefined;
|
|
33106
|
+
take?: string | undefined;
|
|
33099
33107
|
q?: string | undefined;
|
|
33100
33108
|
};
|
|
33101
33109
|
} & {
|
|
@@ -33166,6 +33174,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
33166
33174
|
is_signup_enabled: boolean;
|
|
33167
33175
|
}[] | undefined;
|
|
33168
33176
|
}[];
|
|
33177
|
+
total?: number | undefined;
|
|
33169
33178
|
};
|
|
33170
33179
|
outputFormat: "json";
|
|
33171
33180
|
status: 200;
|
|
@@ -33389,6 +33398,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
33389
33398
|
page?: string | undefined;
|
|
33390
33399
|
per_page?: string | undefined;
|
|
33391
33400
|
include_totals?: string | undefined;
|
|
33401
|
+
from?: string | undefined;
|
|
33402
|
+
take?: string | undefined;
|
|
33392
33403
|
q?: string | undefined;
|
|
33393
33404
|
};
|
|
33394
33405
|
} & {
|
|
@@ -33477,6 +33488,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
33477
33488
|
page?: string | undefined;
|
|
33478
33489
|
per_page?: string | undefined;
|
|
33479
33490
|
include_totals?: string | undefined;
|
|
33491
|
+
from?: string | undefined;
|
|
33492
|
+
take?: string | undefined;
|
|
33480
33493
|
q?: string | undefined;
|
|
33481
33494
|
};
|
|
33482
33495
|
} & {
|
|
@@ -33553,6 +33566,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
33553
33566
|
page?: string | undefined;
|
|
33554
33567
|
per_page?: string | undefined;
|
|
33555
33568
|
include_totals?: string | undefined;
|
|
33569
|
+
from?: string | undefined;
|
|
33570
|
+
take?: string | undefined;
|
|
33556
33571
|
q?: string | undefined;
|
|
33557
33572
|
};
|
|
33558
33573
|
} & {
|
|
@@ -33805,6 +33820,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
33805
33820
|
page?: string | undefined;
|
|
33806
33821
|
per_page?: string | undefined;
|
|
33807
33822
|
include_totals?: string | undefined;
|
|
33823
|
+
from?: string | undefined;
|
|
33824
|
+
take?: string | undefined;
|
|
33808
33825
|
q?: string | undefined;
|
|
33809
33826
|
};
|
|
33810
33827
|
} & {
|
|
@@ -33875,6 +33892,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
33875
33892
|
allow_offline_access?: boolean | undefined | undefined;
|
|
33876
33893
|
verificationKey?: string | undefined | undefined;
|
|
33877
33894
|
}[];
|
|
33895
|
+
total?: number | undefined;
|
|
33878
33896
|
};
|
|
33879
33897
|
outputFormat: "json";
|
|
33880
33898
|
status: 200;
|
|
@@ -34096,6 +34114,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
34096
34114
|
page?: string | undefined;
|
|
34097
34115
|
per_page?: string | undefined;
|
|
34098
34116
|
include_totals?: string | undefined;
|
|
34117
|
+
from?: string | undefined;
|
|
34118
|
+
take?: string | undefined;
|
|
34099
34119
|
q?: string | undefined;
|
|
34100
34120
|
};
|
|
34101
34121
|
} & {
|
|
@@ -34122,6 +34142,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
34122
34142
|
description?: string | undefined | undefined;
|
|
34123
34143
|
is_system?: boolean | undefined | undefined;
|
|
34124
34144
|
}[];
|
|
34145
|
+
total?: number | undefined;
|
|
34125
34146
|
};
|
|
34126
34147
|
outputFormat: "json";
|
|
34127
34148
|
status: 200;
|
|
@@ -34237,6 +34258,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
34237
34258
|
page?: string | undefined;
|
|
34238
34259
|
per_page?: string | undefined;
|
|
34239
34260
|
include_totals?: string | undefined;
|
|
34261
|
+
from?: string | undefined;
|
|
34262
|
+
take?: string | undefined;
|
|
34240
34263
|
q?: string | undefined;
|
|
34241
34264
|
};
|
|
34242
34265
|
} & {
|
|
@@ -34311,6 +34334,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
34311
34334
|
page?: string | undefined;
|
|
34312
34335
|
per_page?: string | undefined;
|
|
34313
34336
|
include_totals?: string | undefined;
|
|
34337
|
+
from?: string | undefined;
|
|
34338
|
+
take?: string | undefined;
|
|
34314
34339
|
q?: string | undefined;
|
|
34315
34340
|
};
|
|
34316
34341
|
} & {
|
|
@@ -34421,6 +34446,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
34421
34446
|
mask_output?: boolean | undefined | undefined;
|
|
34422
34447
|
})[];
|
|
34423
34448
|
}[];
|
|
34449
|
+
total?: number | undefined;
|
|
34424
34450
|
};
|
|
34425
34451
|
outputFormat: "json";
|
|
34426
34452
|
status: 200;
|
|
@@ -34738,6 +34764,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
34738
34764
|
page?: string | undefined;
|
|
34739
34765
|
per_page?: string | undefined;
|
|
34740
34766
|
include_totals?: string | undefined;
|
|
34767
|
+
from?: string | undefined;
|
|
34768
|
+
take?: string | undefined;
|
|
34741
34769
|
q?: string | undefined;
|
|
34742
34770
|
};
|
|
34743
34771
|
} & {
|
|
@@ -35638,6 +35666,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
35638
35666
|
[x: string]: any;
|
|
35639
35667
|
} | undefined;
|
|
35640
35668
|
}[];
|
|
35669
|
+
total?: number | undefined;
|
|
35641
35670
|
};
|
|
35642
35671
|
outputFormat: "json";
|
|
35643
35672
|
status: 200;
|
|
@@ -38083,6 +38112,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
38083
38112
|
page?: string | undefined;
|
|
38084
38113
|
per_page?: string | undefined;
|
|
38085
38114
|
include_totals?: string | undefined;
|
|
38115
|
+
from?: string | undefined;
|
|
38116
|
+
take?: string | undefined;
|
|
38086
38117
|
q?: string | undefined;
|
|
38087
38118
|
};
|
|
38088
38119
|
} & {
|
|
@@ -38169,6 +38200,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
38169
38200
|
[x: string]: any;
|
|
38170
38201
|
} | undefined;
|
|
38171
38202
|
}[];
|
|
38203
|
+
total?: number | undefined;
|
|
38172
38204
|
};
|
|
38173
38205
|
outputFormat: "json";
|
|
38174
38206
|
status: 200;
|
|
@@ -38472,6 +38504,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
38472
38504
|
page?: string | undefined;
|
|
38473
38505
|
per_page?: string | undefined;
|
|
38474
38506
|
include_totals?: string | undefined;
|
|
38507
|
+
from?: string | undefined;
|
|
38508
|
+
take?: string | undefined;
|
|
38475
38509
|
q?: string | undefined;
|
|
38476
38510
|
};
|
|
38477
38511
|
} & {
|
|
@@ -38520,6 +38554,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
38520
38554
|
form_id: string;
|
|
38521
38555
|
priority?: number | undefined | undefined;
|
|
38522
38556
|
})[];
|
|
38557
|
+
total?: number | undefined;
|
|
38523
38558
|
};
|
|
38524
38559
|
outputFormat: "json";
|
|
38525
38560
|
status: 200;
|
|
@@ -38722,6 +38757,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
38722
38757
|
page?: string | undefined;
|
|
38723
38758
|
per_page?: string | undefined;
|
|
38724
38759
|
include_totals?: string | undefined;
|
|
38760
|
+
from?: string | undefined;
|
|
38761
|
+
take?: string | undefined;
|
|
38725
38762
|
q?: string | undefined;
|
|
38726
38763
|
};
|
|
38727
38764
|
} & {
|
|
@@ -38804,6 +38841,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
38804
38841
|
continent_code: string;
|
|
38805
38842
|
} | undefined;
|
|
38806
38843
|
}[];
|
|
38844
|
+
total?: number | undefined;
|
|
38807
38845
|
};
|
|
38808
38846
|
outputFormat: "json";
|
|
38809
38847
|
status: 200;
|
|
@@ -39247,6 +39285,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
39247
39285
|
subject_type?: "client" | "user" | undefined | undefined;
|
|
39248
39286
|
authorization_details_types?: string[] | undefined | undefined;
|
|
39249
39287
|
}[];
|
|
39288
|
+
total?: number | undefined;
|
|
39250
39289
|
};
|
|
39251
39290
|
outputFormat: "json";
|
|
39252
39291
|
status: 200;
|
|
@@ -39383,6 +39422,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
39383
39422
|
page?: string | undefined;
|
|
39384
39423
|
per_page?: string | undefined;
|
|
39385
39424
|
include_totals?: string | undefined;
|
|
39425
|
+
from?: string | undefined;
|
|
39426
|
+
take?: string | undefined;
|
|
39386
39427
|
q?: string | undefined;
|
|
39387
39428
|
};
|
|
39388
39429
|
} & {
|
|
@@ -39551,6 +39592,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
39551
39592
|
[x: string]: any;
|
|
39552
39593
|
} | undefined;
|
|
39553
39594
|
}[];
|
|
39595
|
+
total?: number | undefined;
|
|
39554
39596
|
};
|
|
39555
39597
|
outputFormat: "json";
|
|
39556
39598
|
status: 200;
|
|
@@ -40190,6 +40232,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
40190
40232
|
page?: string | undefined;
|
|
40191
40233
|
per_page?: string | undefined;
|
|
40192
40234
|
include_totals?: string | undefined;
|
|
40235
|
+
from?: string | undefined;
|
|
40236
|
+
take?: string | undefined;
|
|
40193
40237
|
q?: string | undefined;
|
|
40194
40238
|
};
|
|
40195
40239
|
} & {
|
|
@@ -40292,6 +40336,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
40292
40336
|
} | undefined;
|
|
40293
40337
|
}[] | undefined;
|
|
40294
40338
|
}[];
|
|
40339
|
+
total?: number | undefined;
|
|
40295
40340
|
};
|
|
40296
40341
|
outputFormat: "json";
|
|
40297
40342
|
status: 200;
|
|
@@ -40608,6 +40653,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
40608
40653
|
page?: string | undefined;
|
|
40609
40654
|
per_page?: string | undefined;
|
|
40610
40655
|
include_totals?: string | undefined;
|
|
40656
|
+
from?: string | undefined;
|
|
40657
|
+
take?: string | undefined;
|
|
40611
40658
|
q?: string | undefined;
|
|
40612
40659
|
};
|
|
40613
40660
|
} & {
|
|
@@ -40662,6 +40709,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
40662
40709
|
revoked_at?: string | undefined | undefined;
|
|
40663
40710
|
idle_expires_at?: string | undefined | undefined;
|
|
40664
40711
|
}[];
|
|
40712
|
+
total?: number | undefined;
|
|
40665
40713
|
};
|
|
40666
40714
|
outputFormat: "json";
|
|
40667
40715
|
status: 200;
|
|
@@ -40680,6 +40728,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
40680
40728
|
page?: string | undefined;
|
|
40681
40729
|
per_page?: string | undefined;
|
|
40682
40730
|
include_totals?: string | undefined;
|
|
40731
|
+
from?: string | undefined;
|
|
40732
|
+
take?: string | undefined;
|
|
40683
40733
|
q?: string | undefined;
|
|
40684
40734
|
};
|
|
40685
40735
|
} & {
|
|
@@ -40827,6 +40877,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
40827
40877
|
page?: string | undefined;
|
|
40828
40878
|
per_page?: string | undefined;
|
|
40829
40879
|
include_totals?: string | undefined;
|
|
40880
|
+
from?: string | undefined;
|
|
40881
|
+
take?: string | undefined;
|
|
40830
40882
|
q?: string | undefined;
|
|
40831
40883
|
};
|
|
40832
40884
|
} & {
|
|
@@ -40897,6 +40949,7 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
40897
40949
|
is_signup_enabled: boolean;
|
|
40898
40950
|
}[] | undefined;
|
|
40899
40951
|
}[];
|
|
40952
|
+
total?: number | undefined;
|
|
40900
40953
|
};
|
|
40901
40954
|
outputFormat: "json";
|
|
40902
40955
|
status: 200;
|
|
@@ -41044,6 +41097,8 @@ export declare function init(config: MultiTenantAuthHeroConfig): {
|
|
|
41044
41097
|
page?: string | undefined;
|
|
41045
41098
|
per_page?: string | undefined;
|
|
41046
41099
|
include_totals?: string | undefined;
|
|
41100
|
+
from?: string | undefined;
|
|
41101
|
+
take?: string | undefined;
|
|
41047
41102
|
q?: string | undefined;
|
|
41048
41103
|
};
|
|
41049
41104
|
} & {
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/markusahlstrand/authhero"
|
|
13
13
|
},
|
|
14
|
-
"version": "13.12.
|
|
14
|
+
"version": "13.12.1",
|
|
15
15
|
"description": "Multi-tenancy support for AuthHero with organization-based access control and per-tenant database isolation",
|
|
16
16
|
"files": [
|
|
17
17
|
"dist"
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"typescript": "^5.6.0",
|
|
38
38
|
"vite": "^6.0.0",
|
|
39
39
|
"vitest": "^2.1.0",
|
|
40
|
-
"@authhero/kysely-adapter": "10.
|
|
40
|
+
"@authhero/kysely-adapter": "10.75.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"zod": "^3.24.0",
|
|
44
|
-
"@authhero/adapter-interfaces": "0.
|
|
45
|
-
"authhero": "1.
|
|
44
|
+
"@authhero/adapter-interfaces": "0.115.0",
|
|
45
|
+
"authhero": "1.3.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@hono/zod-openapi": "^0.19.10",
|