twenty-sdk 0.4.5 → 0.4.6-alpha

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.
@@ -1,7 +1,6 @@
1
1
  import "./RatingValues-CT-y6O0b-CsGZSJKO.mjs";
2
- const n = "public", m = "TWENTY_API_KEY", i = "TWENTY_API_URL", s = ".twenty/output";
3
- var e = /* @__PURE__ */ ((t) => (t.Object = "object", t.Field = "field", t.LogicFunction = "logicFunction", t.FrontComponent = "frontComponent", t.Role = "role", t))(e || {}), o = /* @__PURE__ */ ((t) => (t.ProfilePicture = "profile-picture", t.WorkspaceLogo = "workspace-logo", t.Attachment = "attachment", t.PersonPicture = "person-picture", t.File = "file", t.AgentChat = "agent-chat", t.BuiltLogicFunction = "built-logic-function", t.BuiltFrontComponent = "built-front-component", t.PublicAsset = "public-asset", t.Source = "source", t.FilesField = "files-field", t.Dependencies = "dependencies", t))(o || {}), r = /* @__PURE__ */ ((t) => (t.CASCADE = "CASCADE", t.RESTRICT = "RESTRICT", t.SET_NULL = "SET_NULL", t.NO_ACTION = "NO_ACTION", t))(r || {}), l = /* @__PURE__ */ ((t) => (t.MANY_TO_ONE = "MANY_TO_ONE", t.ONE_TO_MANY = "ONE_TO_MANY", t))(l || {});
4
- const p = [
2
+ var e = /* @__PURE__ */ ((t) => (t.ProfilePicture = "profile-picture", t.WorkspaceLogo = "workspace-logo", t.Attachment = "attachment", t.PersonPicture = "person-picture", t.File = "file", t.AgentChat = "agent-chat", t.BuiltLogicFunction = "built-logic-function", t.BuiltFrontComponent = "built-front-component", t.PublicAsset = "public-asset", t.Source = "source", t.FilesField = "files-field", t.Dependencies = "dependencies", t))(e || {}), o = /* @__PURE__ */ ((t) => (t.CASCADE = "CASCADE", t.RESTRICT = "RESTRICT", t.SET_NULL = "SET_NULL", t.NO_ACTION = "NO_ACTION", t))(o || {}), r = /* @__PURE__ */ ((t) => (t.MANY_TO_ONE = "MANY_TO_ONE", t.ONE_TO_MANY = "ONE_TO_MANY", t))(r || {});
3
+ const l = [
5
4
  { tag: "html-div", name: "HtmlDiv", properties: {} },
6
5
  { tag: "html-span", name: "HtmlSpan", properties: {} },
7
6
  { tag: "html-section", name: "HtmlSection", properties: {} },
@@ -137,21 +136,16 @@ const p = [
137
136
  },
138
137
  { tag: "html-br", name: "HtmlBr", properties: {} },
139
138
  { tag: "html-hr", name: "HtmlHr", properties: {} }
140
- ], g = Object.fromEntries(
141
- p.map((t) => [
139
+ ], a = Object.fromEntries(
140
+ l.map((t) => [
142
141
  t.tag.startsWith("html-") ? t.tag.slice(5) : t.tag,
143
142
  t.name
144
143
  ])
145
144
  );
146
145
  export {
147
- p as A,
148
- r as C,
149
- g as H,
150
- o as N,
151
- s as T,
152
- e as _,
153
- l as d,
154
- m as e,
155
- i as n,
156
- n as t
146
+ l as A,
147
+ o as C,
148
+ a as H,
149
+ e as N,
150
+ r as d
157
151
  };
@@ -0,0 +1 @@
1
+ "use strict";require("./RatingValues-CT-y6O0b-D7JSZAMu.js");var e=(t=>(t.ProfilePicture="profile-picture",t.WorkspaceLogo="workspace-logo",t.Attachment="attachment",t.PersonPicture="person-picture",t.File="file",t.AgentChat="agent-chat",t.BuiltLogicFunction="built-logic-function",t.BuiltFrontComponent="built-front-component",t.PublicAsset="public-asset",t.Source="source",t.FilesField="files-field",t.Dependencies="dependencies",t))(e||{}),r=(t=>(t.CASCADE="CASCADE",t.RESTRICT="RESTRICT",t.SET_NULL="SET_NULL",t.NO_ACTION="NO_ACTION",t))(r||{}),o=(t=>(t.MANY_TO_ONE="MANY_TO_ONE",t.ONE_TO_MANY="ONE_TO_MANY",t))(o||{});const l=[{tag:"html-div",name:"HtmlDiv",properties:{}},{tag:"html-span",name:"HtmlSpan",properties:{}},{tag:"html-section",name:"HtmlSection",properties:{}},{tag:"html-article",name:"HtmlArticle",properties:{}},{tag:"html-header",name:"HtmlHeader",properties:{}},{tag:"html-footer",name:"HtmlFooter",properties:{}},{tag:"html-main",name:"HtmlMain",properties:{}},{tag:"html-nav",name:"HtmlNav",properties:{}},{tag:"html-aside",name:"HtmlAside",properties:{}},{tag:"html-p",name:"HtmlP",properties:{}},{tag:"html-h1",name:"HtmlH1",properties:{}},{tag:"html-h2",name:"HtmlH2",properties:{}},{tag:"html-h3",name:"HtmlH3",properties:{}},{tag:"html-h4",name:"HtmlH4",properties:{}},{tag:"html-h5",name:"HtmlH5",properties:{}},{tag:"html-h6",name:"HtmlH6",properties:{}},{tag:"html-strong",name:"HtmlStrong",properties:{}},{tag:"html-em",name:"HtmlEm",properties:{}},{tag:"html-small",name:"HtmlSmall",properties:{}},{tag:"html-code",name:"HtmlCode",properties:{}},{tag:"html-pre",name:"HtmlPre",properties:{}},{tag:"html-blockquote",name:"HtmlBlockquote",properties:{}},{tag:"html-a",name:"HtmlA",properties:{href:{type:"string",optional:!0},target:{type:"string",optional:!0},rel:{type:"string",optional:!0}}},{tag:"html-img",name:"HtmlImg",properties:{src:{type:"string",optional:!0},alt:{type:"string",optional:!0},width:{type:"number",optional:!0},height:{type:"number",optional:!0}}},{tag:"html-ul",name:"HtmlUl",properties:{}},{tag:"html-ol",name:"HtmlOl",properties:{}},{tag:"html-li",name:"HtmlLi",properties:{}},{tag:"html-form",name:"HtmlForm",properties:{action:{type:"string",optional:!0},method:{type:"string",optional:!0}}},{tag:"html-label",name:"HtmlLabel",properties:{htmlFor:{type:"string",optional:!0}}},{tag:"html-input",name:"HtmlInput",properties:{type:{type:"string",optional:!0},name:{type:"string",optional:!0},value:{type:"string",optional:!0},placeholder:{type:"string",optional:!0},disabled:{type:"boolean",optional:!0},checked:{type:"boolean",optional:!0},readOnly:{type:"boolean",optional:!0}}},{tag:"html-textarea",name:"HtmlTextarea",properties:{name:{type:"string",optional:!0},value:{type:"string",optional:!0},placeholder:{type:"string",optional:!0},disabled:{type:"boolean",optional:!0},readOnly:{type:"boolean",optional:!0},rows:{type:"number",optional:!0},cols:{type:"number",optional:!0}}},{tag:"html-select",name:"HtmlSelect",properties:{name:{type:"string",optional:!0},value:{type:"string",optional:!0},disabled:{type:"boolean",optional:!0},multiple:{type:"boolean",optional:!0}}},{tag:"html-option",name:"HtmlOption",properties:{value:{type:"string",optional:!0},disabled:{type:"boolean",optional:!0},selected:{type:"boolean",optional:!0}}},{tag:"html-button",name:"HtmlButton",properties:{type:{type:"string",optional:!0},disabled:{type:"boolean",optional:!0}}},{tag:"html-table",name:"HtmlTable",properties:{}},{tag:"html-thead",name:"HtmlThead",properties:{}},{tag:"html-tbody",name:"HtmlTbody",properties:{}},{tag:"html-tfoot",name:"HtmlTfoot",properties:{}},{tag:"html-tr",name:"HtmlTr",properties:{}},{tag:"html-th",name:"HtmlTh",properties:{colSpan:{type:"number",optional:!0},rowSpan:{type:"number",optional:!0}}},{tag:"html-td",name:"HtmlTd",properties:{colSpan:{type:"number",optional:!0},rowSpan:{type:"number",optional:!0}}},{tag:"html-br",name:"HtmlBr",properties:{}},{tag:"html-hr",name:"HtmlHr",properties:{}}],p=Object.fromEntries(l.map(t=>[t.tag.startsWith("html-")?t.tag.slice(5):t.tag,t.name]));exports.ALLOWED_HTML_ELEMENTS=l;exports.C=r;exports.HTML_TAG_TO_REMOTE_COMPONENT=p;exports.N=e;exports.d=o;