@silexlabs/silex 3.6.0-canary.1 → 3.6.0

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.
@@ -9,6 +9,7 @@ export declare enum ApiRoute {
9
9
  WEBSITE_WRITE = "/api/website/",
10
10
  WEBSITE_DELETE = "/api/website/",
11
11
  WEBSITE_DUPLICATE = "/api/website/duplicate",
12
+ WEBSITE_FORK = "/api/website/fork",
12
13
  WEBSITE_CREATE = "/api/website/",
13
14
  WEBSITE_LIST = "/api/website/",
14
15
  WEBSITE_ASSETS_READ = "/api/website/assets",
@@ -59,6 +60,16 @@ export declare function websiteDuplicate({ websiteId, connectorId }: {
59
60
  websiteId: WebsiteId;
60
61
  connectorId?: ConnectorId;
61
62
  }): Promise<void>;
63
+ /**
64
+ * Fork an external/public GitLab project
65
+ * @param gitlabUrl - The project path in the "username/repo" format (URLs are not accepted)
66
+ * @param connectorId - Optional connector ID (must be a GitLab connector)
67
+ * @returns The new website ID
68
+ */
69
+ export declare function websiteFork({ gitlabUrl, connectorId }: {
70
+ gitlabUrl: string;
71
+ connectorId?: ConnectorId;
72
+ }): Promise<WebsiteId>;
62
73
  export declare function websiteCreate({ websiteId, data, connectorId }: {
63
74
  websiteId: WebsiteId;
64
75
  data: WebsiteMetaFileContent;
@@ -25,6 +25,7 @@ export declare const API_WEBSITE_WRITE = "/";
25
25
  export declare const API_WEBSITE_CREATE = "/";
26
26
  export declare const API_WEBSITE_DELETE = "/";
27
27
  export declare const API_WEBSITE_DUPLICATE = "/duplicate";
28
+ export declare const API_WEBSITE_FORK = "/fork";
28
29
  export declare const API_WEBSITE_LIST = "/";
29
30
  export declare const API_WEBSITE_ASSET_READ = "/assets";
30
31
  export declare const API_WEBSITE_ASSETS_WRITE = "/assets";
@@ -4308,7 +4308,6 @@ textarea:focus {
4308
4308
  }
4309
4309
  .settings-dialog .settings-body {
4310
4310
  flex: 1;
4311
- overflow: auto;
4312
4311
  padding: 0;
4313
4312
  }
4314
4313
  .settings-dialog .settings-body .silex-form {
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html lang="en" translate="no"><head><title>Silex</title><meta name="description" content="This is a public instance of Silex website builder. Build websites in the browser"><link rel="shortcut icon" href="assets/favicon.png?275997"><style>body {
1
+ <!DOCTYPE html><html lang="en" translate="no"><head><title>Silex</title><meta name="description" content="This is a public instance of Silex website builder. Build websites in the browser"><link rel="shortcut icon" href="assets/favicon.png?442241"><style>body {
2
2
  background-color: #444444;
3
3
  font-family: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;
4
4
  }
@@ -7,5 +7,5 @@
7
7
  transition: opacity 0.25s 0.25s ease-in-out;
8
8
  }
9
9
  </style></head><body class="silex-loading"><div class="silex-loader silex-dialog" role="status" aria-live="polite" aria-busy="true">Loading
10
- </div><link rel="stylesheet" type="text/css" href="css/admin.css?155766"><main class="silex-workspace"><div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div></main><script src="js/main.js?155766"></script><script>silex.start()
10
+ </div><link rel="stylesheet" type="text/css" href="css/admin.css?333480"><main class="silex-workspace"><div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div></main><script src="js/main.js?333480"></script><script>silex.start()
11
11
  // From here silex.config is available and Silex is getting started</script></body></html>