Reindent community.lexicon tsp files #6

Was bugging me that these and only these used 4 spaces.

Changed files
+79 -78
packages
emitter
test
integration
lexicon-examples
input
community
lexicon
+15 -15
packages/emitter/test/integration/lexicon-examples/input/community/lexicon/bookmarks/getActorBookmarks.tsp
···
import "@typelex/emitter";
namespace community.lexicon.bookmarks.getActorBookmarks {
-
/** Get a list of bookmarks by actor. Optionally add a list of tags to include, default will be all bookmarks. Requires auth, actor must be the requesting account. */
-
@query
-
op main(
-
tags?: string[],
+
/** Get a list of bookmarks by actor. Optionally add a list of tags to include, default will be all bookmarks. Requires auth, actor must be the requesting account. */
+
@query
+
op main(
+
tags?: string[],
-
@minValue(1)
-
@maxValue(100)
-
limit?: int32 = 50,
+
@minValue(1)
+
@maxValue(100)
+
limit?: int32 = 50,
-
cursor?: string
-
): {
-
@required
-
bookmarks: community.lexicon.bookmarks.bookmark.Main[];
+
cursor?: string,
+
): {
+
@required
+
bookmarks: community.lexicon.bookmarks.bookmark.Main[];
-
cursor?: string;
-
};
+
cursor?: string;
+
};
}
// --- Externals ---
@external
namespace community.lexicon.bookmarks.bookmark {
-
model Main { }
-
}
+
model Main {}
+
}
+10 -10
packages/emitter/test/integration/lexicon-examples/input/community/lexicon/interaction/like.tsp
···
import "@typelex/emitter";
namespace community.lexicon.interaction.like {
-
/** A 'like' interaction with another AT Protocol record. */
-
@rec("tid")
-
model Main {
-
@required
-
subject: `com`.atproto.repo.strongRef.Main;
+
/** A 'like' interaction with another AT Protocol record. */
+
@rec("tid")
+
model Main {
+
@required
+
subject: com.atproto.repo.strongRef.Main;
-
@required
-
createdAt: datetime;
-
}
+
@required
+
createdAt: datetime;
+
}
}
// --- Externals ---
@external
-
namespace `com`.atproto.repo.strongRef {
-
model Main { }
+
namespace com.atproto.repo.strongRef {
+
model Main {}
}
+18 -18
packages/emitter/test/integration/lexicon-examples/input/community/lexicon/location/address.tsp
···
import "@typelex/emitter";
namespace community.lexicon.location.address {
-
/** A physical location in the form of a street address. */
-
model Main {
-
/** The ISO 3166 country code. Preferably the 2-letter code. */
-
@required
-
@minLength(2)
-
@maxLength(10)
-
country: string;
+
/** A physical location in the form of a street address. */
+
model Main {
+
/** The ISO 3166 country code. Preferably the 2-letter code. */
+
@required
+
@minLength(2)
+
@maxLength(10)
+
country: string;
-
/** The postal code of the location. */
-
postalCode?: string;
+
/** The postal code of the location. */
+
postalCode?: string;
-
/** The administrative region of the country. For example, a state in the USA. */
-
region?: string;
+
/** The administrative region of the country. For example, a state in the USA. */
+
region?: string;
-
/** The locality of the region. For example, a city in the USA. */
-
locality?: string;
+
/** The locality of the region. For example, a city in the USA. */
+
locality?: string;
-
/** The street address. */
-
street?: string;
+
/** The street address. */
+
street?: string;
-
/** The name of the location. */
-
name?: string;
-
}
+
/** The name of the location. */
+
name?: string;
+
}
}
+9 -9
packages/emitter/test/integration/lexicon-examples/input/community/lexicon/location/fsq.tsp
···
import "@typelex/emitter";
namespace community.lexicon.location.fsq {
-
/** A physical location contained in the Foursquare Open Source Places dataset. */
-
model Main {
-
/** The unique identifier of a Foursquare POI. */
-
@required fsq_place_id: string;
+
/** A physical location contained in the Foursquare Open Source Places dataset. */
+
model Main {
+
/** The unique identifier of a Foursquare POI. */
+
@required fsq_place_id: string;
-
latitude?: string;
-
longitude?: string;
+
latitude?: string;
+
longitude?: string;
-
/** The name of the location. */
-
name?: string;
-
}
+
/** The name of the location. */
+
name?: string;
+
}
}
+10 -9
packages/emitter/test/integration/lexicon-examples/input/community/lexicon/location/geo.tsp
···
import "@typelex/emitter";
namespace community.lexicon.location.geo {
-
/** A physical location in the form of a WGS84 coordinate. */
-
model Main {
-
@required latitude: string;
-
@required longitude: string;
-
altitude?: string;
-
/** The name of the location. */
-
name?: string;
-
}
-
}
+
/** A physical location in the form of a WGS84 coordinate. */
+
model Main {
+
@required latitude: string;
+
@required longitude: string;
+
altitude?: string;
+
+
/** The name of the location. */
+
name?: string;
+
}
+
}
+8 -8
packages/emitter/test/integration/lexicon-examples/input/community/lexicon/location/hthree.tsp
···
import "@typelex/emitter";
namespace community.lexicon.location.hthree {
-
/** A physical location in the form of a H3 encoded location. */
-
model Main {
-
/** The h3 encoded location. */
-
@required value: string;
+
/** A physical location in the form of a H3 encoded location. */
+
model Main {
+
/** The h3 encoded location. */
+
@required value: string;
-
/** The name of the location. */
-
name?: string;
-
}
-
}
+
/** The name of the location. */
+
name?: string;
+
}
+
}
+9 -9
packages/emitter/test/integration/lexicon-examples/input/community/lexicon/payments/webMonetization.tsp
···
/** Web Monetization integration: https://webmonetization.org/ */
namespace community.lexicon.payments.webMonetization {
-
@rec("any")
-
/** Web Monetization wallet. */
-
model Main {
-
/** Wallet address. */
-
@required address: uri;
+
/** Web Monetization wallet. */
+
@rec("any")
+
model Main {
+
/** Wallet address. */
+
@required address: uri;
-
/** Short, human-readable description of how this wallet is related to this account. */
-
note?: string;
-
}
-
}
+
/** Short, human-readable description of how this wallet is related to this account. */
+
note?: string;
+
}
+
}