@connectedxm/admin 2.4.11 → 2.4.13
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/index.d.cts +13 -2
- package/dist/index.d.ts +13 -2
- package/package.json +11 -11
package/dist/index.d.cts
CHANGED
|
@@ -903,6 +903,8 @@ interface EventTranslation {
|
|
|
903
903
|
shortDescription: string;
|
|
904
904
|
longDescription: string | null;
|
|
905
905
|
reservationDescription: string | null;
|
|
906
|
+
imageId: string | null;
|
|
907
|
+
image: BaseImage | null;
|
|
906
908
|
createdAt: string;
|
|
907
909
|
updatedAt: string;
|
|
908
910
|
}
|
|
@@ -1099,6 +1101,8 @@ interface GroupTranslation {
|
|
|
1099
1101
|
locale: string;
|
|
1100
1102
|
name: string;
|
|
1101
1103
|
description: string;
|
|
1104
|
+
imageId: string | null;
|
|
1105
|
+
image: BaseImage | null;
|
|
1102
1106
|
createdAt: string;
|
|
1103
1107
|
updatedAt: string;
|
|
1104
1108
|
}
|
|
@@ -1688,6 +1692,7 @@ interface BaseRegistrationQuestion {
|
|
|
1688
1692
|
featured: boolean;
|
|
1689
1693
|
choices: BaseRegistrationQuestionChoice[];
|
|
1690
1694
|
matchType: MatchQuestionType;
|
|
1695
|
+
unique: boolean;
|
|
1691
1696
|
}
|
|
1692
1697
|
interface RegistrationQuestion extends BaseRegistrationQuestion {
|
|
1693
1698
|
sections: BaseRegistrationSectionQuestion[];
|
|
@@ -1892,6 +1897,8 @@ interface EventSessionTranslation {
|
|
|
1892
1897
|
name: string;
|
|
1893
1898
|
description: string | null;
|
|
1894
1899
|
longDescription: string | null;
|
|
1900
|
+
imageId: string | null;
|
|
1901
|
+
image: BaseImage | null;
|
|
1895
1902
|
createdAt: string;
|
|
1896
1903
|
updatedAt: string;
|
|
1897
1904
|
}
|
|
@@ -4015,6 +4022,7 @@ interface EventSessionTranslationUpdateInputs {
|
|
|
4015
4022
|
name?: string | null;
|
|
4016
4023
|
description?: string | null;
|
|
4017
4024
|
longDescription?: string | null;
|
|
4025
|
+
imageId?: string | null;
|
|
4018
4026
|
}
|
|
4019
4027
|
interface EventSessionUpdateInputs {
|
|
4020
4028
|
name?: string | null;
|
|
@@ -4219,6 +4227,7 @@ interface EventTranslationUpdateInputs {
|
|
|
4219
4227
|
shortDescription?: string | null;
|
|
4220
4228
|
longDescription?: string | null;
|
|
4221
4229
|
reservationDescription?: string | null;
|
|
4230
|
+
imageId?: string | null;
|
|
4222
4231
|
}
|
|
4223
4232
|
interface EventUpdateInputs {
|
|
4224
4233
|
featured?: boolean;
|
|
@@ -4314,6 +4323,7 @@ interface OrganizationMembershipUpdateInputs {
|
|
|
4314
4323
|
interface GroupTranslationUpdateInputs {
|
|
4315
4324
|
name?: string | null;
|
|
4316
4325
|
description?: string | null;
|
|
4326
|
+
imageId?: string | null;
|
|
4317
4327
|
}
|
|
4318
4328
|
interface GroupUpdateInputs {
|
|
4319
4329
|
featured?: boolean;
|
|
@@ -4528,6 +4538,7 @@ interface EventQuestionUpdateInputs {
|
|
|
4528
4538
|
sortOrder?: number | string | null;
|
|
4529
4539
|
featured?: boolean;
|
|
4530
4540
|
matchType?: keyof typeof MatchQuestionType;
|
|
4541
|
+
unique?: boolean;
|
|
4531
4542
|
}
|
|
4532
4543
|
interface CustomReportCreateInputs extends ReportFilters {
|
|
4533
4544
|
name: string;
|
|
@@ -5415,7 +5426,7 @@ interface SingleQueryParams {
|
|
|
5415
5426
|
interface SingleQueryOptions<TQueryData = unknown> extends Omit<UseQueryOptions<TQueryData, AxiosError<ConnectedXMResponse<any>>, Awaited<TQueryData>, QueryKey>, "queryFn" | "queryKey"> {
|
|
5416
5427
|
shouldRedirect?: boolean;
|
|
5417
5428
|
}
|
|
5418
|
-
declare const useConnectedSingleQuery: <TQueryData = unknown>(queryKeys: QueryKey, queryFn: (params: SingleQueryParams) => TQueryData, options?: SingleQueryOptions<TQueryData>, domain?: PermissionDomain | PermissionDomain[]) => _tanstack_react_query.UseQueryResult<Awaited<TQueryData
|
|
5429
|
+
declare const useConnectedSingleQuery: <TQueryData = unknown>(queryKeys: QueryKey, queryFn: (params: SingleQueryParams) => TQueryData, options?: SingleQueryOptions<TQueryData>, domain?: PermissionDomain | PermissionDomain[]) => _tanstack_react_query.UseQueryResult<_tanstack_react_query.NoInfer<Awaited<TQueryData>>, AxiosError<ConnectedXMResponse<any>, any>>;
|
|
5419
5430
|
|
|
5420
5431
|
/**
|
|
5421
5432
|
* @category Keys
|
|
@@ -5449,7 +5460,7 @@ interface InfiniteQueryParams {
|
|
|
5449
5460
|
search?: string;
|
|
5450
5461
|
queryClient?: QueryClient;
|
|
5451
5462
|
}
|
|
5452
|
-
interface InfiniteQueryOptions<TQueryData extends ConnectedXMResponse<any> = ConnectedXMResponse<unknown>> extends Omit<UseInfiniteQueryOptions<TQueryData, AxiosError<ConnectedXMResponse<null>>, InfiniteData<TQueryData, number>,
|
|
5463
|
+
interface InfiniteQueryOptions<TQueryData extends ConnectedXMResponse<any> = ConnectedXMResponse<unknown>> extends Omit<UseInfiniteQueryOptions<TQueryData, AxiosError<ConnectedXMResponse<null>>, InfiniteData<TQueryData, number>, QueryKey, number>, "queryKey" | "queryFn" | "getNextPageParam" | "initialPageParam"> {
|
|
5453
5464
|
shouldRedirect?: boolean;
|
|
5454
5465
|
}
|
|
5455
5466
|
declare const GetBaseInfiniteQueryKeys: (search?: string) => string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -903,6 +903,8 @@ interface EventTranslation {
|
|
|
903
903
|
shortDescription: string;
|
|
904
904
|
longDescription: string | null;
|
|
905
905
|
reservationDescription: string | null;
|
|
906
|
+
imageId: string | null;
|
|
907
|
+
image: BaseImage | null;
|
|
906
908
|
createdAt: string;
|
|
907
909
|
updatedAt: string;
|
|
908
910
|
}
|
|
@@ -1099,6 +1101,8 @@ interface GroupTranslation {
|
|
|
1099
1101
|
locale: string;
|
|
1100
1102
|
name: string;
|
|
1101
1103
|
description: string;
|
|
1104
|
+
imageId: string | null;
|
|
1105
|
+
image: BaseImage | null;
|
|
1102
1106
|
createdAt: string;
|
|
1103
1107
|
updatedAt: string;
|
|
1104
1108
|
}
|
|
@@ -1688,6 +1692,7 @@ interface BaseRegistrationQuestion {
|
|
|
1688
1692
|
featured: boolean;
|
|
1689
1693
|
choices: BaseRegistrationQuestionChoice[];
|
|
1690
1694
|
matchType: MatchQuestionType;
|
|
1695
|
+
unique: boolean;
|
|
1691
1696
|
}
|
|
1692
1697
|
interface RegistrationQuestion extends BaseRegistrationQuestion {
|
|
1693
1698
|
sections: BaseRegistrationSectionQuestion[];
|
|
@@ -1892,6 +1897,8 @@ interface EventSessionTranslation {
|
|
|
1892
1897
|
name: string;
|
|
1893
1898
|
description: string | null;
|
|
1894
1899
|
longDescription: string | null;
|
|
1900
|
+
imageId: string | null;
|
|
1901
|
+
image: BaseImage | null;
|
|
1895
1902
|
createdAt: string;
|
|
1896
1903
|
updatedAt: string;
|
|
1897
1904
|
}
|
|
@@ -4015,6 +4022,7 @@ interface EventSessionTranslationUpdateInputs {
|
|
|
4015
4022
|
name?: string | null;
|
|
4016
4023
|
description?: string | null;
|
|
4017
4024
|
longDescription?: string | null;
|
|
4025
|
+
imageId?: string | null;
|
|
4018
4026
|
}
|
|
4019
4027
|
interface EventSessionUpdateInputs {
|
|
4020
4028
|
name?: string | null;
|
|
@@ -4219,6 +4227,7 @@ interface EventTranslationUpdateInputs {
|
|
|
4219
4227
|
shortDescription?: string | null;
|
|
4220
4228
|
longDescription?: string | null;
|
|
4221
4229
|
reservationDescription?: string | null;
|
|
4230
|
+
imageId?: string | null;
|
|
4222
4231
|
}
|
|
4223
4232
|
interface EventUpdateInputs {
|
|
4224
4233
|
featured?: boolean;
|
|
@@ -4314,6 +4323,7 @@ interface OrganizationMembershipUpdateInputs {
|
|
|
4314
4323
|
interface GroupTranslationUpdateInputs {
|
|
4315
4324
|
name?: string | null;
|
|
4316
4325
|
description?: string | null;
|
|
4326
|
+
imageId?: string | null;
|
|
4317
4327
|
}
|
|
4318
4328
|
interface GroupUpdateInputs {
|
|
4319
4329
|
featured?: boolean;
|
|
@@ -4528,6 +4538,7 @@ interface EventQuestionUpdateInputs {
|
|
|
4528
4538
|
sortOrder?: number | string | null;
|
|
4529
4539
|
featured?: boolean;
|
|
4530
4540
|
matchType?: keyof typeof MatchQuestionType;
|
|
4541
|
+
unique?: boolean;
|
|
4531
4542
|
}
|
|
4532
4543
|
interface CustomReportCreateInputs extends ReportFilters {
|
|
4533
4544
|
name: string;
|
|
@@ -5415,7 +5426,7 @@ interface SingleQueryParams {
|
|
|
5415
5426
|
interface SingleQueryOptions<TQueryData = unknown> extends Omit<UseQueryOptions<TQueryData, AxiosError<ConnectedXMResponse<any>>, Awaited<TQueryData>, QueryKey>, "queryFn" | "queryKey"> {
|
|
5416
5427
|
shouldRedirect?: boolean;
|
|
5417
5428
|
}
|
|
5418
|
-
declare const useConnectedSingleQuery: <TQueryData = unknown>(queryKeys: QueryKey, queryFn: (params: SingleQueryParams) => TQueryData, options?: SingleQueryOptions<TQueryData>, domain?: PermissionDomain | PermissionDomain[]) => _tanstack_react_query.UseQueryResult<Awaited<TQueryData
|
|
5429
|
+
declare const useConnectedSingleQuery: <TQueryData = unknown>(queryKeys: QueryKey, queryFn: (params: SingleQueryParams) => TQueryData, options?: SingleQueryOptions<TQueryData>, domain?: PermissionDomain | PermissionDomain[]) => _tanstack_react_query.UseQueryResult<_tanstack_react_query.NoInfer<Awaited<TQueryData>>, AxiosError<ConnectedXMResponse<any>, any>>;
|
|
5419
5430
|
|
|
5420
5431
|
/**
|
|
5421
5432
|
* @category Keys
|
|
@@ -5449,7 +5460,7 @@ interface InfiniteQueryParams {
|
|
|
5449
5460
|
search?: string;
|
|
5450
5461
|
queryClient?: QueryClient;
|
|
5451
5462
|
}
|
|
5452
|
-
interface InfiniteQueryOptions<TQueryData extends ConnectedXMResponse<any> = ConnectedXMResponse<unknown>> extends Omit<UseInfiniteQueryOptions<TQueryData, AxiosError<ConnectedXMResponse<null>>, InfiniteData<TQueryData, number>,
|
|
5463
|
+
interface InfiniteQueryOptions<TQueryData extends ConnectedXMResponse<any> = ConnectedXMResponse<unknown>> extends Omit<UseInfiniteQueryOptions<TQueryData, AxiosError<ConnectedXMResponse<null>>, InfiniteData<TQueryData, number>, QueryKey, number>, "queryKey" | "queryFn" | "getNextPageParam" | "initialPageParam"> {
|
|
5453
5464
|
shouldRedirect?: boolean;
|
|
5454
5465
|
}
|
|
5455
5466
|
declare const GetBaseInfiniteQueryKeys: (search?: string) => string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@connectedxm/admin",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.13",
|
|
4
4
|
"description": "Admin API javascript SDK",
|
|
5
5
|
"author": "ConnectedXM Inc.",
|
|
6
6
|
"type": "module",
|
|
@@ -29,24 +29,24 @@
|
|
|
29
29
|
"react": "^18 || ^19"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@babel/parser": "^7.27.
|
|
33
|
-
"@swc/core": "^1.
|
|
34
|
-
"@tanstack/react-query": "^5.
|
|
32
|
+
"@babel/parser": "^7.27.5",
|
|
33
|
+
"@swc/core": "^1.12.0",
|
|
34
|
+
"@tanstack/react-query": "^5.80.7",
|
|
35
35
|
"@types/glob": "^8.1.0",
|
|
36
36
|
"@types/node": "^22.15.3",
|
|
37
|
-
"@types/react": "^19.1.
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
39
|
-
"@typescript-eslint/parser": "^8.
|
|
40
|
-
"eslint": "^9.
|
|
37
|
+
"@types/react": "^19.1.8",
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^8.34.0",
|
|
39
|
+
"@typescript-eslint/parser": "^8.34.0",
|
|
40
|
+
"eslint": "^9.28.0",
|
|
41
41
|
"eslint-plugin-react": "^7.37.5",
|
|
42
42
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
43
43
|
"glob": "^11.0.2",
|
|
44
44
|
"recast": "^0.23.11",
|
|
45
|
-
"tsup": "^8.
|
|
45
|
+
"tsup": "^8.5.0",
|
|
46
46
|
"typescript": "^5.8.3",
|
|
47
|
-
"vitest": "^3.
|
|
47
|
+
"vitest": "^3.2.3"
|
|
48
48
|
},
|
|
49
49
|
"optionalDependencies": {
|
|
50
|
-
"@rollup/rollup-linux-x64-gnu": "4.
|
|
50
|
+
"@rollup/rollup-linux-x64-gnu": "4.43.0"
|
|
51
51
|
}
|
|
52
52
|
}
|