@soltech/fluid-common 0.0.51 → 0.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export declare const enum ContentType {
1
+ export declare enum ContentType {
2
2
  PLAIN_TEXT = "PLAIN_TEXT",
3
3
  HTML = "HTML"
4
4
  }
5
- export declare const enum TraitType {
5
+ export declare enum TraitType {
6
6
  COLOR = "COLOR",
7
7
  IMAGE = "IMAGE",
8
8
  TEXT = "TEXT"
package/lib/index.js CHANGED
@@ -1 +1,11 @@
1
- export {};
1
+ export var ContentType;
2
+ (function (ContentType) {
3
+ ContentType["PLAIN_TEXT"] = "PLAIN_TEXT";
4
+ ContentType["HTML"] = "HTML";
5
+ })(ContentType || (ContentType = {}));
6
+ export var TraitType;
7
+ (function (TraitType) {
8
+ TraitType["COLOR"] = "COLOR";
9
+ TraitType["IMAGE"] = "IMAGE";
10
+ TraitType["TEXT"] = "TEXT";
11
+ })(TraitType || (TraitType = {}));
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.0.51",
3
+ "version": "0.0.53",
4
4
  "description": "Fluid frontend and API commons",
5
5
  "main": "lib/index.js",
6
6
  "types:": "lib/index.d.ts",
7
7
  "scripts": {
8
8
  "build": "tsc",
9
- "prepublishOnly": "npm run build"
9
+ "publish": "npm run build && npm publish && git push"
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
package/src/index.ts CHANGED
@@ -1,10 +1,10 @@
1
1
 
2
- export const enum ContentType {
2
+ export enum ContentType {
3
3
  PLAIN_TEXT = 'PLAIN_TEXT',
4
4
  HTML = 'HTML'
5
5
  }
6
6
 
7
- export const enum TraitType {
7
+ export enum TraitType {
8
8
  COLOR = 'COLOR',
9
9
  IMAGE = 'IMAGE',
10
10
  TEXT = 'TEXT'