@sprucelabs/spruce-core-schemas 26.0.1 → 27.0.1
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/build/.spruce/schemas/core.schemas.types.d.ts +7 -59
- package/build/.spruce/schemas/spruce/v2020_07_22/person.schema.js +5 -9
- package/build/esm/.spruce/schemas/core.schemas.types.d.ts +7 -59
- package/build/esm/.spruce/schemas/spruce/v2020_07_22/person.schema.js +5 -6
- package/build/esm/index.d.ts +0 -1
- package/build/esm/index.js +0 -1
- package/build/esm/schemas/v2020_07_22/person.builder.d.ts +3 -29
- package/build/esm/schemas/v2020_07_22/person.builder.js +4 -30
- package/build/index.d.ts +0 -1
- package/build/index.js +1 -3
- package/build/schemas/v2020_07_22/person.builder.d.ts +3 -29
- package/build/schemas/v2020_07_22/person.builder.js +4 -30
- package/package.json +4 -4
- package/build/.spruce/schemas/spruce/v2020_07_22/profileImage.schema.d.ts +0 -3
- package/build/.spruce/schemas/spruce/v2020_07_22/profileImage.schema.js +0 -43
- package/build/esm/.spruce/schemas/spruce/v2020_07_22/profileImage.schema.d.ts +0 -3
- package/build/esm/.spruce/schemas/spruce/v2020_07_22/profileImage.schema.js +0 -41
|
@@ -453,58 +453,6 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
453
453
|
}
|
|
454
454
|
type PersonLocationEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.PersonLocationSchema>;
|
|
455
455
|
}
|
|
456
|
-
export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
457
|
-
/** Various sizes that a profile image comes in. */
|
|
458
|
-
interface ProfileImage {
|
|
459
|
-
/** 60x60. */
|
|
460
|
-
'profile60': string;
|
|
461
|
-
/** 150x150. */
|
|
462
|
-
'profile150': string;
|
|
463
|
-
/** 60x60. */
|
|
464
|
-
'profile60@2x': string;
|
|
465
|
-
/** 150x150. */
|
|
466
|
-
'profile150@2x': string;
|
|
467
|
-
}
|
|
468
|
-
interface ProfileImageSchema extends SpruceSchema.Schema {
|
|
469
|
-
id: 'profileImage';
|
|
470
|
-
version: 'v2020_07_22';
|
|
471
|
-
namespace: 'Spruce';
|
|
472
|
-
name: 'Profile Image Sizes';
|
|
473
|
-
moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas';
|
|
474
|
-
description: 'Various sizes that a profile image comes in.';
|
|
475
|
-
fields: {
|
|
476
|
-
/** 60x60. */
|
|
477
|
-
'profile60': {
|
|
478
|
-
label: '60x60';
|
|
479
|
-
type: 'text';
|
|
480
|
-
isRequired: true;
|
|
481
|
-
options: undefined;
|
|
482
|
-
};
|
|
483
|
-
/** 150x150. */
|
|
484
|
-
'profile150': {
|
|
485
|
-
label: '150x150';
|
|
486
|
-
type: 'text';
|
|
487
|
-
isRequired: true;
|
|
488
|
-
options: undefined;
|
|
489
|
-
};
|
|
490
|
-
/** 60x60. */
|
|
491
|
-
'profile60@2x': {
|
|
492
|
-
label: '60x60';
|
|
493
|
-
type: 'text';
|
|
494
|
-
isRequired: true;
|
|
495
|
-
options: undefined;
|
|
496
|
-
};
|
|
497
|
-
/** 150x150. */
|
|
498
|
-
'profile150@2x': {
|
|
499
|
-
label: '150x150';
|
|
500
|
-
type: 'text';
|
|
501
|
-
isRequired: true;
|
|
502
|
-
options: undefined;
|
|
503
|
-
};
|
|
504
|
-
};
|
|
505
|
-
}
|
|
506
|
-
type ProfileImageEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.ProfileImageSchema>;
|
|
507
|
-
}
|
|
508
456
|
export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
509
457
|
/** A human being. */
|
|
510
458
|
interface Person {
|
|
@@ -518,8 +466,8 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
518
466
|
'casualName': string;
|
|
519
467
|
/** Phone. A number that can be texted */
|
|
520
468
|
'phone'?: string | undefined | null;
|
|
521
|
-
/**
|
|
522
|
-
'
|
|
469
|
+
/** Avatar src. */
|
|
470
|
+
'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
|
|
523
471
|
'dateCreated': SpruceSchema.DateTimeFieldValue;
|
|
524
472
|
'dateScrambled'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
525
473
|
}
|
|
@@ -568,12 +516,12 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
568
516
|
hint: 'A number that can be texted';
|
|
569
517
|
options: undefined;
|
|
570
518
|
};
|
|
571
|
-
/**
|
|
572
|
-
'
|
|
573
|
-
label: '
|
|
574
|
-
type: '
|
|
519
|
+
/** Avatar src. */
|
|
520
|
+
'avatar': {
|
|
521
|
+
label: 'Avatar src';
|
|
522
|
+
type: 'image';
|
|
575
523
|
options: {
|
|
576
|
-
|
|
524
|
+
requiredSizes: ["*"];
|
|
577
525
|
};
|
|
578
526
|
};
|
|
579
527
|
/** . */
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
const schema_1 = require("@sprucelabs/schema");
|
|
7
|
-
const profileImage_schema_1 = __importDefault(require("./profileImage.schema"));
|
|
8
4
|
const personSchema = {
|
|
9
5
|
id: 'person',
|
|
10
6
|
version: 'v2020_07_22',
|
|
@@ -50,11 +46,11 @@ const personSchema = {
|
|
|
50
46
|
hint: 'A number that can be texted',
|
|
51
47
|
options: undefined
|
|
52
48
|
},
|
|
53
|
-
/**
|
|
54
|
-
'
|
|
55
|
-
label: '
|
|
56
|
-
type: '
|
|
57
|
-
options: {
|
|
49
|
+
/** Avatar src. */
|
|
50
|
+
'avatar': {
|
|
51
|
+
label: 'Avatar src',
|
|
52
|
+
type: 'image',
|
|
53
|
+
options: { requiredSizes: ["*"], }
|
|
58
54
|
},
|
|
59
55
|
/** . */
|
|
60
56
|
'dateCreated': {
|
|
@@ -453,58 +453,6 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
453
453
|
}
|
|
454
454
|
type PersonLocationEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.PersonLocationSchema>;
|
|
455
455
|
}
|
|
456
|
-
export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
457
|
-
/** Various sizes that a profile image comes in. */
|
|
458
|
-
interface ProfileImage {
|
|
459
|
-
/** 60x60. */
|
|
460
|
-
'profile60': string;
|
|
461
|
-
/** 150x150. */
|
|
462
|
-
'profile150': string;
|
|
463
|
-
/** 60x60. */
|
|
464
|
-
'profile60@2x': string;
|
|
465
|
-
/** 150x150. */
|
|
466
|
-
'profile150@2x': string;
|
|
467
|
-
}
|
|
468
|
-
interface ProfileImageSchema extends SpruceSchema.Schema {
|
|
469
|
-
id: 'profileImage';
|
|
470
|
-
version: 'v2020_07_22';
|
|
471
|
-
namespace: 'Spruce';
|
|
472
|
-
name: 'Profile Image Sizes';
|
|
473
|
-
moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas';
|
|
474
|
-
description: 'Various sizes that a profile image comes in.';
|
|
475
|
-
fields: {
|
|
476
|
-
/** 60x60. */
|
|
477
|
-
'profile60': {
|
|
478
|
-
label: '60x60';
|
|
479
|
-
type: 'text';
|
|
480
|
-
isRequired: true;
|
|
481
|
-
options: undefined;
|
|
482
|
-
};
|
|
483
|
-
/** 150x150. */
|
|
484
|
-
'profile150': {
|
|
485
|
-
label: '150x150';
|
|
486
|
-
type: 'text';
|
|
487
|
-
isRequired: true;
|
|
488
|
-
options: undefined;
|
|
489
|
-
};
|
|
490
|
-
/** 60x60. */
|
|
491
|
-
'profile60@2x': {
|
|
492
|
-
label: '60x60';
|
|
493
|
-
type: 'text';
|
|
494
|
-
isRequired: true;
|
|
495
|
-
options: undefined;
|
|
496
|
-
};
|
|
497
|
-
/** 150x150. */
|
|
498
|
-
'profile150@2x': {
|
|
499
|
-
label: '150x150';
|
|
500
|
-
type: 'text';
|
|
501
|
-
isRequired: true;
|
|
502
|
-
options: undefined;
|
|
503
|
-
};
|
|
504
|
-
};
|
|
505
|
-
}
|
|
506
|
-
type ProfileImageEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.ProfileImageSchema>;
|
|
507
|
-
}
|
|
508
456
|
export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
509
457
|
/** A human being. */
|
|
510
458
|
interface Person {
|
|
@@ -518,8 +466,8 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
518
466
|
'casualName': string;
|
|
519
467
|
/** Phone. A number that can be texted */
|
|
520
468
|
'phone'?: string | undefined | null;
|
|
521
|
-
/**
|
|
522
|
-
'
|
|
469
|
+
/** Avatar src. */
|
|
470
|
+
'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
|
|
523
471
|
'dateCreated': SpruceSchema.DateTimeFieldValue;
|
|
524
472
|
'dateScrambled'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
525
473
|
}
|
|
@@ -568,12 +516,12 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
|
|
|
568
516
|
hint: 'A number that can be texted';
|
|
569
517
|
options: undefined;
|
|
570
518
|
};
|
|
571
|
-
/**
|
|
572
|
-
'
|
|
573
|
-
label: '
|
|
574
|
-
type: '
|
|
519
|
+
/** Avatar src. */
|
|
520
|
+
'avatar': {
|
|
521
|
+
label: 'Avatar src';
|
|
522
|
+
type: 'image';
|
|
575
523
|
options: {
|
|
576
|
-
|
|
524
|
+
requiredSizes: ["*"];
|
|
577
525
|
};
|
|
578
526
|
};
|
|
579
527
|
/** . */
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
-
import profileImageSchema_v2020_07_22 from './profileImage.schema.js';
|
|
3
2
|
const personSchema = {
|
|
4
3
|
id: 'person',
|
|
5
4
|
version: 'v2020_07_22',
|
|
@@ -45,11 +44,11 @@ const personSchema = {
|
|
|
45
44
|
hint: 'A number that can be texted',
|
|
46
45
|
options: undefined
|
|
47
46
|
},
|
|
48
|
-
/**
|
|
49
|
-
'
|
|
50
|
-
label: '
|
|
51
|
-
type: '
|
|
52
|
-
options: {
|
|
47
|
+
/** Avatar src. */
|
|
48
|
+
'avatar': {
|
|
49
|
+
label: 'Avatar src',
|
|
50
|
+
type: 'image',
|
|
51
|
+
options: { requiredSizes: ["*"], }
|
|
53
52
|
},
|
|
54
53
|
/** . */
|
|
55
54
|
'dateCreated': {
|
package/build/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from "./.spruce/schemas/core.schemas.types";
|
|
2
2
|
export { default as personSchema } from "./.spruce/schemas/spruce/v2020_07_22/person.schema";
|
|
3
|
-
export { default as profileImageSchema } from "./.spruce/schemas/spruce/v2020_07_22/profileImage.schema";
|
|
4
3
|
export { default as skillSchema } from "./.spruce/schemas/spruce/v2020_07_22/skill.schema";
|
|
5
4
|
export { default as skillCreatorSchema } from "./.spruce/schemas/spruce/v2020_07_22/skillCreator.schema";
|
|
6
5
|
export { default as locationSchema } from "./.spruce/schemas/spruce/v2020_07_22/location.schema";
|
package/build/esm/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from './.spruce/schemas/core.schemas.types.js';
|
|
2
2
|
export { default as personSchema } from './.spruce/schemas/spruce/v2020_07_22/person.schema.js';
|
|
3
|
-
export { default as profileImageSchema } from './.spruce/schemas/spruce/v2020_07_22/profileImage.schema.js';
|
|
4
3
|
export { default as skillSchema } from './.spruce/schemas/spruce/v2020_07_22/skill.schema.js';
|
|
5
4
|
export { default as skillCreatorSchema } from './.spruce/schemas/spruce/v2020_07_22/skillCreator.schema.js';
|
|
6
5
|
export { default as locationSchema } from './.spruce/schemas/spruce/v2020_07_22/location.schema.js';
|
|
@@ -30,37 +30,11 @@ declare const _default: {
|
|
|
30
30
|
hint: string;
|
|
31
31
|
isPrivate: true;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
avatar: {
|
|
34
34
|
label: string;
|
|
35
|
-
type: "
|
|
35
|
+
type: "image";
|
|
36
36
|
options: {
|
|
37
|
-
|
|
38
|
-
id: string;
|
|
39
|
-
name: string;
|
|
40
|
-
description: string;
|
|
41
|
-
fields: {
|
|
42
|
-
profile60: {
|
|
43
|
-
label: string;
|
|
44
|
-
type: "text";
|
|
45
|
-
isRequired: true;
|
|
46
|
-
};
|
|
47
|
-
profile150: {
|
|
48
|
-
label: string;
|
|
49
|
-
type: "text";
|
|
50
|
-
isRequired: true;
|
|
51
|
-
};
|
|
52
|
-
'profile60@2x': {
|
|
53
|
-
label: string;
|
|
54
|
-
type: "text";
|
|
55
|
-
isRequired: true;
|
|
56
|
-
};
|
|
57
|
-
'profile150@2x': {
|
|
58
|
-
label: string;
|
|
59
|
-
type: "text";
|
|
60
|
-
isRequired: true;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
37
|
+
requiredSizes: "*"[];
|
|
64
38
|
};
|
|
65
39
|
};
|
|
66
40
|
dateCreated: {
|
|
@@ -31,37 +31,11 @@ export default buildSchema({
|
|
|
31
31
|
hint: 'A number that can be texted',
|
|
32
32
|
isPrivate: true,
|
|
33
33
|
},
|
|
34
|
-
|
|
35
|
-
label: '
|
|
36
|
-
type: '
|
|
34
|
+
avatar: {
|
|
35
|
+
label: 'Avatar src',
|
|
36
|
+
type: 'image',
|
|
37
37
|
options: {
|
|
38
|
-
|
|
39
|
-
id: 'profileImage',
|
|
40
|
-
name: 'Profile Image Sizes',
|
|
41
|
-
description: 'Various sizes that a profile image comes in.',
|
|
42
|
-
fields: {
|
|
43
|
-
profile60: {
|
|
44
|
-
label: '60x60',
|
|
45
|
-
type: 'text',
|
|
46
|
-
isRequired: true,
|
|
47
|
-
},
|
|
48
|
-
profile150: {
|
|
49
|
-
label: '150x150',
|
|
50
|
-
type: 'text',
|
|
51
|
-
isRequired: true,
|
|
52
|
-
},
|
|
53
|
-
'profile60@2x': {
|
|
54
|
-
label: '60x60',
|
|
55
|
-
type: 'text',
|
|
56
|
-
isRequired: true,
|
|
57
|
-
},
|
|
58
|
-
'profile150@2x': {
|
|
59
|
-
label: '150x150',
|
|
60
|
-
type: 'text',
|
|
61
|
-
isRequired: true,
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
},
|
|
38
|
+
requiredSizes: ['*'],
|
|
65
39
|
},
|
|
66
40
|
},
|
|
67
41
|
dateCreated: {
|
package/build/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from "./.spruce/schemas/core.schemas.types";
|
|
2
2
|
export { default as personSchema } from "./.spruce/schemas/spruce/v2020_07_22/person.schema";
|
|
3
|
-
export { default as profileImageSchema } from "./.spruce/schemas/spruce/v2020_07_22/profileImage.schema";
|
|
4
3
|
export { default as skillSchema } from "./.spruce/schemas/spruce/v2020_07_22/skill.schema";
|
|
5
4
|
export { default as skillCreatorSchema } from "./.spruce/schemas/spruce/v2020_07_22/skillCreator.schema";
|
|
6
5
|
export { default as locationSchema } from "./.spruce/schemas/spruce/v2020_07_22/location.schema";
|
package/build/index.js
CHANGED
|
@@ -17,12 +17,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.fullMessageChoicesSchema = exports.sendMessageSchema = exports.messageTargetSchema = exports.messageSourceSchema = exports.messageSchema = exports.roleSchema = exports.personLocationSchema = exports.personOrganizationSchema = exports.organizationSchema = exports.locationSchema = exports.skillCreatorSchema = exports.skillSchema = exports.
|
|
20
|
+
exports.fullMessageChoicesSchema = exports.sendMessageSchema = exports.messageTargetSchema = exports.messageSourceSchema = exports.messageSchema = exports.roleSchema = exports.personLocationSchema = exports.personOrganizationSchema = exports.organizationSchema = exports.locationSchema = exports.skillCreatorSchema = exports.skillSchema = exports.personSchema = void 0;
|
|
21
21
|
__exportStar(require("./.spruce/schemas/core.schemas.types"), exports);
|
|
22
22
|
var person_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/person.schema");
|
|
23
23
|
Object.defineProperty(exports, "personSchema", { enumerable: true, get: function () { return __importDefault(person_schema_1).default; } });
|
|
24
|
-
var profileImage_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/profileImage.schema");
|
|
25
|
-
Object.defineProperty(exports, "profileImageSchema", { enumerable: true, get: function () { return __importDefault(profileImage_schema_1).default; } });
|
|
26
24
|
var skill_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/skill.schema");
|
|
27
25
|
Object.defineProperty(exports, "skillSchema", { enumerable: true, get: function () { return __importDefault(skill_schema_1).default; } });
|
|
28
26
|
var skillCreator_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/skillCreator.schema");
|
|
@@ -30,37 +30,11 @@ declare const _default: {
|
|
|
30
30
|
hint: string;
|
|
31
31
|
isPrivate: true;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
avatar: {
|
|
34
34
|
label: string;
|
|
35
|
-
type: "
|
|
35
|
+
type: "image";
|
|
36
36
|
options: {
|
|
37
|
-
|
|
38
|
-
id: string;
|
|
39
|
-
name: string;
|
|
40
|
-
description: string;
|
|
41
|
-
fields: {
|
|
42
|
-
profile60: {
|
|
43
|
-
label: string;
|
|
44
|
-
type: "text";
|
|
45
|
-
isRequired: true;
|
|
46
|
-
};
|
|
47
|
-
profile150: {
|
|
48
|
-
label: string;
|
|
49
|
-
type: "text";
|
|
50
|
-
isRequired: true;
|
|
51
|
-
};
|
|
52
|
-
'profile60@2x': {
|
|
53
|
-
label: string;
|
|
54
|
-
type: "text";
|
|
55
|
-
isRequired: true;
|
|
56
|
-
};
|
|
57
|
-
'profile150@2x': {
|
|
58
|
-
label: string;
|
|
59
|
-
type: "text";
|
|
60
|
-
isRequired: true;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
37
|
+
requiredSizes: "*"[];
|
|
64
38
|
};
|
|
65
39
|
};
|
|
66
40
|
dateCreated: {
|
|
@@ -33,37 +33,11 @@ exports.default = (0, schema_1.buildSchema)({
|
|
|
33
33
|
hint: 'A number that can be texted',
|
|
34
34
|
isPrivate: true,
|
|
35
35
|
},
|
|
36
|
-
|
|
37
|
-
label: '
|
|
38
|
-
type: '
|
|
36
|
+
avatar: {
|
|
37
|
+
label: 'Avatar src',
|
|
38
|
+
type: 'image',
|
|
39
39
|
options: {
|
|
40
|
-
|
|
41
|
-
id: 'profileImage',
|
|
42
|
-
name: 'Profile Image Sizes',
|
|
43
|
-
description: 'Various sizes that a profile image comes in.',
|
|
44
|
-
fields: {
|
|
45
|
-
profile60: {
|
|
46
|
-
label: '60x60',
|
|
47
|
-
type: 'text',
|
|
48
|
-
isRequired: true,
|
|
49
|
-
},
|
|
50
|
-
profile150: {
|
|
51
|
-
label: '150x150',
|
|
52
|
-
type: 'text',
|
|
53
|
-
isRequired: true,
|
|
54
|
-
},
|
|
55
|
-
'profile60@2x': {
|
|
56
|
-
label: '60x60',
|
|
57
|
-
type: 'text',
|
|
58
|
-
isRequired: true,
|
|
59
|
-
},
|
|
60
|
-
'profile150@2x': {
|
|
61
|
-
label: '150x150',
|
|
62
|
-
type: 'text',
|
|
63
|
-
isRequired: true,
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
},
|
|
40
|
+
requiredSizes: ['*'],
|
|
67
41
|
},
|
|
68
42
|
},
|
|
69
43
|
dateCreated: {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "27.0.1",
|
|
7
7
|
"files": [
|
|
8
8
|
"build/**/*",
|
|
9
9
|
"tsconfig.json"
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"watch.rebuild": "yarn clean.all && yarn && yarn watch.build.dev"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@sprucelabs/schema": "^28.0.
|
|
66
|
+
"@sprucelabs/schema": "^28.0.5"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@sprucelabs/esm-postbuild": "^1.0.
|
|
70
|
-
"@sprucelabs/resolve-path-aliases": "^1.1.
|
|
69
|
+
"@sprucelabs/esm-postbuild": "^1.0.463",
|
|
70
|
+
"@sprucelabs/resolve-path-aliases": "^1.1.40",
|
|
71
71
|
"@sprucelabs/semantic-release": "^4.0.8",
|
|
72
72
|
"@types/node": "^17.0.31",
|
|
73
73
|
"chokidar-cli": "^3.0.0",
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schema_1 = require("@sprucelabs/schema");
|
|
4
|
-
const profileImageSchema = {
|
|
5
|
-
id: 'profileImage',
|
|
6
|
-
version: 'v2020_07_22',
|
|
7
|
-
namespace: 'Spruce',
|
|
8
|
-
name: 'Profile Image Sizes',
|
|
9
|
-
moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas',
|
|
10
|
-
description: 'Various sizes that a profile image comes in.',
|
|
11
|
-
fields: {
|
|
12
|
-
/** 60x60. */
|
|
13
|
-
'profile60': {
|
|
14
|
-
label: '60x60',
|
|
15
|
-
type: 'text',
|
|
16
|
-
isRequired: true,
|
|
17
|
-
options: undefined
|
|
18
|
-
},
|
|
19
|
-
/** 150x150. */
|
|
20
|
-
'profile150': {
|
|
21
|
-
label: '150x150',
|
|
22
|
-
type: 'text',
|
|
23
|
-
isRequired: true,
|
|
24
|
-
options: undefined
|
|
25
|
-
},
|
|
26
|
-
/** 60x60. */
|
|
27
|
-
'profile60@2x': {
|
|
28
|
-
label: '60x60',
|
|
29
|
-
type: 'text',
|
|
30
|
-
isRequired: true,
|
|
31
|
-
options: undefined
|
|
32
|
-
},
|
|
33
|
-
/** 150x150. */
|
|
34
|
-
'profile150@2x': {
|
|
35
|
-
label: '150x150',
|
|
36
|
-
type: 'text',
|
|
37
|
-
isRequired: true,
|
|
38
|
-
options: undefined
|
|
39
|
-
},
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
schema_1.SchemaRegistry.getInstance().trackSchema(profileImageSchema);
|
|
43
|
-
exports.default = profileImageSchema;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
-
const profileImageSchema = {
|
|
3
|
-
id: 'profileImage',
|
|
4
|
-
version: 'v2020_07_22',
|
|
5
|
-
namespace: 'Spruce',
|
|
6
|
-
name: 'Profile Image Sizes',
|
|
7
|
-
moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas',
|
|
8
|
-
description: 'Various sizes that a profile image comes in.',
|
|
9
|
-
fields: {
|
|
10
|
-
/** 60x60. */
|
|
11
|
-
'profile60': {
|
|
12
|
-
label: '60x60',
|
|
13
|
-
type: 'text',
|
|
14
|
-
isRequired: true,
|
|
15
|
-
options: undefined
|
|
16
|
-
},
|
|
17
|
-
/** 150x150. */
|
|
18
|
-
'profile150': {
|
|
19
|
-
label: '150x150',
|
|
20
|
-
type: 'text',
|
|
21
|
-
isRequired: true,
|
|
22
|
-
options: undefined
|
|
23
|
-
},
|
|
24
|
-
/** 60x60. */
|
|
25
|
-
'profile60@2x': {
|
|
26
|
-
label: '60x60',
|
|
27
|
-
type: 'text',
|
|
28
|
-
isRequired: true,
|
|
29
|
-
options: undefined
|
|
30
|
-
},
|
|
31
|
-
/** 150x150. */
|
|
32
|
-
'profile150@2x': {
|
|
33
|
-
label: '150x150',
|
|
34
|
-
type: 'text',
|
|
35
|
-
isRequired: true,
|
|
36
|
-
options: undefined
|
|
37
|
-
},
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
SchemaRegistry.getInstance().trackSchema(profileImageSchema);
|
|
41
|
-
export default profileImageSchema;
|