@rolatech/angular-property 19.0.0-beta.17 → 19.1.0-beta.3

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.
@@ -1,102 +0,0 @@
1
- export interface Property {
2
- id: string;
3
- name: string;
4
- description: string;
5
- media: PropertyMedia[];
6
- status: PropertyStatus | string;
7
- type: PropertyType | string;
8
- scope: PropertyScope | string;
9
- tags: PropertyTag[];
10
- sections: PropertySection[];
11
- options: PropertyOption[];
12
- variants?: PropertyVariant[];
13
- price: number;
14
- deposit: number;
15
- priceType: PropertyPriceType;
16
- userId: string;
17
- createdAt: string;
18
- updatedAt: string;
19
- }
20
- export declare enum PropertyPriceType {
21
- FIXED = "\u56FA\u5B9A\u4EF7\u683C",
22
- PARTIAL = "\u652F\u4ED8\u5B9A\u91D1",
23
- VARIED = "\u591A\u53D8\u7684"
24
- }
25
- export interface PropertySection {
26
- id: string;
27
- title: string;
28
- description: string;
29
- media: PropertyMedia[];
30
- isUploading?: boolean;
31
- }
32
- export interface PropertyVariant {
33
- id: string;
34
- title: string;
35
- price: number;
36
- sku: string;
37
- options: PropertyVariantOption[];
38
- media: PropertyVariantMedia[];
39
- isUploading?: boolean;
40
- status: PropertyInventoryStatus | string;
41
- inventoryItemId: string;
42
- }
43
- export interface PropertyVariantMedia {
44
- url: string;
45
- alt: string;
46
- uploading?: boolean;
47
- }
48
- export interface PropertyVariantOption {
49
- option: PropertyOption;
50
- value: PropertyOptionValue;
51
- }
52
- export interface PropertyTag {
53
- id: string;
54
- name: string;
55
- }
56
- export declare enum PropertyStatus {
57
- DRAFT,
58
- AWAITING,
59
- PENDING,
60
- ACCEPTED,
61
- ACTIVE,
62
- DELETED,
63
- ARCHIVED
64
- }
65
- export declare enum PropertyType {
66
- DIGITAL = "\u865A\u62DF\u5546\u54C1",
67
- PHYSICAL = "\u5B9E\u4F53\u5546\u54C1",
68
- SERVICE = "\u670D\u52A1",
69
- OTHER = "\u5176\u4ED6"
70
- }
71
- export declare enum PropertyInventoryStatus {
72
- IN_STOCK = "\u6709\u8D27",
73
- LOW_STOCK = "\u5E93\u5B58\u4E0D\u8DB3",
74
- OUT_OF_STOCK = "\u552E\u7F44",
75
- DISCONTINUED = "\u5DF2\u505C\u4EA7"
76
- }
77
- export declare enum PropertyScope {
78
- WEB,
79
- GLOBAL
80
- }
81
- export interface PropertyMedia {
82
- id: string;
83
- url: string;
84
- alt: string;
85
- width: number;
86
- height: number;
87
- uuid: string;
88
- selected: boolean;
89
- }
90
- export interface PropertyTag {
91
- id: string;
92
- name: string;
93
- }
94
- export interface PropertyOption {
95
- id: string;
96
- name: string;
97
- values: PropertyOptionValue[];
98
- }
99
- export interface PropertyOptionValue {
100
- id?: string;
101
- name: string;
102
- }
@@ -1,2 +0,0 @@
1
- import { Routes } from '@angular/router';
2
- export declare const propertyRoutes: Routes;
@@ -1,2 +0,0 @@
1
- import { Routes } from '@angular/router';
2
- export declare const propertyManageRoutes: Routes;