@planningcenter/topbar 9.11.0-rc.0 → 9.11.0
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/topbar.js +1 -1
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.js +1 -1
- package/dist/topbar.modern.js.map +1 -1
- package/dist/topbar.module.js +1 -1
- package/dist/topbar.module.js.map +1 -1
- package/dist/topbar.umd.js +1 -1
- package/dist/topbar.umd.js.map +1 -1
- package/dist/types/modules/api_request.d.ts +2 -2
- package/dist/types/modules/api_request.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/settings.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/preview.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/hooks/index.d.ts +0 -1
- package/dist/types/modules/toolbar/tools/chat/hooks/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/hooks/use_conversation_filters.d.ts +17 -0
- package/dist/types/modules/toolbar/tools/chat/hooks/use_conversation_filters.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/hooks/use_groups_migration.d.ts +12 -0
- package/dist/types/modules/toolbar/tools/chat/hooks/use_groups_migration.d.ts.map +1 -0
- package/package.json +2 -2
- package/dist/types/modules/toolbar/tools/chat/hooks/use_channel_mute.d.ts +0 -2
- package/dist/types/modules/toolbar/tools/chat/hooks/use_channel_mute.d.ts.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export type Fetch = typeof fetch;
|
|
2
2
|
export declare const defaultFetch: Fetch;
|
|
3
3
|
export declare const railsCsrfFetch: Fetch;
|
|
4
|
-
export default function apiRequest(fetch: Fetch, url: string, { method, data }?: {
|
|
4
|
+
export default function apiRequest<T = any>(fetch: Fetch, url: string, { method, data }?: {
|
|
5
5
|
method?: string;
|
|
6
6
|
data?: any;
|
|
7
7
|
}): Promise<{
|
|
8
|
-
json:
|
|
8
|
+
json: T;
|
|
9
9
|
ok: boolean;
|
|
10
10
|
response: Response;
|
|
11
11
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_request.d.ts","sourceRoot":"","sources":["../../../modules/api_request.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAA;AAEhC,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAO5B,CAAA;AAYD,MAAM,CAAC,OAAO,UAAU,UAAU,
|
|
1
|
+
{"version":3,"file":"api_request.d.ts","sourceRoot":"","sources":["../../../modules/api_request.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAA;AAEhC,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAO5B,CAAA;AAYD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,CAAC,GAAG,GAAG,EACxC,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,MAAM,EACX,EAAE,MAAc,EAAE,IAAW,EAAE;;;CAAK,GACnC,OAAO,CAAC;IAAE,IAAI,EAAE,CAAC,CAAC;IAAC,EAAE,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC,CA0BvD"}
|
package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/settings.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_details_view/settings.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_details_view/settings.tsx"],"names":[],"mappings":"AAsGA,eAAO,MAAM,QAAQ;;;iBAKpB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/index.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,eAAe;;;;;;iBAgE3B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/preview.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/preview.tsx"],"names":[],"mappings":"AA0CA,eAAO,MAAM,OAAO;;;;;iBA4HnB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Environment } from "@planningcenter/url";
|
|
2
|
+
interface Props {
|
|
3
|
+
streamUserId: string;
|
|
4
|
+
env: Environment;
|
|
5
|
+
}
|
|
6
|
+
type FilterType = {
|
|
7
|
+
members: {
|
|
8
|
+
$in: string[];
|
|
9
|
+
};
|
|
10
|
+
type: "messaging";
|
|
11
|
+
pco_apps?: {
|
|
12
|
+
$contains: "services" | "groups";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const useConversationFilters: ({ streamUserId, env, }: Props) => FilterType;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=use_conversation_filters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use_conversation_filters.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_conversation_filters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEjD,UAAU,KAAK;IACb,YAAY,EAAE,MAAM,CAAA;IACpB,GAAG,EAAE,WAAW,CAAA;CACjB;AAED,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IAC3B,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,CAAC,EAAE;QAAE,SAAS,EAAE,UAAU,GAAG,QAAQ,CAAA;KAAE,CAAA;CAChD,CAAA;AAED,eAAO,MAAM,sBAAsB,2BAGhC,KAAK,eA0BP,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Environment } from "@planningcenter/url";
|
|
2
|
+
type GroupsMigrationStatus = "pending" | "running" | "completed" | "failed";
|
|
3
|
+
export declare const useGroupsMigration: ({ env }: {
|
|
4
|
+
env: Environment;
|
|
5
|
+
}) => {
|
|
6
|
+
groupsMigrationStatus: GroupsMigrationStatus;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
error: boolean;
|
|
9
|
+
refresh: () => void;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=use_groups_migration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use_groups_migration.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_groups_migration.ts"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAMzD,KAAK,qBAAqB,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAA;AAU3E,eAAO,MAAM,kBAAkB;SAAoB,WAAW;;;;;;CAsC7D,CAAA"}
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@churchcenter/datetime-fmt": "^1.3.2",
|
|
18
18
|
"@emotion/cache": "^11.10.5",
|
|
19
19
|
"@emotion/react": "^11.10.5",
|
|
20
|
-
"@planningcenter/icons": "^15.
|
|
20
|
+
"@planningcenter/icons": "^15.7.0",
|
|
21
21
|
"@planningcenter/jolt-client": "^2.1.0",
|
|
22
22
|
"@planningcenter/url": "^2.7.0",
|
|
23
23
|
"algoliasearch": "^4.20.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"webpack-cli": "^4.9.1",
|
|
76
76
|
"webpack-dev-server": "^4.4.0"
|
|
77
77
|
},
|
|
78
|
-
"version": "9.11.0
|
|
78
|
+
"version": "9.11.0",
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"@planningcenter/add-ons": "^5",
|
|
81
81
|
"@planningcenter/tapestry-react": "^4",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use_channel_mute.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_channel_mute.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,uBAgB1B,CAAA"}
|