@ddd-qc/profiles-dvm 0.22.1 → 0.22.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.
- package/dist/bindings/profilesAlt.fn.d.ts +1 -1
- package/dist/bindings/profilesAlt.fn.js +2 -2
- package/dist/bindings/profilesAlt.fn.js.map +1 -1
- package/dist/bindings/profilesAlt.proxy.d.ts +1 -1
- package/dist/bindings/profilesAlt.proxy.js +1 -1
- package/dist/bindings/profilesAlt.proxy.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,5 +3,5 @@ import { ZomeName, FunctionName } from '@holochain/client';
|
|
|
3
3
|
export declare const profilesAltFunctionNames: FunctionName[];
|
|
4
4
|
/** Generate tuple array of function names with given zomeName */
|
|
5
5
|
export declare function generateProfilesAltZomeFunctionsArray(zomeName: ZomeName): [ZomeName, FunctionName][];
|
|
6
|
-
/** Tuple array of all zome function names with default zome name "
|
|
6
|
+
/** Tuple array of all zome function names with default zome name "profiles" */
|
|
7
7
|
export declare const profilesAltZomeFunctions: [ZomeName, FunctionName][];
|
|
@@ -18,6 +18,6 @@ export function generateProfilesAltZomeFunctionsArray(zomeName) {
|
|
|
18
18
|
}
|
|
19
19
|
return fns;
|
|
20
20
|
}
|
|
21
|
-
/** Tuple array of all zome function names with default zome name "
|
|
22
|
-
export const profilesAltZomeFunctions = generateProfilesAltZomeFunctionsArray("
|
|
21
|
+
/** Tuple array of all zome function names with default zome name "profiles" */
|
|
22
|
+
export const profilesAltZomeFunctions = generateProfilesAltZomeFunctionsArray("profiles");
|
|
23
23
|
//# sourceMappingURL=profilesAlt.fn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profilesAlt.fn.js","sourceRoot":"","sources":["../../src/bindings/profilesAlt.fn.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAK1D,wDAAwD;AACxD,MAAM,CAAC,MAAM,wBAAwB,GAAmB;IACvD,YAAY;IACZ,eAAe;IACf,cAAc;IAEd,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,aAAa;IACb,yBAAyB;CAAE,CAAC;AAG7B,iEAAiE;AACjE,MAAM,UAAU,qCAAqC,CAAC,QAAkB;IACrE,MAAM,GAAG,GAA+B,EAAE,CAAC;IAC3C,KAAK,MAAM,EAAE,IAAI,wBAAwB,EAAE;QACxC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;KAC3B;IACD,OAAO,GAAG,CAAC;AACd,CAAC;AAGD
|
|
1
|
+
{"version":3,"file":"profilesAlt.fn.js","sourceRoot":"","sources":["../../src/bindings/profilesAlt.fn.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAK1D,wDAAwD;AACxD,MAAM,CAAC,MAAM,wBAAwB,GAAmB;IACvD,YAAY;IACZ,eAAe;IACf,cAAc;IAEd,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,aAAa;IACb,yBAAyB;CAAE,CAAC;AAG7B,iEAAiE;AACjE,MAAM,UAAU,qCAAqC,CAAC,QAAkB;IACrE,MAAM,GAAG,GAA+B,EAAE,CAAC;IAC3C,KAAK,MAAM,EAAE,IAAI,wBAAwB,EAAE;QACxC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;KAC3B;IACD,OAAO,GAAG,CAAC;AACd,CAAC;AAGD,+EAA+E;AAC/E,MAAM,CAAC,MAAM,wBAAwB,GAA+B,qCAAqC,CAAC,UAAU,CAAC,CAAC","sourcesContent":["/* This file is generated by zits. Do not edit manually */\n\nimport {ZomeName, FunctionName} from '@holochain/client';\n\n\n/** Array of all zome function names in \"profilesAlt\" */\nexport const profilesAltFunctionNames: FunctionName[] = [\n\t\"entry_defs\", \n\t\"get_zome_info\", \n\t\"get_dna_info\",\n\n\t\"create_profile\",\n\t\"update_profile\",\n\t\"search_agents\",\n\t\"get_profile\",\n\t\"get_agents_with_profile\",];\n\n\n/** Generate tuple array of function names with given zomeName */\nexport function generateProfilesAltZomeFunctionsArray(zomeName: ZomeName): [ZomeName, FunctionName][] {\n const fns: [ZomeName, FunctionName][] = [];\n for (const fn of profilesAltFunctionNames) {\n fns.push([zomeName, fn]);\n }\n return fns;\n}\n\n\n/** Tuple array of all zome function names with default zome name \"profiles\" */\nexport const profilesAltZomeFunctions: [ZomeName, FunctionName][] = generateProfilesAltZomeFunctionsArray(\"profiles\");\n"]}
|
|
@@ -7,7 +7,7 @@ import { ZomeProxy } from '@ddd-qc/lit-happ';
|
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
9
|
export declare class ProfilesAltProxy extends ZomeProxy {
|
|
10
|
-
static readonly DEFAULT_ZOME_NAME = "
|
|
10
|
+
static readonly DEFAULT_ZOME_NAME = "profiles";
|
|
11
11
|
static readonly FN_NAMES: string[];
|
|
12
12
|
createProfile(pair: [Profile, AgentPubKey]): Promise<HcRecord>;
|
|
13
13
|
updateProfile(pair: [Profile, AgentPubKey]): Promise<HcRecord>;
|
|
@@ -21,6 +21,6 @@ export class ProfilesAltProxy extends ZomeProxy {
|
|
|
21
21
|
return this.call('get_agents_with_profile', null);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
ProfilesAltProxy.DEFAULT_ZOME_NAME = "
|
|
24
|
+
ProfilesAltProxy.DEFAULT_ZOME_NAME = "profiles";
|
|
25
25
|
ProfilesAltProxy.FN_NAMES = profilesAltFunctionNames;
|
|
26
26
|
//# sourceMappingURL=profilesAlt.proxy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profilesAlt.proxy.js","sourceRoot":"","sources":["../../src/bindings/profilesAlt.proxy.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAmJ1D,OAAO,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAC,wBAAwB,EAAC,MAAM,kBAAkB,CAAC;AAE1D;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,SAAS;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KAAK,CAAC,UAAU,CAAC,WAAwB;QACvC,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC;IAC/C,CAAC;IAED,KAAK,CAAC,oBAAoB;QACxB,OAAO,IAAI,CAAC,IAAI,CAAC,yBAAyB,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;;AAtBe,kCAAiB,GAAG,UAAU,CAAA;AAC9B,yBAAQ,GAAG,wBAAwB,CAAA","sourcesContent":["/* This file is generated by zits. Do not edit manually */\n\nimport {EntryTypes, LinkTypes, Signal, Profile, } from './profilesAlt.types';\nimport {\n/** types.ts */\nHoloHash,\nAgentPubKey,\nDnaHash,\nWasmHash,\nEntryHash,\nActionHash,\nAnyDhtHash,\nExternalHash,\nKitsuneAgent,\nKitsuneSpace,\nHoloHashB64,\nAgentPubKeyB64,\nDnaHashB64,\nWasmHashB64,\nEntryHashB64,\nActionHashB64,\nAnyDhtHashB64,\nInstalledAppId,\nSignature,\nCellId,\nDnaProperties,\nRoleName,\nInstalledCell,\nTimestamp,\nDuration,\nHoloHashed,\nNetworkInfo,\nFetchPoolInfo,\n/** hdk/action.ts */\nSignedActionHashed,\nRegisterAgentActivity,\nActionHashed,\nActionType,\nAction,\nNewEntryAction,\nDna,\nAgentValidationPkg,\nInitZomesComplete,\nCreateLink,\nDeleteLink,\nOpenChain,\nCloseChain,\nUpdate,\nDelete,\nCreate,\n/** hdk/capabilities.ts */\nCapSecret,\nCapClaim,\nGrantedFunctionsType,\nGrantedFunctions,\nZomeCallCapGrant,\nCapAccessType,\nCapAccess,\nCapGrant,\n///** hdk/countersigning.ts */\n//CounterSigningSessionData,\n//PreflightRequest,\n//CounterSigningSessionTimes,\n//ActionBase,\n//CounterSigningAgents,\n//PreflightBytes,\n//Role,\n//CountersigningAgentState,\n/** hdk/dht-ops.ts */\nDhtOpType,\nDhtOp,\ngetDhtOpType,\ngetDhtOpAction,\ngetDhtOpEntry,\ngetDhtOpSignature,\n/** hdk/entry.ts */\nEntryVisibility,\nAppEntryDef,\nEntryType,\nEntryContent,\nEntry,\n/** hdk/record.ts */\nRecord as HcRecord,\nRecordEntry as HcRecordEntry,\n/** hdk/link.ts */\nAnyLinkableHash,\nZomeIndex,\nLinkType,\nLinkTag,\nRateWeight,\nRateBucketId,\nRateUnits,\nLink,\n/** api/admin/types.ts */\nInstalledAppInfoStatus,\nDeactivationReason,\nDisabledAppReason,\nStemCell,\nProvisionedCell,\nClonedCell,\nCellType,\nCellInfo,\nAppInfo,\nMembraneProof,\nFunctionName,\nZomeName,\nZomeDefinition,\nIntegrityZome,\nCoordinatorZome,\nDnaDefinition,\nResourceBytes,\nResourceMap,\nCellProvisioningStrategy,\nCellProvisioning,\nDnaVersionSpec,\nDnaVersionFlexible,\nAppRoleDnaManifest,\nAppRoleManifest,\nAppManifest,\nAppBundle,\nAppBundleSource,\nNetworkSeed,\nZomeLocation,\n } from '@holochain/client';\n\nimport {\n/** Common */\nDhtOpHashB64,\n//DnaHashB64, (duplicate)\n//AnyDhtHashB64, (duplicate)\nDhtOpHash,\n/** DnaFile */\nDnaFile,\nDnaDef,\nZomes,\nWasmCode,\n/** entry-details */\nEntryDetails,\nRecordDetails,\nDetails,\nDetailsType,\nEntryDhtStatus,\n/** Validation */\nValidationStatus,\nValidationReceipt,\n } from '@holochain-open-dev/core-types';\n\nimport {ZomeProxy} from '@ddd-qc/lit-happ';\nimport {profilesAltFunctionNames} from './profilesAlt.fn';\n\n/**\n *\n */\nexport class ProfilesAltProxy extends ZomeProxy {\n static readonly DEFAULT_ZOME_NAME = \"profiles\"\n static readonly FN_NAMES = profilesAltFunctionNames\n \n\n async createProfile(pair: [Profile, AgentPubKey]): Promise<HcRecord> {\n return this.call('create_profile', pair);\n }\n\n async updateProfile(pair: [Profile, AgentPubKey]): Promise<HcRecord> {\n return this.call('update_profile', pair);\n }\n\n async searchAgents(nicknameFilter: string): Promise<AgentPubKey[]> {\n return this.call('search_agents', nicknameFilter);\n }\n\n async getProfile(agentPubKey: AgentPubKey): Promise<HcRecord | null> {\n return this.call('get_profile', agentPubKey);\n }\n\n async getAgentsWithProfile(): Promise<AgentPubKey[]> {\n return this.call('get_agents_with_profile', null);\n }\n}\n"]}
|