@dev-crew-berlin/enter-js-utils 0.30.0 → 0.30.2

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.
@@ -21,7 +21,7 @@ export default class APIBase {
21
21
  password: args.password,
22
22
  scope: args.deviceName
23
23
  };
24
- const res = await APIBase.fetchResult(`/${args.url}/authenticate`, {
24
+ const res = await APIBase.fetchResult(`${args.url}/authenticate`, {
25
25
  method: 'POST',
26
26
  headers: {
27
27
  'Content-Type': 'application/x-www-form-urlencoded'
@@ -1310,11 +1310,8 @@ export declare type components = {
1310
1310
  value?: string;
1311
1311
  /** Title */
1312
1312
  title?: string;
1313
- /**
1314
- * Isprivate
1315
- * @default false
1316
- */
1317
- isPrivate: boolean;
1313
+ /** Isprivate */
1314
+ isPrivate?: boolean;
1318
1315
  };
1319
1316
  };
1320
1317
  };
@@ -9,5 +9,6 @@ export { FieldGroups } from './field-group';
9
9
  export type { FieldValue } from './field-value';
10
10
  export type { StaticField, TextField, EmailField, NumberField, CheckboxField, SingleCheckboxField, RadioField, SingleRadioField, SelectField, Field, } from './field';
11
11
  export { Instance } from './instance';
12
+ export type { Permission } from './permission';
12
13
  export type { User } from './user';
13
14
  export type { Variable } from './variable';
@@ -0,0 +1,2 @@
1
+ import { components } from '../generated/api-schema';
2
+ export declare type Permission = components['schemas']['PublicUser']['permissions'][string];
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-crew-berlin/enter-js-utils",
3
- "version": "0.30.0",
3
+ "version": "0.30.2",
4
4
  "description": "utils such as vaildation and other helpers to work with data from the enter app",
5
5
  "files": [
6
6
  "dist",