Drop indexes: declarations from TS document types #46
5 changed files with 0 additions and 24 deletions
|
|
@ -68,11 +68,6 @@ const updateRequestDefinition = defineDocumentType({
|
|||
parse: parseUpdateRequest,
|
||||
},
|
||||
name: "id",
|
||||
indexes: {
|
||||
targetRepoName: "targetRepoName",
|
||||
targetAgentIdentity: "targetAgentIdentity",
|
||||
status: "status",
|
||||
},
|
||||
members: [
|
||||
{ slot: 1, memberName: "id", typeName: "string", isName: true },
|
||||
{ slot: 2, memberName: "targetRepoName", typeName: "string", indexAlias: "targetRepoName" },
|
||||
|
|
|
|||
|
|
@ -27,11 +27,6 @@ export function crossingReceiptDefinition(defineDocumentTypeInput) {
|
|||
contentHash: crossingReceiptSchemaId,
|
||||
global: false,
|
||||
name: "receiptId",
|
||||
indexes: {
|
||||
commandId: "commandId",
|
||||
crossingKind: "crossingKind",
|
||||
status: "status",
|
||||
},
|
||||
schema: { parse: parseCrossingReceipt },
|
||||
members: [
|
||||
{ slot: 1, memberName: "receiptId", typeName: "string", isName: true },
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ export function repositoryReleaseAuthorityDefinition(defineDocumentTypeInput) {
|
|||
contentHash: repositoryReleaseAuthoritySchemaId,
|
||||
global: false,
|
||||
name: "authorityId",
|
||||
indexes: { repositoryFullName: "repositoryFullName", upstreamRef: "upstreamRef", commitSha: "commitSha", status: "status" },
|
||||
schema: { parse: parseRepositoryReleaseAuthority },
|
||||
members: [
|
||||
{ slot: 1, memberName: "authorityId", typeName: "string", isName: true },
|
||||
|
|
|
|||
|
|
@ -59,11 +59,6 @@ const topicDefinition = defineDocumentType({
|
|||
schemaVersion: "bifrost.governance.topic.v0",
|
||||
schema: { parse: parseTopic },
|
||||
name: "id",
|
||||
indexes: {
|
||||
jurisdictionRepoName: "jurisdictionRepoName",
|
||||
jurisdictionAgentIdentity: "jurisdictionAgentIdentity",
|
||||
status: "status",
|
||||
},
|
||||
members: [
|
||||
{ slot: 1, memberName: "id", typeName: "string", isName: true },
|
||||
{ slot: 2, memberName: "title", typeName: "string" },
|
||||
|
|
@ -93,11 +88,6 @@ const commentDefinition = defineDocumentType({
|
|||
schemaVersion: "bifrost.governance.topic_comment.v0",
|
||||
schema: { parse: parseComment },
|
||||
name: "id",
|
||||
indexes: {
|
||||
topicId: "topicId",
|
||||
authorId: "authorId",
|
||||
stance: "stance",
|
||||
},
|
||||
members: [
|
||||
{ slot: 1, memberName: "id", typeName: "string", isName: true },
|
||||
{ slot: 2, memberName: "topicId", typeName: "string", indexAlias: "topicId" },
|
||||
|
|
|
|||
|
|
@ -179,9 +179,6 @@ const advertisementDefinition = defineDocumentType({
|
|||
parse: (input) => parseAdvertisement(input, { requireCurrentContract: false }),
|
||||
},
|
||||
name: "providerId",
|
||||
indexes: {
|
||||
serviceName: "serviceName",
|
||||
},
|
||||
members: [
|
||||
{ slot: 1, memberName: "providerId", typeName: "string", isName: true },
|
||||
{ slot: 2, memberName: "serviceName", typeName: "string", indexAlias: "serviceName" },
|
||||
|
|
|
|||
Loading…
Reference in a new issue