@myrmidon/cadmus-core 0.3.0 → 1.1.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.
package/lib/models.d.ts CHANGED
@@ -259,34 +259,6 @@ export interface PartGroup {
259
259
  label: string;
260
260
  parts: Part[];
261
261
  }
262
- /**
263
- * A document reference, usually including an author and a work.
264
- */
265
- export interface DocReference {
266
- tag?: string;
267
- author: string;
268
- work: string;
269
- location?: string;
270
- note?: string;
271
- }
272
- /**
273
- * A physical dimension value.
274
- */
275
- export interface PhysicalDimension {
276
- tag?: string;
277
- value: number;
278
- unit: string;
279
- }
280
- /**
281
- * A physical 1D, 2D or 3D size.
282
- */
283
- export interface PhysicalSize {
284
- tag?: string;
285
- w?: PhysicalDimension;
286
- h?: PhysicalDimension;
287
- d?: PhysicalDimension;
288
- note?: string;
289
- }
290
262
  /**
291
263
  * Essential information about a user.
292
264
  */
@@ -302,51 +274,3 @@ export interface LoginCredentials {
302
274
  name: string;
303
275
  password: string;
304
276
  }
305
- /**
306
- * Login result.
307
- */
308
- export interface LoginResult {
309
- token: string;
310
- expiration: Date;
311
- }
312
- export interface ExistResult {
313
- entry: string;
314
- isExisting: boolean;
315
- }
316
- export interface RegistrationModel {
317
- email: string;
318
- name: string;
319
- firstName: string;
320
- lastName: string;
321
- password: string;
322
- }
323
- /**
324
- * Authenticated user data.
325
- */
326
- export interface User {
327
- userName: string;
328
- email: string;
329
- roles: string[];
330
- emailConfirmed?: boolean;
331
- firstName: string;
332
- lastName: string;
333
- lockoutEnabled?: boolean;
334
- lockoutEnd?: Date;
335
- }
336
- /**
337
- * User filter parameters.
338
- */
339
- export interface UserFilter {
340
- pageNumber: number;
341
- pageSize: number;
342
- name?: string;
343
- }
344
- /**
345
- * Password change data.
346
- */
347
- export interface PasswordChange {
348
- email: string;
349
- oldPassword: string;
350
- newPassword: string;
351
- confirmPassword: string;
352
- }
@@ -6,5 +6,5 @@ import * as i0 from "@angular/core";
6
6
  export declare class SortPipe implements PipeTransform {
7
7
  transform(value: any[], propName: string): unknown;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SortPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<SortPipe, "sort">;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<SortPipe, "sort", false>;
10
10
  }
package/package.json CHANGED
@@ -1,37 +1,37 @@
1
1
  {
2
2
  "name": "@myrmidon/cadmus-core",
3
- "version": "0.3.0",
4
- "description": "Cadmus - core app components: guards, services, validators, and utility classes.",
3
+ "version": "1.1.0",
4
+ "description": "Cadmus - core.",
5
5
  "keywords": [
6
6
  "Cadmus"
7
7
  ],
8
- "homepage": "https://github.com/vedph/cadmus_shell",
8
+ "homepage": "https://github.com/vedph/cadmus-shell",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/vedph/cadmus_shell"
11
+ "url": "https://github.com/vedph/cadmus-shell"
12
12
  },
13
13
  "author": {
14
14
  "name": "Daniele Fusi"
15
15
  },
16
16
  "peerDependencies": {
17
- "@angular/common": "^13.0.0",
18
- "@angular/core": "^13.0.0"
17
+ "@angular/common": "^14.0.0",
18
+ "@angular/core": "^14.0.0"
19
19
  },
20
20
  "dependencies": {
21
- "tslib": "^2.0.0"
21
+ "tslib": "^2.3.0"
22
22
  },
23
23
  "module": "fesm2015/myrmidon-cadmus-core.mjs",
24
24
  "es2020": "fesm2020/myrmidon-cadmus-core.mjs",
25
25
  "esm2020": "esm2020/myrmidon-cadmus-core.mjs",
26
26
  "fesm2020": "fesm2020/myrmidon-cadmus-core.mjs",
27
27
  "fesm2015": "fesm2015/myrmidon-cadmus-core.mjs",
28
- "typings": "myrmidon-cadmus-core.d.ts",
28
+ "typings": "index.d.ts",
29
29
  "exports": {
30
30
  "./package.json": {
31
31
  "default": "./package.json"
32
32
  },
33
33
  ".": {
34
- "types": "./myrmidon-cadmus-core.d.ts",
34
+ "types": "./index.d.ts",
35
35
  "esm2020": "./esm2020/myrmidon-cadmus-core.mjs",
36
36
  "es2020": "./fesm2020/myrmidon-cadmus-core.mjs",
37
37
  "es2015": "./fesm2015/myrmidon-cadmus-core.mjs",
package/public-api.d.ts CHANGED
@@ -1,14 +1,10 @@
1
- export * from './lib/datation';
2
- export * from './lib/historical-date';
3
1
  export * from './lib/models';
4
2
  export * from './lib/text-range';
5
3
  export * from './lib/token-location';
6
4
  export * from './lib/token-point';
7
5
  export * from './lib/guards/pending-changes.guard';
8
6
  export * from './lib/pipes/sort.pipe';
9
- export * from './lib/services/gravatar.service';
10
7
  export * from './lib/services/library-route.service';
11
8
  export * from './lib/services/text-layer.service';
12
9
  export * from './lib/validators/cadmus-validators';
13
- export * from './lib/validators/password.validator';
14
10
  export * from './lib/cadmus-core.module';