|
35 | 35 | <div *ngIf="storageTypeId === 'HttpData'"> |
36 | 36 | <mat-form-field class="form-field" color="accent"> |
37 | 37 | <mat-label>Name</mat-label> |
38 | | - <input [(ngModel)]="httpDataName" matInput> |
| 38 | + <input [(ngModel)]="httpDataAddress.name" matInput> |
39 | 39 | </mat-form-field> |
40 | 40 |
|
41 | 41 | <mat-form-field class="form-field" color="accent"> |
42 | 42 | <mat-label>Path</mat-label> |
43 | | - <input [(ngModel)]="path" matInput> |
| 43 | + <input [(ngModel)]="httpDataAddress.path" matInput> |
44 | 44 | </mat-form-field> |
45 | 45 |
|
46 | 46 | <mat-form-field class="form-field" color="accent"> |
47 | 47 | <mat-label>Base URL</mat-label> |
48 | | - <input [(ngModel)]="baseUrl" matInput> |
| 48 | + <input [(ngModel)]="httpDataAddress.baseUrl" matInput> |
49 | 49 | </mat-form-field> |
50 | 50 |
|
51 | 51 | <mat-form-field class="form-field" color="accent"> |
52 | 52 | <mat-label>Auth Key</mat-label> |
53 | | - <input [(ngModel)]="authKey" matInput> |
| 53 | + <input [(ngModel)]="httpDataAddress.authKey" matInput> |
54 | 54 | </mat-form-field> |
55 | 55 |
|
56 | 56 | <mat-form-field class="form-field" color="accent"> |
57 | 57 | <mat-label>Auth Code</mat-label> |
58 | | - <input [(ngModel)]="authCode" matInput> |
| 58 | + <input [(ngModel)]="httpDataAddress.authCode" matInput> |
59 | 59 | </mat-form-field> |
60 | 60 |
|
61 | 61 | <mat-form-field class="form-field" color="accent"> |
62 | 62 | <mat-label>Secret Name</mat-label> |
63 | | - <input [(ngModel)]="secretName" matInput> |
| 63 | + <input [(ngModel)]="httpDataAddress.secretName" matInput> |
64 | 64 | </mat-form-field> |
65 | 65 |
|
66 | 66 | <mat-form-field class="form-field" color="accent"> |
67 | 67 | <mat-label>Proxy Body</mat-label> |
68 | | - <input [(ngModel)]="proxyBody" matInput> |
| 68 | + <input [(ngModel)]="httpDataAddress.proxyBody" matInput> |
69 | 69 | </mat-form-field> |
70 | 70 |
|
71 | 71 | <mat-form-field class="form-field" color="accent"> |
72 | 72 | <mat-label>Proxy Path</mat-label> |
73 | | - <input [(ngModel)]="proxyPath" matInput> |
| 73 | + <input [(ngModel)]="httpDataAddress.proxyPath" matInput> |
74 | 74 | </mat-form-field> |
75 | 75 |
|
76 | 76 | <mat-form-field class="form-field" color="accent"> |
77 | 77 | <mat-label>Proxy Query Params</mat-label> |
78 | | - <input [(ngModel)]="proxyQueryParams" matInput> |
| 78 | + <input [(ngModel)]="httpDataAddress.proxyQueryParams" matInput> |
79 | 79 | </mat-form-field> |
80 | 80 |
|
81 | 81 | <mat-form-field class="form-field" color="accent"> |
82 | 82 | <mat-label>Proxy Method</mat-label> |
83 | | - <input [(ngModel)]="proxyMethod" matInput> |
| 83 | + <input [(ngModel)]="httpDataAddress.roxyMethod" matInput> |
84 | 84 | </mat-form-field> |
85 | 85 |
|
86 | 86 | <mat-form-field class="form-field" color="accent"> |
87 | 87 | <mat-label>Content Type</mat-label> |
88 | | - <input [(ngModel)]="contentType" matInput> |
| 88 | + <input [(ngModel)]="httpDataAddress.contentType" matInput> |
89 | 89 | </mat-form-field> |
90 | 90 | </div> |
91 | 91 |
|
92 | 92 | <div *ngIf="storageTypeId === 'AmazonS3'"> |
93 | 93 | <mat-form-field class="form-field" color="accent"> |
94 | 94 | <mat-label>Region</mat-label> |
95 | | - <input required [(ngModel)]="region" matInput> |
| 95 | + <input required [(ngModel)]="amazonS3DataAddress.region" matInput> |
96 | 96 | </mat-form-field> |
97 | 97 |
|
98 | 98 | <mat-form-field class="form-field" color="accent"> |
99 | 99 | <mat-label>Bucket Name</mat-label> |
100 | | - <input [(ngModel)]="bucketName" matInput> |
| 100 | + <input [(ngModel)]="amazonS3DataAddress.bucketName" matInput> |
101 | 101 | </mat-form-field> |
102 | 102 |
|
103 | 103 | <mat-form-field class="form-field" color="accent"> |
104 | 104 | <mat-label>Key Prefix</mat-label> |
105 | | - <input [(ngModel)]="keyPrefix" matInput> |
| 105 | + <input [(ngModel)]="amazonS3DataAddress.keyPrefix" matInput> |
106 | 106 | </mat-form-field> |
107 | 107 |
|
108 | 108 | <mat-form-field class="form-field" color="accent"> |
109 | 109 | <mat-label>Folder Name</mat-label> |
110 | | - <input [(ngModel)]="folderName" matInput> |
| 110 | + <input [(ngModel)]="amazonS3DataAddress.folderName" matInput> |
111 | 111 | </mat-form-field> |
112 | 112 |
|
113 | 113 | <mat-form-field class="form-field" color="accent"> |
114 | 114 | <mat-label>Access Key Id</mat-label> |
115 | | - <input [(ngModel)]="accessKeyId" matInput> |
| 115 | + <input [(ngModel)]="amazonS3DataAddress.accessKeyId" matInput> |
116 | 116 | </mat-form-field> |
117 | 117 |
|
118 | 118 | <mat-form-field class="form-field" color="accent"> |
119 | 119 | <mat-label>Secret Access Key</mat-label> |
120 | | - <input [(ngModel)]="secretAccessKey" matInput> |
| 120 | + <input [(ngModel)]="amazonS3DataAddress.secretAccessKey" matInput> |
121 | 121 | </mat-form-field> |
122 | 122 |
|
123 | 123 | <mat-form-field class="form-field" color="accent"> |
124 | 124 | <mat-label>Endpoint Override</mat-label> |
125 | | - <input [(ngModel)]="endpointOverride" matInput> |
| 125 | + <input [(ngModel)]="amazonS3DataAddress.endpointOverride" matInput> |
126 | 126 | </mat-form-field> |
127 | 127 | </div> |
128 | 128 |
|
|
0 commit comments