@scm-manager/ui-types 2.27.3-20211117-144126 → 2.27.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-manager/ui-types",
3
- "version": "2.27.3-20211117-144126",
3
+ "version": "2.27.4",
4
4
  "description": "Typescript types for SCM-Manager related Objects",
5
5
  "main": "src/index.ts",
6
6
  "files": [
package/src/Branches.ts CHANGED
@@ -22,8 +22,7 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- import { Person } from ".";
26
- import { Embedded, HalRepresentation, HalRepresentationWithEmbedded, Links } from "./hal";
25
+ import { Embedded, HalRepresentationWithEmbedded, Links } from "./hal";
27
26
 
28
27
  type EmbeddedBranches = {
29
28
  branches: Branch[];
@@ -36,23 +35,10 @@ export type Branch = {
36
35
  revision: string;
37
36
  defaultBranch?: boolean;
38
37
  lastCommitDate?: string;
39
- lastCommitter?: Person;
40
38
  stale?: boolean;
41
39
  _links: Links;
42
40
  };
43
41
 
44
- export type BranchDetails = HalRepresentation & {
45
- branchName: string;
46
- changesetsAhead?: number;
47
- changesetsBehind?: number;
48
- };
49
-
50
- type EmbeddedBranchDetails = {
51
- branchDetails: BranchDetails[];
52
- } & Embedded;
53
-
54
- export type BranchDetailsCollection = HalRepresentationWithEmbedded<EmbeddedBranchDetails>;
55
-
56
42
  export type BranchCreation = {
57
43
  name: string;
58
44
  parent: string;
package/src/Config.ts CHANGED
@@ -43,7 +43,6 @@ export type Config = HalRepresentation & {
43
43
  proxyExcludes: string[];
44
44
  skipFailedAuthenticators: boolean;
45
45
  pluginUrl: string;
46
- pluginAuthUrl: string;
47
46
  loginAttemptLimitTimeout: number;
48
47
  enabledXsrfProtection: boolean;
49
48
  enabledUserConverter: boolean;
package/src/Diff.ts CHANGED
@@ -43,7 +43,6 @@ export type FileDiff = {
43
43
  oldRevision?: string;
44
44
  type: FileChangeType;
45
45
  language?: string;
46
- syntaxModes?: { [mode: string]: string };
47
46
  // TODO does this property exists?
48
47
  isBinary?: boolean;
49
48
  _links?: Links;
package/src/Plugin.ts CHANGED
@@ -59,10 +59,3 @@ export type PendingPlugins = HalRepresentationWithEmbedded<{
59
59
  update: Plugin[];
60
60
  uninstall: Plugin[];
61
61
  }>;
62
-
63
- export type PluginCenterAuthenticationInfo = HalRepresentation & {
64
- principal?: string;
65
- pluginCenterSubject?: string;
66
- date?: string;
67
- default: boolean;
68
- };
@@ -22,7 +22,7 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- import { HalRepresentation, Links, PagedCollection } from "./hal";
25
+ import { PagedCollection, Links, HalRepresentation } from "./hal";
26
26
 
27
27
  export type NamespaceAndName = {
28
28
  namespace: string;
@@ -53,7 +53,7 @@ export type Repository = HalRepresentation &
53
53
  };
54
54
 
55
55
  export type RepositoryCreation = RepositoryBase & {
56
- contextEntries?: { [key: string]: object | undefined };
56
+ contextEntries: { [key: string]: any };
57
57
  };
58
58
 
59
59
  export type RepositoryUrlImport = RepositoryCreation & {
package/src/Search.ts CHANGED
@@ -33,8 +33,6 @@ export type ValueHitField = {
33
33
  export type HighlightedHitField = {
34
34
  highlighted: true;
35
35
  fragments: string[];
36
- matchesContentStart: boolean;
37
- matchesContentEnd: boolean;
38
36
  };
39
37
 
40
38
  export type HitField = ValueHitField | HighlightedHitField;
package/src/index.ts CHANGED
@@ -71,4 +71,3 @@ export * from "./ApiKeys";
71
71
  export * from "./PublicKeys";
72
72
  export * from "./GlobalPermissions";
73
73
  export * from "./Search";
74
- export * from "./General";
package/src/General.ts DELETED
@@ -1,32 +0,0 @@
1
- /*
2
- * MIT License
3
- *
4
- * Copyright (c) 2020-present Cloudogu GmbH and Contributors
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
25
- import { Config } from "./Config";
26
- import { HalRepresentation } from "./hal";
27
-
28
- export type ConfigChangeHandler = <Name extends Exclude<keyof Config, keyof HalRepresentation>>(
29
- isValid: boolean,
30
- changedValue: Config[Name],
31
- name: Name
32
- ) => void;