chore: tag deprecated files (#2936)

This commit is contained in:
Alex Yang 2023-06-30 12:01:14 +08:00 committed by GitHub
parent 271ad57160
commit 53d90a11de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 36 additions and 0 deletions

View File

@ -1,3 +1,6 @@
/**
* @deprecated Remove this file after we migrate to the new cloud.
*/
import { z } from 'zod';
export interface User {

View File

@ -1,3 +1,6 @@
/**
* @deprecated Remove this file after we migrate to the new cloud.
*/
import { MessageCode, Messages } from '@affine/env/constant';
import type {
AcceptInvitingParams,

View File

@ -1,3 +1,6 @@
/**
* @deprecated Remove this file after we migrate to the new cloud.
*/
export function createStatusApis(prefixUrl = '/') {
return {
healthz: async (): Promise<boolean> => {

View File

@ -1,3 +1,6 @@
/**
* @deprecated Remove this file after we migrate to the new cloud.
*/
import { atomWithStorage } from 'jotai/utils';
import type { AccessTokenMessage } from '../affine/login';

View File

@ -1,3 +1,6 @@
/**
* @deprecated Remove this file after we migrate to the new cloud.
*/
import { DebugLogger } from '@affine/debug';
import { WorkspaceFlavour } from '@affine/env/workspace';
import { assertExists } from '@blocksuite/global/utils';

View File

@ -1,3 +1,6 @@
/**
* @deprecated Remove this file after we migrate to the new cloud.
*/
import * as decoding from 'lib0/decoding';
import * as encoding from 'lib0/encoding';
import * as awarenessProtocol from 'y-protocols/awareness';

View File

@ -1,3 +1,6 @@
/**
* @deprecated Remove this file after we migrate to the new cloud.
*/
import { isBrowser } from '@affine/env/constant';
import * as encoding from 'lib0/encoding';
import * as math from 'lib0/math';

View File

@ -1,3 +1,6 @@
/**
* @deprecated Remove this file after we migrate to the new cloud.
*/
import * as decoding from 'lib0/decoding';
import * as encoding from 'lib0/encoding';

View File

@ -1,3 +1,6 @@
/**
* @deprecated Remove this file after we migrate to the new cloud.
*/
import { DebugLogger } from '@affine/debug';
import { assertExists } from '@blocksuite/global/utils';
import { Slot } from '@blocksuite/store';

View File

@ -1,3 +1,6 @@
/**
* @deprecated Remove this file after we migrate to the new cloud.
*/
import { setupGlobal } from '@affine/env/global';
import { rootStore } from '@toeverything/plugin-infra/manager';

View File

@ -1,3 +1,6 @@
/**
* @deprecated Remove this file after we migrate to the new cloud.
*/
import { DebugLogger } from '@affine/debug';
import type { WorkspaceCRUD } from '@affine/env/workspace';
import type { WorkspaceFlavour } from '@affine/env/workspace';

View File

@ -1,3 +1,6 @@
/**
* @deprecated Remove this file after we migrate to the new cloud.
*/
import { DebugLogger } from '@affine/debug';
import type { AffineDownloadProvider } from '@affine/env/workspace';
import type { DocProviderCreator } from '@blocksuite/store';