From f9ee6f705b1efc364b53ae08e8f8e74e2391868e Mon Sep 17 00:00:00 2001 From: Aidosmf Date: Tue, 28 Nov 2023 00:14:34 +0600 Subject: [PATCH] feat: export fileConstants (#72) --- .changeset/sixty-turkeys-relate.md | 5 +++++ packages/relottie-stringify/src/constants.ts | 8 ++++++++ packages/relottie-stringify/src/index.ts | 1 + 3 files changed, 14 insertions(+) create mode 100644 .changeset/sixty-turkeys-relate.md create mode 100644 packages/relottie-stringify/src/constants.ts diff --git a/.changeset/sixty-turkeys-relate.md b/.changeset/sixty-turkeys-relate.md new file mode 100644 index 00000000..e0acf358 --- /dev/null +++ b/.changeset/sixty-turkeys-relate.md @@ -0,0 +1,5 @@ +--- +"@lottiefiles/relottie-stringify": patch +--- + +feat: export fileConstants values for vfile messages diff --git a/packages/relottie-stringify/src/constants.ts b/packages/relottie-stringify/src/constants.ts new file mode 100644 index 00000000..0eecc4de --- /dev/null +++ b/packages/relottie-stringify/src/constants.ts @@ -0,0 +1,8 @@ +/** + * Copyright 2023 Design Barn Inc. + */ + +export const fileConstants = { + referenceId: 'relottieStringifyReference', + sourceId: 'relottie-stringify', +} as const; diff --git a/packages/relottie-stringify/src/index.ts b/packages/relottie-stringify/src/index.ts index e32abf45..5a421b3a 100644 --- a/packages/relottie-stringify/src/index.ts +++ b/packages/relottie-stringify/src/index.ts @@ -6,3 +6,4 @@ export { default, type Options } from './unified-relottie-stringify.js'; export type { StringifyFileData } from './stringify.js'; export * from './helpers.js'; export { DEFAULT_OPTIONS } from './options.js'; +export { fileConstants } from './constants.js';