diff --git a/src/db/tables/settings.ts b/src/db/tables/settings.ts index e3a3370..69010cb 100644 --- a/src/db/tables/settings.ts +++ b/src/db/tables/settings.ts @@ -13,14 +13,14 @@ export type BoundingBox = { */ export type Settings = { // default entry is keyed with MASTER_SETTINGS_KEY; other entries are linked to an account with account ID - id?: number; // this is only blank on input, when the database assigns it + id?: number; // this is erased for all those entries that are keyed with accountDid // if supplied, this settings record overrides the master record when the user switches to this account accountDid?: string; // not used in the MASTER_SETTINGS_KEY entry // active Decentralized ID activeDid?: string; // only used in the MASTER_SETTINGS_KEY entry - apiServer?: string; // API server URL + apiServer: string; // API server URL filterFeedByNearby?: boolean; // filter by nearby filterFeedByVisible?: boolean; // filter by visible users ie. anyone not hidden @@ -29,7 +29,7 @@ export type Settings = { firstName?: string; // user's full name, may be null if unwanted for a particular account hideRegisterPromptOnNewContact?: boolean; isRegistered?: boolean; - imageServer?: string; + // imageServer?: string; // if we want to allow modification then we should make image functionality optional -- or at least customizable lastName?: string; // deprecated - put all names in firstName lastAckedOfferToUserJwtId?: string; // the last JWT ID for offer-to-user that they've acknowledged seeing diff --git a/src/libs/endorserServer.ts b/src/libs/endorserServer.ts index 4255e90..5c3af0d 100644 --- a/src/libs/endorserServer.ts +++ b/src/libs/endorserServer.ts @@ -191,13 +191,9 @@ export interface PlanVerifiableCredential extends GenericVerifiableCredential { * Represents data about a project * * @deprecated - * We should use PlanSummaryRecord instead. + * We should use PlanSummaryRecord instead, adding rowid to it. **/ export interface PlanData { - /** - * Name of the project - **/ - name: string; /** * Description of the project **/ @@ -211,6 +207,10 @@ export interface PlanData { * The DID of the issuer */ issuerDid: string; + /** + * Name of the project + **/ + name: string; /** * The identifier of the project -- different from jwtId, needs to be fixed **/ diff --git a/src/libs/partnerServer.ts b/src/libs/partnerServer.ts new file mode 100644 index 0000000..08172a4 --- /dev/null +++ b/src/libs/partnerServer.ts @@ -0,0 +1,7 @@ +export interface UserProfile { + description: string; + locLat?: number; + locLon?: number; + issuerDid: string; + rowid?: string; +} diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index 7b88132..a0c1e40 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -82,13 +82,12 @@
+ {{ profile.description }} +
+