Browse Source

remove unnecessary

WNomunomu 2 years ago
parent
commit
a858c7925f

+ 0 - 5
packages/editor/dist/consts/global-code-mirror-editor-key.d.ts

@@ -1,5 +0,0 @@
-export declare const GlobalCodeMirrorEditorKey: {
-    readonly MAIN: "main";
-    readonly COMMENT: "comment";
-};
-export type GlobalCodeMirrorEditorKey = typeof GlobalCodeMirrorEditorKey[keyof typeof GlobalCodeMirrorEditorKey];

+ 0 - 8
packages/editor/dist/consts/global-code-mirror-editor-key.js

@@ -1,8 +0,0 @@
-const o = {
-  MAIN: "main",
-  COMMENT: "comment"
-};
-export {
-  o as GlobalCodeMirrorEditorKey
-};
-//# sourceMappingURL=global-code-mirror-editor-key.js.map

+ 0 - 1
packages/editor/dist/consts/global-code-mirror-editor-key.js.map

@@ -1 +0,0 @@
-{"version":3,"file":"global-code-mirror-editor-key.js","sources":["../../src/consts/global-code-mirror-editor-key.ts"],"sourcesContent":["export const GlobalCodeMirrorEditorKey = {\n  MAIN: 'main',\n  COMMENT: 'comment',\n} as const;\nexport type GlobalCodeMirrorEditorKey = typeof GlobalCodeMirrorEditorKey[keyof typeof GlobalCodeMirrorEditorKey]\n"],"names":["GlobalCodeMirrorEditorKey"],"mappings":"AAAO,MAAMA,IAA4B;AAAA,EACvC,MAAM;AAAA,EACN,SAAS;AACX;"}

+ 0 - 1
packages/editor/dist/consts/index.d.ts

@@ -1 +0,0 @@
-export * from './global-code-mirror-editor-key';

+ 0 - 5
packages/editor/dist/consts/index.js

@@ -1,5 +0,0 @@
-import { GlobalCodeMirrorEditorKey as e } from "./global-code-mirror-editor-key.js";
-export {
-  e as GlobalCodeMirrorEditorKey
-};
-//# sourceMappingURL=index.js.map

+ 0 - 1
packages/editor/dist/consts/index.js.map

@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}

+ 0 - 17
packages/editor/dist/core/dist/swr/use-swr-static.js

@@ -1,17 +0,0 @@
-import { useSWRConfig as u } from "swr";
-import e from "swr/immutable";
-function s(...i) {
-  var l;
-  const [t, a, o] = i;
-  if ((o == null ? void 0 : o.fetcher) != null)
-    throw new Error("useSWRStatic does not support 'configuration.fetcher'");
-  const { cache: r } = u(), n = e(t, null, {
-    ...o,
-    fallbackData: (o == null ? void 0 : o.fallbackData) ?? (t != null ? (l = r.get(t == null ? void 0 : t.toString())) == null ? void 0 : l.data : void 0)
-  });
-  return t != null && a !== void 0 && n.mutate(a, { optimisticData: a }), n;
-}
-export {
-  s as useSWRStatic
-};
-//# sourceMappingURL=use-swr-static.js.map

+ 0 - 1
packages/editor/dist/core/dist/swr/use-swr-static.js.map

@@ -1 +0,0 @@
-{"version":3,"file":"use-swr-static.js","sources":["../../../../../core/dist/swr/use-swr-static.js"],"sourcesContent":["import { useSWRConfig as c } from \"swr\";\nimport n from \"swr/immutable\";\nfunction f(...l) {\n  var r;\n  const [a, e, t] = l;\n  if ((t == null ? void 0 : t.fetcher) != null)\n    throw new Error(\"useSWRStatic does not support 'configuration.fetcher'\");\n  const { cache: s } = c(), o = n(a, null, {\n    ...t,\n    fallbackData: (t == null ? void 0 : t.fallbackData) ?? (a != null ? (r = s.get(a == null ? void 0 : a.toString())) == null ? void 0 : r.data : void 0)\n  });\n  return a != null && e !== void 0 && o.mutate(e, { optimisticData: e }), o;\n}\nexport {\n  f as useSWRStatic\n};\n//# sourceMappingURL=use-swr-static.js.map\n"],"names":["f","l","r","a","e","t","s","c","o","n"],"mappings":";;AAEA,SAASA,KAAKC,GAAG;AACf,MAAIC;AACJ,QAAM,CAACC,GAAGC,GAAGC,CAAC,IAAIJ;AAClB,OAAKI,KAAK,OAAO,SAASA,EAAE,YAAY;AACtC,UAAM,IAAI,MAAM,uDAAuD;AACzE,QAAM,EAAE,OAAOC,MAAMC,EAAG,GAAEC,IAAIC,EAAEN,GAAG,MAAM;AAAA,IACvC,GAAGE;AAAA,IACH,eAAeA,KAAK,OAAO,SAASA,EAAE,kBAAkBF,KAAK,QAAQD,IAAII,EAAE,IAAIH,KAAK,OAAO,SAASA,EAAE,SAAU,CAAA,MAAM,OAAO,SAASD,EAAE,OAAO;AAAA,EACnJ,CAAG;AACD,SAAOC,KAAK,QAAQC,MAAM,UAAUI,EAAE,OAAOJ,GAAG,EAAE,gBAAgBA,EAAG,CAAA,GAAGI;AAC1E;"}

+ 0 - 17
packages/editor/dist/packages/core/dist/swr/use-swr-static.js

@@ -1,17 +0,0 @@
-import { useSWRConfig as u } from "swr";
-import e from "swr/immutable";
-function s(...i) {
-  var l;
-  const [t, a, o] = i;
-  if ((o == null ? void 0 : o.fetcher) != null)
-    throw new Error("useSWRStatic does not support 'configuration.fetcher'");
-  const { cache: r } = u(), n = e(t, null, {
-    ...o,
-    fallbackData: (o == null ? void 0 : o.fallbackData) ?? (t != null ? (l = r.get(t == null ? void 0 : t.toString())) == null ? void 0 : l.data : void 0)
-  });
-  return t != null && a !== void 0 && n.mutate(a, { optimisticData: a }), n;
-}
-export {
-  s as useSWRStatic
-};
-//# sourceMappingURL=use-swr-static.js.map

+ 0 - 1
packages/editor/dist/packages/core/dist/swr/use-swr-static.js.map

@@ -1 +0,0 @@
-{"version":3,"file":"use-swr-static.js","sources":["../../../../../../core/dist/swr/use-swr-static.js"],"sourcesContent":["import { useSWRConfig as c } from \"swr\";\nimport n from \"swr/immutable\";\nfunction f(...l) {\n  var r;\n  const [a, e, t] = l;\n  if ((t == null ? void 0 : t.fetcher) != null)\n    throw new Error(\"useSWRStatic does not support 'configuration.fetcher'\");\n  const { cache: s } = c(), o = n(a, null, {\n    ...t,\n    fallbackData: (t == null ? void 0 : t.fallbackData) ?? (a != null ? (r = s.get(a == null ? void 0 : a.toString())) == null ? void 0 : r.data : void 0)\n  });\n  return a != null && e !== void 0 && o.mutate(e, { optimisticData: e }), o;\n}\nexport {\n  f as useSWRStatic\n};\n//# sourceMappingURL=use-swr-static.js.map\n"],"names":["f","l","r","a","e","t","s","c","o","n"],"mappings":";;AAEA,SAASA,KAAKC,GAAG;AACf,MAAIC;AACJ,QAAM,CAACC,GAAGC,GAAGC,CAAC,IAAIJ;AAClB,OAAKI,KAAK,OAAO,SAASA,EAAE,YAAY;AACtC,UAAM,IAAI,MAAM,uDAAuD;AACzE,QAAM,EAAE,OAAOC,MAAMC,EAAG,GAAEC,IAAIC,EAAEN,GAAG,MAAM;AAAA,IACvC,GAAGE;AAAA,IACH,eAAeA,KAAK,OAAO,SAASA,EAAE,kBAAkBF,KAAK,QAAQD,IAAII,EAAE,IAAIH,KAAK,OAAO,SAASA,EAAE,SAAU,CAAA,MAAM,OAAO,SAASD,EAAE,OAAO;AAAA,EACnJ,CAAG;AACD,SAAOC,KAAK,QAAQC,MAAM,UAAUI,EAAE,OAAOJ,GAAG,EAAE,gBAAgBA,EAAG,CAAA,GAAGI;AAC1E;"}