mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
Ever since we started bundling the app with webpack, there’s been less and less overlap between our ‘static’ directory (files belonging to the frontend app) and Django’s interpretation of the ‘static’ directory (files served directly to the web). Split the app out to its own ‘web’ directory outside of ‘static’, and remove all the custom collectstatic --ignore rules. This makes it much clearer what’s actually being served to the web, and what’s being bundled by webpack. It also shrinks the release tarball by 3%. Signed-off-by: Anders Kaseorg <anders@zulip.com>
31 lines
709 B
Plaintext
31 lines
709 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;
|