mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
We now render channel feed URL or channel topics list URL in all elements based on user setting.
36 lines
847 B
Plaintext
36 lines
847 B
Plaintext
/**
|
|
* @flow strict
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
declare export function encodeHashComponent(str: string): string;
|
|
|
|
declare export function decodeHashComponent(str: string): string;
|
|
|
|
declare export function stream_id_to_slug(
|
|
stream_id: number,
|
|
maybe_get_stream_name: (id: number) => ?string,
|
|
): string;
|
|
|
|
declare export function encode_stream_id(
|
|
stream_id: number,
|
|
maybe_get_stream_name: (id: number) => ?string,
|
|
): string;
|
|
|
|
declare export function by_stream_url(
|
|
stream_id: number,
|
|
maybe_get_stream_name: (id: number) => ?string,
|
|
): string;
|
|
|
|
declare export function by_stream_topic_url(
|
|
stream_id: number,
|
|
topic: string,
|
|
maybe_get_stream_name: (id: number) => ?string,
|
|
): string;
|
|
|
|
declare export function by_channel_topic_list_url(
|
|
stream_id: number,
|
|
maybe_get_stream_name: (id: number) => ?string,
|
|
): string;
|